Skip to content

Commit

Permalink
Reenable tracing in the final nuget package.
Browse files Browse the repository at this point in the history
The switch /p:DefineConstants:SIGNED_RELEASE would override existing constants, removing the TRACE constant. Thus we had to put it back.
  • Loading branch information
jcurl committed Sep 7, 2016
1 parent 7c68acf commit f35b433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ echo.
echo ======================================================================
echo == Building %~4 for .NET %~2 (Tools v%~1)
echo ======================================================================
call %MSBUILDDIR%\MSBUILD.EXE %~5 /t:Rebuild /toolsversion:%~1 /verbosity:minimal /p:TargetFrameworkVersion=%~2 /p:DefineConstants=SIGNED_RELEASE /p:SignAssembly=true /p:Configuration=Release /p:OutputPath="%CD%\distribute\%~3" /fl /flp:verbosity=normal /nologo
call %MSBUILDDIR%\MSBUILD.EXE %~5 /t:Rebuild /toolsversion:%~1 /verbosity:minimal /p:TargetFrameworkVersion=%~2 /p:DefineConstants="SIGNED_RELEASE;TRACE" /p:SignAssembly=true /p:Configuration=Release /p:OutputPath="%CD%\distribute\%~3" /fl /flp:verbosity=normal /nologo
copy msbuild.log "%CD%\distribute\msbuild-%~4-net-%~2-tools-%~1.log" > NUL
del msbuild.log
goto:eof
2 changes: 1 addition & 1 deletion code/SerialPortStream.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>SerialPortStream</id>
<version>2.0.1</version>
<version>2.0.1.1</version>
<title>SerialPortStream</title>
<authors>Jason Curl</authors>
<owners>Jason Curl</owners>
Expand Down

0 comments on commit f35b433

Please sign in to comment.