Skip to content

Commit

Permalink
Merge pull request #11558 from brettfo/compiler-path
Browse files Browse the repository at this point in the history
[release/dev16.10] ensure compiler and targets can be found in legacy projects
  • Loading branch information
brettfo authored May 12, 2021
2 parents a999919 + e3662ea commit 1b23bbe
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 1b23bbe

Please sign in to comment.