diff --git a/src/Razor/Razor.Design/src/Microsoft.AspNetCore.Razor.Design.csproj b/src/Razor/Razor.Design/src/Microsoft.AspNetCore.Razor.Design.csproj
index e7281a385b..f23d5997d8 100644
--- a/src/Razor/Razor.Design/src/Microsoft.AspNetCore.Razor.Design.csproj
+++ b/src/Razor/Razor.Design/src/Microsoft.AspNetCore.Razor.Design.csproj
@@ -35,7 +35,6 @@
- _BuildDependencyProjects;$(GenerateNuspecDependsOn)
_BuildDependencyProjects;$(BuildDependsOn)
@@ -92,7 +91,7 @@
-
+
diff --git a/src/Razor/Razor.Design/test/IntegrationTests/Microsoft.AspNetCore.Razor.Design.Test.csproj b/src/Razor/Razor.Design/test/IntegrationTests/Microsoft.AspNetCore.Razor.Design.Test.csproj
index ed52a3b2b6..b27dca6270 100644
--- a/src/Razor/Razor.Design/test/IntegrationTests/Microsoft.AspNetCore.Razor.Design.Test.csproj
+++ b/src/Razor/Razor.Design/test/IntegrationTests/Microsoft.AspNetCore.Razor.Design.Test.csproj
@@ -13,12 +13,10 @@
true
$(MSBuildProjectDirectory)\obj\BuildVariables.generated.cs
- EnsureBuildVariablesGeneratedFile;$(CompileDependsOn)
-
@@ -35,8 +33,31 @@
-
-
+
+
+
+
+
+// Copyright (c) .NET Foundation. All rights reserved.
+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
+
+namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
+{
+ internal static partial class BuildVariables
+ {
+ static partial void InitializeVariables()
+ {
+ _msBuildPath = @"$(MSBuildBinPath)\MSBuild.exe"%3B
+ }
+ }
+}
+
+
+
+
+
+