私の最初の.Netコアソリューションを稼働させようとしています。基本bproject create Nugetキャッシュのプライムを作成できませんでした
VS 2015でプロジェクトを作成しようとすると失敗します。だから基本に戻る。 MS .Net Core
私はこれをしなかった:これらの指示を使用して
。
C:\dev\Tests>mkdir hwapp2
C:\dev\Tests>cd hwapp2
C:\dev\Tests\hwapp2>dotnet -v new
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include commandline arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Configuring...
-------------------
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
Decompressing 100% 1758 ms
Expanding 100% 6072 ms
Failed to create prime the NuGet cache. restore failed with: 1
Telemetry is: Disabled
Created new C# project in C:\dev\Tests\hwapp2.
これは管理者としてコマンドプロンプトで実行しています。 VS 2015でプロジェクトを作成しようとすると、同じことが起こります。途中でファイアウォールをオフにしてみてください。
環境は
- のWindows 10 Proは(ビルド14393)アップデート3と
- VS 2015(エンタープライズ)
- ドットネットコアプレビュー2.0.1(最新のダウンロード9月10日のとして2016年)
http://stackoverflow.com/help/tagging _You実は、あなたが以前のバージョンを削除する必要はありませんあなたのtitle_ – Tseng