Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

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

This comment has been minimized.

Copy link

commented Jun 8, 2015

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Jun 9, 2015

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

@vasily-kirichenko

This comment has been minimized.

Copy link
Owner Author

commented Jun 9, 2015

Checked @hmemcpy approach - works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.