Link to home
Start Free TrialLog in
Avatar of dotnet4rookie
dotnet4rookie

asked on

List of all the properties used along with MSBuild Publish command

Can someone give me the  list of all the possible properties that can be used along what MSBuild publish command. For example

C:/>msbuild.exe /target:publish /property:publishurl=//http/www.example.com

Thanks
Avatar of DarkoLord
DarkoLord
Flag of Slovenia image

Avatar of dotnet4rookie
dotnet4rookie

ASKER

DarkoLord,

Thanks for the response but if you see in the link that you sent: /property:WarningLevel=2;OutputDir=bin\Debug
 I would like to know all the possible Porperty names available. In this case the names are WarningLevel, OutputDir.  I want to be able to publish the project from another location instead of the default bin\debug folder.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of DarkoLord
DarkoLord
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
DarkoLord,

Great!!! That was what I was looking for. Thanks!!!  The list also comes up when we try to edit a msbuild project file.
But I cannot find the property that would help me out:  when I'm publishing a clickonce application, it only publishes the files in the bin\debug directory. But if I created a folder say Temp inside the bin\debug directory, the new Temp directory is not included as a part of the publish. So when I run the setup created by the Publish command, this setup does not create the Temp direcotry in the application folder.

Please suggest what I can do
Do you have that Temp directory in your solution? I think ClickOnce publishes all files that are included in the application solution itself (and Copy To Output Directory set).
No in my case clickonce is only publishing the exe files to the publishurl location. I create a folder called Temp in the \bin\debug folder uaing post build commands. I would like this folder also to be installed in the app location during setup.

Please help.