diff --git a/vsintegration/Vsix/Directory.Build.props b/vsintegration/Vsix/Directory.Build.props index e286ec2d2ce..66b95cf6e1a 100644 --- a/vsintegration/Vsix/Directory.Build.props +++ b/vsintegration/Vsix/Directory.Build.props @@ -6,6 +6,8 @@ Microsoft.FSharp RoslynDev $(VSRootSuffix) + + $(ArtifactsDir)bin\fscAnyCpu\$(Configuration)\net472\ true publish\ true diff --git a/vsintegration/Vsix/VisualFSharpFull/Properties/launchSettings.json b/vsintegration/Vsix/VisualFSharpFull/Properties/launchSettings.json index a3e00ad6bec..5731d86cdd6 100644 --- a/vsintegration/Vsix/VisualFSharpFull/Properties/launchSettings.json +++ b/vsintegration/Vsix/VisualFSharpFull/Properties/launchSettings.json @@ -3,7 +3,16 @@ "VisualFSharpDebug": { "commandName": "Executable", "executablePath": "$(DevEnvDir)devenv.exe", - "commandLineArgs": "/rootsuffix $(VSSDKTargetPlatformRegRootSuffix) /log" + "commandLineArgs": "/rootsuffix $(VSSDKTargetPlatformRegRootSuffix) /log", + "environmentVariables": { + "FSharpCompilerPath": "$(FSharpCompilerPathForDebuggingLocally)", + "DisableAutoSetFscCompilerPath": "true", + "FSharpPreferNetFrameworkTools": "true", + "FSharp_Shim_Present": "true", + "FSharpPreferAnyCpuTools": "true", + "Fsc_NetFramework_ToolPath": "$(FSharpCompilerPathForDebuggingLocally)", + "Fsc_NetFramework_AnyCpu_ToolExe": "fscAnyCpu.exe" + } } } } \ No newline at end of file