Quick way to create base for DotNetNuke module.
call "c:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 msbuild MyModule.sln pause
Also to suppress warnings I can use WarningLevel key like this :msbuild.exe MySolution.sln /t:Rebuild /p:WarningLevel=0 /p:Configuration=ReleaseWarning level | Meaning ------------- | -------------------------------------------0 | Turns off emission of all warning messages.1 | Displays severe warning messages.2 | Displays level 1 warnings plus certain, less-severe warnings, such as warnings about hiding class members.3 | Displays level 2 warnings plus certain, less-severe warnings, such as warnings about expressions that always evaluate to true or false.4 | (the default) Displays all level 3 warnings plus informational warnings.
Also to suppress warnings I can use WarningLevel key like this :
ReplyDeletemsbuild.exe MySolution.sln /t:Rebuild /p:WarningLevel=0 /p:Configuration=Release
Warning level | Meaning ------------- | -------------------------------------------
0 | Turns off emission of all warning messages.
1 | Displays severe warning messages.
2 | Displays level 1 warnings plus certain, less-severe warnings, such as warnings about hiding class members.
3 | Displays level 2 warnings plus certain, less-severe warnings, such as warnings about expressions that always evaluate to true or false.
4 | (the default) Displays all level 3 warnings plus informational warnings.