I migrate my project (https://github.com/MarkKhromov/The-Log) to .NET Standard 2.0 and my appveyor build is broken. How I can fix this?
My solution contains:
- .NET Standard project
- Console Application project
- Class library (tests) project
I already tried wrote:
dotnet: 2.0.0
script:
- dotnet restore
- dotnet build
or
- dotnet build TheLog/TheLog.csproj -c Release -f netstandard2.0
- msbuild TheLog.Demos/TheLog.Demos.csproj /p:Configuration=Release
- msbuild TheLog.Tests/TheLog.Tests.csproj /p:Configuration=Debug
- nunit-console TheLog.Tests/TheLog.Tests.csproj
But every time I have errors
You need to change your appveyor configuration to the VS 2017 image in order to build .NET Standard libraries and use the
dotnet
based tooling forcsproj
projects.