私のアプリを新しい.Net Core 1.0に移行しようとしています。私のビルドサーバーはインターネットにアクセスできないので、ビルドサーバー上でローカルのNuGetサーバーをセットアップしています。すべてのパッケージをリモートNuGetフィードにプッシュ
私のソリューションを読んで、新しいNuGetサーバーと更新されたすべてのパッケージをリモートNuGetサーバーにプッシュする方法はありますか?
私は周りを見渡して、これらの行をproject.jsonファイルに入れることができ、すべてのパッケージをサーバーにプッシュします。
"scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ],
"postcompile": [
"dotnet pack --no-build",
"\"%project:Directory%\\..\\..\\nuget.exe\" push \"%project:Directory%\\bin\\%compile:Configuration%\\%project:Name%.%project:Version%.nupkg\" -source http://xx.xxx.xx.xx/nuget -ApiKey "
]
},
ドットネットパック--no-buildが終了した後にエラーが発生します。
The system cannot find the file specified C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets
そして、私はエラーをダブルクリックした場合、それがファイルを開くと
<Dnx
RuntimeExe="$(SDKToolingExe)"
Condition="'$(_DesignTimeHostBuild)' != 'true'"
ProjectFolder="$(MSBuildProjectDirectory)"
Arguments="$(_BuildArguments)"
/>
に、このための別の解決策上の任意の提案を行きますか?