Skip to content

Commit

Permalink
ensure compiler and targets can be found in legacy projects
Browse files Browse the repository at this point in the history
  • Loading branch information
brettfo committed May 12, 2021
1 parent 668ad90 commit a25503e
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 a25503e

Please sign in to comment.