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=//htt p/www.example.com
Thanks
C:/>msbuild.exe /target:publish /property:publishurl=//htt
Thanks
http://msdn2.microsoft.com/en-us/library/ms164311.aspx
ASKER
DarkoLord,
Thanks for the response but if you see in the link that you sent: /property:WarningLevel=2;O utputDir=b in\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
Thanks for the response but if you see in the link that you sent: /property:WarningLevel=2;O
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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).
ASKER
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.
Please help.