I want to build my VisualStudio 2012 (.sln) solution using Mono, but it cannot compile projects that rely on VisualStudio-specific assemblies. For instance.
xbuild ServerResource.sln ... HypervResourceControllerTest.cs(18,17): error CS0234: The type or namespace name `VisualStudio' does not exist in the namespace `Microsoft'. Are you missing an assembly reference?
In this case, HypervResourceControllerTest.cs (18,17) is a link to Visual Studio testing tools:
using Microsoft.VisualStudio.TestTools.UnitTesting;
Since I don't need a testing environment to compile, can I tell the Mono compiler to work around a specific project in .sln?
source share