.net core 1.0.1 mstests Visual Studio Team Services(是 TFS Online)
.net core 1.0.1 mstests Visual Studio Team Services (was TFS Online)
当我尝试 运行 使用 Team Services 进行测试时,出现以下错误
2016-09-16T11:01:12.0816791Z The specified framework 'Microsoft.NETCore.App', version '1.0.1' was not found.
2016-09-16T11:01:12.0826785Z - Check application dependencies and target a framework version installed at:
2016-09-16T11:01:12.0826785Z C:\Program Files\dotnet\shared\Microsoft.NETCore.App
2016-09-16T11:01:12.0826785Z - The following versions are installed:
2016-09-16T11:01:12.0836784Z 1.0.0
2016-09-16T11:01:12.0836784Z 1.0.0-rc2-3002702
2016-09-16T11:01:12.0846787Z - Alternatively, install the framework version '1.0.1'.
2016-09-16T11:01:12.0846787Z SUMMARY: Total: 1 targets, Passed: 0, Failed: 1.
我想我只是等到 tfsonline 赶上.. 或者我可以做些什么来使用某种预览 tfsonline?
假设您使用的是托管构建代理。根据 Software on the hosted build server,托管生成服务器使用以下 .NET Framework 进行部署:
- .NET 4.6
- .NET 4.5.2
- .NET 4.5.1
- .NET 4.5
- .NET 3.5 SP1
- .NET Core 1.0 与预览版 2 工具
您可以尝试部署本地构建代理并安装 .NET Core 1.0.1 以使用 VSTS:https://www.visualstudio.com/en-us/docs/build/admin/index#deploy_agent。
如果您坚持使用hosted build agent,那么您需要使用Microsoft.NETCore.App的1.0.0-rc2-3002702版本,例如:
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-rc2-3002702",
"type": "platform"
},
当我尝试 运行 使用 Team Services 进行测试时,出现以下错误
2016-09-16T11:01:12.0816791Z The specified framework 'Microsoft.NETCore.App', version '1.0.1' was not found.
2016-09-16T11:01:12.0826785Z - Check application dependencies and target a framework version installed at:
2016-09-16T11:01:12.0826785Z C:\Program Files\dotnet\shared\Microsoft.NETCore.App
2016-09-16T11:01:12.0826785Z - The following versions are installed:
2016-09-16T11:01:12.0836784Z 1.0.0
2016-09-16T11:01:12.0836784Z 1.0.0-rc2-3002702
2016-09-16T11:01:12.0846787Z - Alternatively, install the framework version '1.0.1'.
2016-09-16T11:01:12.0846787Z SUMMARY: Total: 1 targets, Passed: 0, Failed: 1.
我想我只是等到 tfsonline 赶上.. 或者我可以做些什么来使用某种预览 tfsonline?
假设您使用的是托管构建代理。根据 Software on the hosted build server,托管生成服务器使用以下 .NET Framework 进行部署:
- .NET 4.6
- .NET 4.5.2
- .NET 4.5.1
- .NET 4.5
- .NET 3.5 SP1
- .NET Core 1.0 与预览版 2 工具
您可以尝试部署本地构建代理并安装 .NET Core 1.0.1 以使用 VSTS:https://www.visualstudio.com/en-us/docs/build/admin/index#deploy_agent。
如果您坚持使用hosted build agent,那么您需要使用Microsoft.NETCore.App的1.0.0-rc2-3002702版本,例如:
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-rc2-3002702",
"type": "platform"
},