Building MazeCreator solution with some .NETStandand libraries throws a thousands of errors when building from jenkins, complaining about the BCL types:
error CS0518: Predefined type 'System.Enum' is not defined or imported
error CS0518: Predefined type 'System.Int32' is not defined or imported
error CS0518: Predefined type 'System.Object' is not defined or imported
All the environment variables set by VsDevCmd.bat
were properly set on Jenkins.
The build is calling:
nuget restore
msbuild MazeCreator.sln /p:Configuration=Release
Which works fine from Developer Command Prompt for VS
Building from the command line works fine, the build is also green on AppVeyor, Linux and Mac.