Skip to content

Instantly share code, notes, and snippets.

@PatrickMcDonald
Created April 18, 2015 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatrickMcDonald/bd43f0cc1e20a9695460 to your computer and use it in GitHub Desktop.
Save PatrickMcDonald/bd43f0cc1e20a9695460 to your computer and use it in GitHub Desktop.
Put this file in the folder above visualfsharp and run from Visual Studio command prompt as administrator
pushd visualfsharp\src
msbuild fsharp-library-build.proj /p:TargetFramework=net40
if %errorlevel% neq 0 goto :END
msbuild fsharp-library-unittests-build.proj /p:TargetFramework=net40
if %errorlevel% neq 0 goto :END
call update.cmd debug -ngen
popd
pushd visualfsharp\Debug\net40\bin
nunit-console FSharp.Core.Unittests.dll -run=FSharp.Core.Unittests.SurfaceArea,FSharp.Core.Unittests.FSharp_Core.Microsoft_FSharp_Collections
:END
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment