1
在travis-ci上调用dotnet restore ./solution.sln
时出现错误。如何使用travis-ci在Linux上使用travis-ci构建和运行单元测试Visual Studio 2017 ASP.net .NETCoreApp版本1.1
错误MSB4019:未找到导入的项目“/usr/share/dotnet/sdk/1.0.4/Sdks/Microsoft.Docker.Sdk/Sdk/Sdk.props”。
我.travis.yml
language: csharp
dotnet: 1.0.4
mono: none
dist: trusty
env: DOTNETCORE=1 # optional, can be used to take different code paths in your script
install:
- dotnet restore ./solution.sln --verbosity detailed
script:
- dotnet test --configuration Release --verbosity detailed
我怎样才能解决这个问题?