MSBuild command line
-
Hello Everybody, Does anybody knows how to specify "include","library", path from command line in MSBuild. Thanks in advance, Regards Abhi Lahare
-
Hello Everybody, Does anybody knows how to specify "include","library", path from command line in MSBuild. Thanks in advance, Regards Abhi Lahare
Check out followings You can get this by firing csc -? on .NET command prompt - OUTPUT FILES - /out: Specify output file name (default: base name of file with main class or first file) /target:exe Build a console executable (default) (Short form: /t:exe) /target:winexe Build a Windows executable (Short form: /t:winexe) /target:library Build a library (Short form: /t:library) /target:module Build a module that can be added to another assembly (Short form: /t:module) /delaysign[+|-] Delay-sign the assembly using only the public portion of the strong name key /doc: XML Documentation file to generate /keyfile: Specify a strong name key file /keycontainer: Specify a strong name key container /platform: Limit which platforms this code can run on: x86, Itanium, x64, or anycpu. The default is anycpu. - INPUT FILES - /recurse: Include all files in the current directory and subdirectories according to the wildcard specifications /reference:= Reference metadata from the specified assembly file using the given alias (Short form: /r) /reference: Reference metadata from the specified assembly files (Short form: /r) /addmodule: Link the specified modules into this assembly - RESOURCES - /win32res: Specify a Win32 resource file (.res) /win32icon: Use this icon for the output /resource: Embed the specified resource (Short form: /res) /linkresource: Link the specified resource to this assembly (Short form: /linkres) Where the resinfo format is [,[,public|private]] - CODE GENERATION - /debug[+|-] Emit debugging information /debug:{full|pdbonly} Specify debugging type ('full' is default, and enables attaching a debugger to a running program) /optimize[+|-] Enable optimizations (Short form: /o) - ERRORS AND WARNINGS - /warnaserror[+|-] Report all warnings as errors /warnaserror[+|-]: Report specific warnings as errors /warn: Set warning level (0-4) (Short form: /w) /nowarn: Disable specific warni
-
Check out followings You can get this by firing csc -? on .NET command prompt - OUTPUT FILES - /out: Specify output file name (default: base name of file with main class or first file) /target:exe Build a console executable (default) (Short form: /t:exe) /target:winexe Build a Windows executable (Short form: /t:winexe) /target:library Build a library (Short form: /t:library) /target:module Build a module that can be added to another assembly (Short form: /t:module) /delaysign[+|-] Delay-sign the assembly using only the public portion of the strong name key /doc: XML Documentation file to generate /keyfile: Specify a strong name key file /keycontainer: Specify a strong name key container /platform: Limit which platforms this code can run on: x86, Itanium, x64, or anycpu. The default is anycpu. - INPUT FILES - /recurse: Include all files in the current directory and subdirectories according to the wildcard specifications /reference:= Reference metadata from the specified assembly file using the given alias (Short form: /r) /reference: Reference metadata from the specified assembly files (Short form: /r) /addmodule: Link the specified modules into this assembly - RESOURCES - /win32res: Specify a Win32 resource file (.res) /win32icon: Use this icon for the output /resource: Embed the specified resource (Short form: /res) /linkresource: Link the specified resource to this assembly (Short form: /linkres) Where the resinfo format is [,[,public|private]] - CODE GENERATION - /debug[+|-] Emit debugging information /debug:{full|pdbonly} Specify debugging type ('full' is default, and enables attaching a debugger to a running program) /optimize[+|-] Enable optimizations (Short form: /o) - ERRORS AND WARNINGS - /warnaserror[+|-] Report all warnings as errors /warnaserror[+|-]: Report specific warnings as errors /warn: Set warning level (0-4) (Short form: /w) /nowarn: Disable specific warni
Thanks mandaar.