Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Find MSBuild v4 in path
Browse files Browse the repository at this point in the history
I suspect this may have been the cause of #1
  • Loading branch information
gregmac committed May 1, 2013
1 parent 35fda5b commit 8a460ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ echo Initializing
rmdir /s /q out40
.nuget\nuget install .\ReactiveSockets\packages.config -OutputDirectory packages

for /D %%D in (%SYSTEMROOT%\Microsoft.NET\Framework\v4*) do set msbuild=%%D\MSBuild.exe

md .\out40
md .\out40\lib
md .\out40\lib\net40
msbuild .\ReactiveSockets\ReactiveSockets.csproj /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 /t:Rebuild
%msbuild% .\ReactiveSockets\ReactiveSockets.csproj /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 /t:Rebuild
xcopy .\ReactiveSockets\bin\Release\ReactiveSockets.dll .\out40\lib\net40\* /Y
xcopy .\ReactiveSockets\bin\Release\ReactiveSockets.xml .\out40\lib\net40\* /Y
xcopy .\ReactiveSockets.nuspec .\out40\* /Y
.nuget\nuget pack .\out40\ReactiveSockets.nuspec
.nuget\nuget pack .\out40\ReactiveSockets.nuspec

0 comments on commit 8a460ea

Please sign in to comment.