Skip to content

Commit

Permalink
Merge pull request dotnet#11560 from brettfo/compiler-path
Browse files Browse the repository at this point in the history
ensure compiler and targets can be found in legacy projects
  • Loading branch information
KevinRansom authored May 12, 2021
2 parents 668ad90 + a25503e commit 408670c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsintegration/src/FSharp.ProjectSystem.Base/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ public static Microsoft.Build.Evaluation.Project InitializeMsBuildProject(Micros
{
var lclGlobalProperties = (null == globalProperties) ? new Dictionary<string, string>() : new Dictionary<string, string>(globalProperties)
{
{ "FSharpCompilerPath", Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) }
{ "FSharpCompilerPath", Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Tools") }
};
buildProject = buildEngine.LoadProject(fullProjectPath, lclGlobalProperties, null);
buildProject.IsBuildEnabled = true;
Expand Down

0 comments on commit 408670c

Please sign in to comment.