Skip to content

Instantly share code, notes, and snippets.

@vasily-kirichenko
Last active August 29, 2015 14:22
Show Gist options
  • Save vasily-kirichenko/84f7ebc284d92742493b to your computer and use it in GitHub Desktop.
Save vasily-kirichenko/84f7ebc284d92742493b to your computer and use it in GitHub Desktop.

To enable parallel build for F# projects in Visual Studio 2013, add a string parameter named IsMultiThreadedBuildEnabled with value 1 into key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Projects\{f2a71f9b-5d33-465a-a702-920d77279786}

(replace 12.0_Config with 14.0_Config for VS 2015)

Note: At some point this setting may disappear, it seems Visual Studio may erase it. So, you should check whether it's there before run VS.

@pavel-khritonenko
Copy link

Attach this reg-file

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Projects\{f2a71f9b-5d33-465a-a702-920d77279786}]
"IsMultiThreadedBuildEnabled"="1"


[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\Projects\{f2a71f9b-5d33-465a-a702-920d77279786}]
"IsMultiThreadedBuildEnabled"="1"

@dsyme
Copy link

dsyme commented Jun 8, 2015

Or directly from the command line:

REG ADD HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Projects{f2a71f9b-5d33-465a-a702-920d77279786} /v IsMultiThreadedBuildEnabled /t REG_SZ /d 1
REG ADD HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\Projects{f2a71f9b-5d33-465a-a702-920d77279786} /v IsMultiThreadedBuildEnabled /t REG_SZ /d 1

@hmemcpy
Copy link

hmemcpy commented Jun 9, 2015

A better "workaround" is to use a pkgdef file, see this comment: dotnet/fsharp#487 (comment)

@vasily-kirichenko
Copy link
Author

Checked @hmemcpy approach - works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment