diff --git a/TestAssets/TestProjects/MSBuildIntegration/build.proj b/TestAssets/TestProjects/MSBuildIntegration/build.proj
index 203f96df3..8b2a7851e 100644
--- a/TestAssets/TestProjects/MSBuildIntegration/build.proj
+++ b/TestAssets/TestProjects/MSBuildIntegration/build.proj
@@ -29,9 +29,6 @@
-
-
diff --git a/build_projects/Microsoft.DotNet.Cli.Build.SelfTest/InvokeWithStage2.proj b/build_projects/Microsoft.DotNet.Cli.Build.SelfTest/InvokeWithStage2.proj
index 1493128e7..cb833d480 100644
--- a/build_projects/Microsoft.DotNet.Cli.Build.SelfTest/InvokeWithStage2.proj
+++ b/build_projects/Microsoft.DotNet.Cli.Build.SelfTest/InvokeWithStage2.proj
@@ -7,8 +7,6 @@
false
true
- false
- true
false
true
diff --git a/src/Microsoft.DotNet.Cli.Utils/MSBuildForwardingAppWithoutLogging.cs b/src/Microsoft.DotNet.Cli.Utils/MSBuildForwardingAppWithoutLogging.cs
index 4a4628198..39c7fb2df 100644
--- a/src/Microsoft.DotNet.Cli.Utils/MSBuildForwardingAppWithoutLogging.cs
+++ b/src/Microsoft.DotNet.Cli.Utils/MSBuildForwardingAppWithoutLogging.cs
@@ -23,10 +23,6 @@ namespace Microsoft.DotNet.Cli.Utils
new Dictionary
{
{ "MSBuildExtensionsPath", AppContext.BaseDirectory },
- { "CscToolPath", GetRunToolPath() },
- { "VbcToolPath", GetRunToolPath() },
- { "CscToolExe", GetRunToolExe("Csc") },
- { "VbcToolExe", GetRunToolExe("Vbc") },
{ "MSBuildSDKsPath", GetMSBuildSDKsPath() },
{ "DOTNET_HOST_PATH", GetDotnetPath() },
};
@@ -81,17 +77,6 @@ namespace Microsoft.DotNet.Cli.Utils
SdksDirectoryName);
}
- private static string GetRunToolPath()
- {
- return Path.Combine(AppContext.BaseDirectory, "Roslyn", "bincore");
- }
-
- private static string GetRunToolExe(string compilerName)
- {
- var scriptExtension = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".cmd" : "";
- return $"Run{compilerName}{scriptExtension}";
- }
-
private static string GetDotnetPath()
{
return new Muxer().MuxerPath;
diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj
index a58896f12..4dbd46f5d 100644
--- a/src/redist/redist.csproj
+++ b/src/redist/redist.csproj
@@ -291,8 +291,6 @@
-
-
diff --git a/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs b/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs
index 4450258ee..4dad315e3 100644
--- a/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs
+++ b/test/dotnet-msbuild.Tests/GivenMsbuildForwardingApp.cs
@@ -31,8 +31,6 @@ namespace Microsoft.DotNet.Cli.MSBuild.Tests
[Theory]
[InlineData("MSBuildExtensionsPath")]
- [InlineData("CscToolExe")]
- [InlineData("VbcToolExe")]
[InlineData("MSBuildSDKsPath")]
[InlineData("DOTNET_CLI_TELEMETRY_SESSIONID")]
public void ItSetsEnvironmentalVariables(string envVarName)
@@ -66,27 +64,6 @@ namespace Microsoft.DotNet.Cli.MSBuild.Tests
.Exist();
}
- [Fact]
- public void ItSetsCscToolExePathToValidPath()
- {
- var msbuildPath = "";
- var envVar = "CscToolExe";
- new FileInfo(new MSBuildForwardingApp(new string[0], msbuildPath)
- .GetProcessStartInfo()
- .Environment[envVar])
- .Should().NotBeNull("constructor will throw on invalid path");
- }
-
- [Fact]
- public void ItSetsVbcToolExePathToValidPath()
- {
- var msbuildPath = "";
- var envVar = "VbcToolExe";
- new FileInfo(new MSBuildForwardingApp(new string[0], msbuildPath)
- .GetProcessStartInfo()
- .Environment[envVar])
- .Should().NotBeNull("constructor will throw on invalid path");
- }
[Fact]
public void ItSetsOrIgnoresTelemetrySessionId()