Problem with .NET build on new server

Hi Vincent,

I restarted the whole PC after installing everything.

The whole error is: "Errors : Test\TransRollbackTestBase.cs(2,17): error CS0234: The type or namespace name ‘VisualStudio’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)"

It’s something to do with Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll which is definitely there on the machine, in C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ReferenceAssemblies\v4.0 among other places.

By the VS action do you mean the Build step in the script? I’ve attached an image of the MS Build tab.

I’ll send you the csproj file if we can’t diagnose anything else but as I say, it works fine on the old Build PC.