Teamcity DotNet CLI publish命令以包括来自其他NuGet源的包
对于我的一个.Net核心项目,我有一个BuldProject.cmd CLI来发布该项目。我使用的CLI命令如下所示Teamcity DotNet CLI publish命令以包括来自其他NuGet源的包,teamcity,asp.net-core-2.0,dotnet-publish,Teamcity,Asp.net Core 2.0,Dotnet Publish,对于我的一个.Net核心项目,我有一个BuldProject.cmd CLI来发布该项目。我使用的CLI命令如下所示 dotnet publish --framework %DotNetCoreVersionToTarget% --configuration %ConfigurationModeToUse% --force --verbosity normal 上面的命令使用Teamcity build server构建项目 最近我在我的项目中添加了一个DLL,而不是从 nuget.org 但
dotnet publish --framework %DotNetCoreVersionToTarget% --configuration %ConfigurationModeToUse% --force --verbosity normal
上面的命令使用Teamcity build server构建项目
最近我在我的项目中添加了一个DLL,而不是从
nuget.org
但是从我的另一个消息来源说
nuget.mypack.com/nuget
csproj文件有一个新DLL的条目
<ItemGroup>
<PackageReference Include="TestCoreAPI" Version="1.0.1" />
</ItemGroup>
我看到的问题是,它总是在nuget.org中查找包。
如何修改BuldProject.cmd CLI以查找其他NuGet源?查看此链接。。。不确定是否相关
error NU1101: Unable to find package TestCoreAPI. No packages exist with this id in source(s): nuget.org