I have a Class Library (.NET Core 2.0) being tested by an MSTest Test Project (.NET Core 2.0). The FluentAssertions site says .NET Core 2.0 is supported (and I stepped down from 2.1). It works locally, but on the build machine I get the following error:
The nuget command failed with exit code(1) and error(Errors in D:\a\1\s\ProjectName.Tests.csproj Package System.Configuration.ConfigurationManager 4.4.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package System.Configuration.ConfigurationManager 4.4.0 supports: - net461 (.NETFramework,Version=v4.6.1) - netstandard2.0 (.NETStandard,Version=v2.0) One or more packages are incompatible with .NETCoreApp,Version=v2.0.)
System.Configuration.ConfigurationManager
– Michal Ciechan