`dotnet new webapi -o test`失败了吗?

时间:2018-06-13 19:04:51

标签: asp.net .net visual-studio asp.net-web-api .net-core

在我的一台电脑上运行以下命令

dotnet new webapi -o test

出现以下错误。但是,它可以在我的另一台PC上运行吗?

The template "ASP.NET Core Web API" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/template-3pn for details.

Processing post-creation actions...
Running 'dotnet restore' on test\test.csproj...
  Restoring packages for C:\TEMP\test\test.csproj...
  Restoring packages for C:\TEMP\test\test.csproj...
C:\TEMP\test\test.csproj : error NU1202: Package System.Text.Encoding.CodePages 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Text.Encoding.CodePages 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Diagnostics.Contracts 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Diagnostics.Contracts 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wp8 (WindowsPhone,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package Microsoft.Win32.Primitives 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Win32.Primitives 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.AppContext 4.1.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.AppContext 4.1.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - netstandard (.NETStandard,Version=v0.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Collections.Concurrent 4.0.12 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Collections.Concurrent 4.0.12 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile111)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Collections.Immutable 1.2.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Collections.Immutable 1.2.0 does not support any target frameworks.
C:\TEMP\test\test.csproj : error NU1202: Package System.Console 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Console 4.0.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Diagnostics.FileVersionInfo 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Diagnostics.FileVersionInfo 4.0.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Diagnostics.Process 4.1.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Diagnostics.Process 4.1.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.IO.Compression 4.1.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.IO.Compression 4.1.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile111)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Linq.Parallel 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Linq.Parallel 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile111)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Reflection.Metadata 1.3.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Reflection.Metadata 1.3.0 does not support any target frameworks.
C:\TEMP\test\test.csproj : error NU1202: Package System.Runtime.InteropServices.RuntimeInformation 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Runtime.InteropServices.RuntimeInformation 4.0.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Runtime.Loader 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Runtime.Loader 4.0.0 supports: net462 (.NETFramework,Version=v4.6.2)
C:\TEMP\test\test.csproj : error NU1202: Package System.Threading.Tasks.Dataflow 4.6.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Threading.Tasks.Dataflow 4.6.0 does not support any target frameworks.
C:\TEMP\test\test.csproj : error NU1202: Package System.Threading.Thread 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Threading.Thread 4.0.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - netcore50 (.NETCore,Version=v5.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Threading.ThreadPool 4.0.10 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Threading.ThreadPool 4.0.10 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - netcore50 (.NETCore,Version=v5.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Security.Cryptography.Algorithms 4.2.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Security.Cryptography.Algorithms 4.2.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Security.Cryptography.Primitives 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Security.Cryptography.Primitives 4.0.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Security.Cryptography.X509Certificates 4.1.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Security.Cryptography.X509Certificates 4.1.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Xml.XPath 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Xml.XPath 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Threading.Timer 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Threading.Timer 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net451 (.NETFramework,Version=v4.5.1)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net451+win81+wpa81 (.NETPortable,Version=v0.0,Profile=Profile151)
C:\TEMP\test\test.csproj : error NU1202:   - win81 (Windows,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Diagnostics.Tracing 4.1.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Diagnostics.Tracing 4.1.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile111)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package Microsoft.Win32.Registry 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.Win32.Registry 4.0.0 does not support any target frameworks.
C:\TEMP\test\test.csproj : error NU1202: Package System.Net.Primitives 4.0.11 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Net.Primitives 4.0.11 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wp8 (WindowsPhone,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Net.Sockets 4.1.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Net.Sockets 4.1.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Security.Principal 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Security.Principal 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wp8 (WindowsPhone,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Threading.Overlapped 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Threading.Overlapped 4.0.1 does not support any target frameworks.
C:\TEMP\test\test.csproj : error NU1202: Package System.Security.Cryptography.Encoding 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Security.Cryptography.Encoding 4.0.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Globalization.Calendars 4.0.1 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Globalization.Calendars 4.0.1 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Security.Cryptography.Csp 4.0.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Security.Cryptography.Csp 4.0.0 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202: Package System.Xml.XmlSerializer 4.0.11 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Xml.XmlSerializer 4.0.11 supports:
C:\TEMP\test\test.csproj : error NU1202:   - monoandroid10 (MonoAndroid,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - monotouch10 (MonoTouch,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - net45 (.NETFramework,Version=v4.5)
C:\TEMP\test\test.csproj : error NU1202:   - portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
C:\TEMP\test\test.csproj : error NU1202:   - win8 (Windows,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wp8 (WindowsPhone,Version=v8.0)
C:\TEMP\test\test.csproj : error NU1202:   - wpa81 (WindowsPhoneApp,Version=v8.1)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinios10 (Xamarin.iOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinmac20 (Xamarin.Mac,Version=v2.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarintvos10 (Xamarin.TVOS,Version=v1.0)
C:\TEMP\test\test.csproj : error NU1202:   - xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)
  Restore failed in 1.8 sec for C:\TEMP\test\test.csproj.
C:\TEMP\test\test.csproj : warning NU1701: Package 'System.Linq.Queryable 4.0.1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
C:\TEMP\test\test.csproj : warning NU1701: Package 'System.Xml.XmlSerializer 4.0.11' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
  Generating MSBuild file C:\TEMP\test\obj\test.csproj.nuget.g.props.
  Generating MSBuild file C:\TEMP\test\obj\test.csproj.nuget.g.targets.
  Restore completed in 2.06 sec for C:\TEMP\test\test.csproj.

Restore failed.
Post action failed.
Description: Restore NuGet packages required by this project.
Manual instructions: Run 'dotnet restore'

0 个答案:

没有答案