nuget-server

NuGet Packager with version using build number, adding -beta

我与影子孤独终老i 提交于 2021-02-11 18:03:42
问题 My goal is to deploy NuGet packages (to in-house Nuget server) that auto-increment the version based on date and last Rev, and include a -beta tag. I am using VSTS to build and package using cake, with a build number format of $(BuildDefinitionName)_2.0.$(Date:yyMMdd)$(Rev:.r) . I have a .nuspec manifest file that specifies: $version$ , and a NuGet Packager as such: This works great. But now, I want to have the option of a NuGet packager that produces a package that is tagged as beta, and

Copy nuget package content file (of type .exe) to output directory of project using that nuget package

主宰稳场 提交于 2021-02-08 11:16:28
问题 I have some project which has some exe as "dependency" and I build that project as nuget package from .csproj file File looks like this: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <Nullable>enable</Nullable> <LangVersion>latest</LangVersion> <Version>1.1.2</Version> <PackageId>MyLib</PackageId> <Authors>me</Authors> <Company>me</Company> </PropertyGroup> <ItemGroup> <None Remove="CliInterface\32BitInterface.exe" /> </ItemGroup>

Copy nuget package content file (of type .exe) to output directory of project using that nuget package

允我心安 提交于 2021-02-08 11:14:11
问题 I have some project which has some exe as "dependency" and I build that project as nuget package from .csproj file File looks like this: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <Nullable>enable</Nullable> <LangVersion>latest</LangVersion> <Version>1.1.2</Version> <PackageId>MyLib</PackageId> <Authors>me</Authors> <Company>me</Company> </PropertyGroup> <ItemGroup> <None Remove="CliInterface\32BitInterface.exe" /> </ItemGroup>

how to get all nuget dependencies for offline installation

走远了吗. 提交于 2021-02-05 20:29:22
问题 I two computers, one with internet connection and the other one without. I want to install a Nuget package (Nuget.server) with all its dependencies on the offline computer. Unfortunately it is not possible just to download the package itself and I have to download all dependencies manually and there are dozens of them. How can I create a package on the computer with internet connection that contains all dependencies? Thanks. 回答1: On the computer with internet access the NuGet packages (.nupkg

Local nuget server: 405 Method not allowed

寵の児 提交于 2021-01-27 21:59:24
问题 I've configured a local nuget server as described here: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds I can browse to it and look at the feed. But I can not publish packages to it. I just get error 405 all the time. I've made sure that the App Pool account has Change privileges for the Packages folder. My config: <appSettings> <add key="requireApiKey" value="true" /> <add key="apiKey" value="XXXXX" /> <add key="packagesPath" value="c:\projects\nuget\Packages" /> <

Local nuget server: 405 Method not allowed

这一生的挚爱 提交于 2021-01-27 18:21:15
问题 I've configured a local nuget server as described here: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds I can browse to it and look at the feed. But I can not publish packages to it. I just get error 405 all the time. I've made sure that the App Pool account has Change privileges for the Packages folder. My config: <appSettings> <add key="requireApiKey" value="true" /> <add key="apiKey" value="XXXXX" /> <add key="packagesPath" value="c:\projects\nuget\Packages" /> <

Local nuget server: 405 Method not allowed

会有一股神秘感。 提交于 2021-01-27 17:56:17
问题 I've configured a local nuget server as described here: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds I can browse to it and look at the feed. But I can not publish packages to it. I just get error 405 all the time. I've made sure that the App Pool account has Change privileges for the Packages folder. My config: <appSettings> <add key="requireApiKey" value="true" /> <add key="apiKey" value="XXXXX" /> <add key="packagesPath" value="c:\projects\nuget\Packages" /> <

Debug Nuget Library

♀尐吖头ヾ 提交于 2020-11-25 03:42:12
问题 I have a set of Nuget Libraries that I compile and modify myself. I build them without publishing on any Nuget server. ( It is not my library ) On the other side, I have a project that use such Nugets, but I wish to debug them... In the best situation I wish to: use my local .dll and .pdb debug by using local .pdb and (updated) source code I'm looking for the best possible solution, if possible by loading all local symbols, but I'm not sure it is possible. Maybe I have to build on my own

Debug Nuget Library

随声附和 提交于 2020-11-25 03:41:59
问题 I have a set of Nuget Libraries that I compile and modify myself. I build them without publishing on any Nuget server. ( It is not my library ) On the other side, I have a project that use such Nugets, but I wish to debug them... In the best situation I wish to: use my local .dll and .pdb debug by using local .pdb and (updated) source code I'm looking for the best possible solution, if possible by loading all local symbols, but I'm not sure it is possible. Maybe I have to build on my own