Microsoft Custom Vision 仅适用于 Visual Studio 2015?
Microsoft Custom Vision only work for Visual Studio 2015?
问题:
当我尝试在 VS 2013 中安装 Microsoft Custom Vision 的包时,它失败了。 Custom Visions 只是与 VS 2013 不兼容,还是这里还有其他问题?
当我尝试安装自定义视觉包时 在第一次尝试失败后(没有卸载 Microsoft.Rest.ClientRuntime 2.3.2),我得到了不同的响应,如图所示以下:
Attempting to resolve dependency 'Microsoft.Rest.ClientRuntime (≥ 2.3.2)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 6.0.8)'.
Attempting to resolve dependency 'System.IO.FileSystem (≥ 4.3.0)'.
Attempting to resolve dependency 'System.Net.Http (≥ 4.3.1)'.
Installing 'System.IO.FileSystem 4.3.0'.
Successfully installed 'System.IO.FileSystem 4.3.0'.
Installing 'System.Net.Http 4.3.1'.
Successfully installed 'System.Net.Http 4.3.1'.
Installing 'Microsoft.Cognitive.CustomVision.Training 1.0.0'.
Successfully installed 'Microsoft.Cognitive.CustomVision.Training 1.0.0'.
Adding 'System.IO.FileSystem 4.3.0' to WpfApplication2.
Uninstalling 'System.IO.FileSystem 4.3.0'.
Successfully uninstalled 'System.IO.FileSystem 4.3.0'.
Install failed. Rolling back...
Install-Package : Could not install package 'System.IO.FileSystem 4.3.0'. You are trying to install this package into a project that targets
'.NETFramework,Version=v4.5', 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.
At line:1 char:1
+ Install-Package Microsoft.Cognitive.CustomVision.Training
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
谁能告诉我这是什么意思,或者提供一个可能的解决方案?
限定词:
我的开发团队都用Visual Studio 2013,所以我宁愿不换成2015或2017。
更新: 我屈服于压力并安装了 VS 2017- 仍然出现相同的错误:
Could not install package 'System.IO.FileSystem 4.3.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', 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.
System.IO.FileSystem 4.3.0 可以安装到以 .NET Framework 4.6 为目标的项目中。
所以我只想将您项目的目标框架更改为 .NET 4.6。
问题: 当我尝试在 VS 2013 中安装 Microsoft Custom Vision 的包时,它失败了。 Custom Visions 只是与 VS 2013 不兼容,还是这里还有其他问题?
当我尝试安装自定义视觉包时 在第一次尝试失败后(没有卸载 Microsoft.Rest.ClientRuntime 2.3.2),我得到了不同的响应,如图所示以下:
Attempting to resolve dependency 'Microsoft.Rest.ClientRuntime (≥ 2.3.2)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 6.0.8)'.
Attempting to resolve dependency 'System.IO.FileSystem (≥ 4.3.0)'.
Attempting to resolve dependency 'System.Net.Http (≥ 4.3.1)'.
Installing 'System.IO.FileSystem 4.3.0'.
Successfully installed 'System.IO.FileSystem 4.3.0'.
Installing 'System.Net.Http 4.3.1'.
Successfully installed 'System.Net.Http 4.3.1'.
Installing 'Microsoft.Cognitive.CustomVision.Training 1.0.0'.
Successfully installed 'Microsoft.Cognitive.CustomVision.Training 1.0.0'.
Adding 'System.IO.FileSystem 4.3.0' to WpfApplication2.
Uninstalling 'System.IO.FileSystem 4.3.0'.
Successfully uninstalled 'System.IO.FileSystem 4.3.0'.
Install failed. Rolling back...
Install-Package : Could not install package 'System.IO.FileSystem 4.3.0'. You are trying to install this package into a project that targets
'.NETFramework,Version=v4.5', 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.
At line:1 char:1
+ Install-Package Microsoft.Cognitive.CustomVision.Training
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
谁能告诉我这是什么意思,或者提供一个可能的解决方案?
限定词: 我的开发团队都用Visual Studio 2013,所以我宁愿不换成2015或2017。
更新: 我屈服于压力并安装了 VS 2017- 仍然出现相同的错误:
Could not install package 'System.IO.FileSystem 4.3.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', 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.
System.IO.FileSystem 4.3.0 可以安装到以 .NET Framework 4.6 为目标的项目中。
所以我只想将您项目的目标框架更改为 .NET 4.6。