diff --git a/src/NerdBank.GitVersioning.Tests/BuildIntegrationTests.cs b/src/NerdBank.GitVersioning.Tests/BuildIntegrationTests.cs index 57ddc0c8..d7061b14 100644 --- a/src/NerdBank.GitVersioning.Tests/BuildIntegrationTests.cs +++ b/src/NerdBank.GitVersioning.Tests/BuildIntegrationTests.cs @@ -1058,6 +1058,8 @@ private void MakeItAVBProject() { var csharpImport = this.testProject.Imports.Single(i => i.Project.Contains("CSharp")); csharpImport.Project = @"$(MSBuildToolsPath)\Microsoft.VisualBasic.targets"; + var isVbProperty = this.testProject.Properties.Single(p => p.Name == "IsVB"); + isVbProperty.Value = "true"; } private struct RestoreEnvironmentVariables : IDisposable diff --git a/src/NerdBank.GitVersioning.Tests/test.prj b/src/NerdBank.GitVersioning.Tests/test.prj index ecd40929..984a3367 100644 --- a/src/NerdBank.GitVersioning.Tests/test.prj +++ b/src/NerdBank.GitVersioning.Tests/test.prj @@ -1,6 +1,7 @@  + false TestNamespace TestAssembly TestAssembly @@ -11,6 +12,8 @@ v4.5 Library bin\ + $(NoWarn);1607 + $(NoWarn);40010