[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1743
  • Last Modified:

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
0
dotnet4rookie
Asked:
dotnet4rookie
  • 3
  • 3
1 Solution
 
dotnet4rookieAuthor Commented:
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
0
 
DarkoLordCommented:
I see. If you are using Visual Studio 2005, you can look the property names in the Microsoft.Build.Commontypes.xsd files inside the Program Files\Microsoft Visual Studio 8\xml\Schemas\1033\MSBuild folder.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
dotnet4rookieAuthor Commented:
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
0
 
DarkoLordCommented:
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).
0
 
dotnet4rookieAuthor Commented:
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.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now