Skip to content

Commit 1b23bbe

Browse files
authored
Merge pull request #11558 from brettfo/compiler-path
[release/dev16.10] ensure compiler and targets can be found in legacy projects
2 parents a999919 + e3662ea commit 1b23bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vsintegration/src/FSharp.ProjectSystem.Base/Utilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ public static Microsoft.Build.Evaluation.Project InitializeMsBuildProject(Micros
740740
{
741741
var lclGlobalProperties = (null == globalProperties) ? new Dictionary<string, string>() : new Dictionary<string, string>(globalProperties)
742742
{
743-
{ "FSharpCompilerPath", Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) }
743+
{ "FSharpCompilerPath", Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Tools") }
744744
};
745745
buildProject = buildEngine.LoadProject(fullProjectPath, lclGlobalProperties, null);
746746
buildProject.IsBuildEnabled = true;

0 commit comments

Comments
 (0)