ports/devel/msbuild/files/patch-src_Build.OM.UnitTests_Definition_ProjectCollection__Tests.cs
David Naylor 0093bd63c6 devel/msbuild: Build platform for .NET and Visual Studio
The Microsoft Build Engine is a platform for building applications. This
engine, which is also known as MSBuild, provides an XML schema for a project
file that controls how the build platform processes and builds software. Visual
Studio uses MSBuild, but MSBuild does not depend on Visual Studio. By invoking
msbuild.exe on your project or solution file, you can orchestrate and build
products in environments where Visual Studio isn't installed.

Differential Revision:	https://reviews.freebsd.org/D14135
2018-06-30 14:49:09 +00:00

18 lines
747 B
C#

--- src/Build.OM.UnitTests/Definition/ProjectCollection_Tests.cs.orig 2018-05-02 18:19:31 UTC
+++ src/Build.OM.UnitTests/Definition/ProjectCollection_Tests.cs
@@ -1427,6 +1427,7 @@ namespace Microsoft.Build.UnitTests.OM.D
Assert.True(dirtyRaised);
}
+#if THISASSEMBLY
/// <summary>
/// Verifies that the <see cref="ProjectCollection.Version"/> is correct.
/// </summary>
@@ -1442,6 +1443,7 @@ namespace Microsoft.Build.UnitTests.OM.D
ProjectCollection.Version.Major.ShouldBe(expectedVersion.Major);
ProjectCollection.Version.Minor.ShouldBe(expectedVersion.Minor);
}
+#endif
/// <summary>
/// Create an empty project file and return the path