【发布时间】:2018-02-04 16:09:39
【问题描述】:
我正在使用 Visual Studio for mac。 我试图在 nuget 上下载 SocketIoClientDotNet。 但是我安装包失败。
[我的规格] 适用于 Mac 的 Visual Studio 社区 2017 7.1 版(内部版本 1297) 运行: 单声道 5.2.0.215 (d15-3/da80840)(64 位) GTK+ 2.24.23(罗利主题)
包版本:502000215
NuGet 버전: 4.3.0.2418
.NET 核心 运行时:未安装 SDK:未安装 MSBuild SDK:/Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
Xamarin.Profiler 1.5.5 /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
苹果开发者工具 Xcode 8.3.3 (12175.1) 构建 8E3004b
Xamarin.Mac 版本:3.6.0.19(Visual Studio 社区)
Attempting to gather dependency information for package 'SocketIoClientDotNet.0.9.13' with respect to project 'Chat', targeting '.NETPortable,Version=v4.5,Profile=Profile111'
GET https://api.nuget.org/v3/registration3-gz-semver2/socketioclientdotnet/index.json
OK https://api.nuget.org/v3/registration3-gz-semver2/socketioclientdotnet/index.json 1290ms
Total number of results gathered : 2
Gathering dependency information took 1.3 sec
Summary of time taken to gather dependencies per source :
https://api.nuget.org/v3/index.json - 1.3 sec
Attempting to resolve dependencies for package 'SocketIoClientDotNet.0.9.13' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'SocketIoClientDotNet.0.9.13'
Resolved actions to install package 'SocketIoClientDotNet.0.9.13'
Retrieving package 'SocketIoClientDotNet 0.9.13' from 'nuget.org'.
For adding package 'SocketIoClientDotNet.0.9.13' to project 'Chat' that targets 'portable45-net45+win8+wpa81'.
Install failed. Rolling back...
Package 'SocketIoClientDotNet.0.9.13' does not exist in project 'Chat'
Package 'SocketIoClientDotNet.0.9.13' does not exist in folder '/Users/LSH/Work/Dev/WebServer/Chat/packages'
Executing nuget actions took 139.18 ms
Could not install package 'SocketIoClientDotNet 0.9.13'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
【问题讨论】:
标签: c# visual-studio xamarin socket.io nuget