Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Output path for build in visual studio 2010

I need to output the project dll in program files. "$(PROGRAMFILES)\Microsoft..." It is not building in program files, but in the project itself in a folder called "$(PROGRAMFILES)"!

How do I build in program files??

like image 809
Kervin Ramen Avatar asked Oct 19 '10 10:10

Kervin Ramen


People also ask

How do I find the build path in Visual Studio?

Right-click on the project node in Solution Explorer and select Properties. Expand the Build section, and select the Output subsection. Find the Base output path for C#, and type in the path to generate output to (absolute or relative to the root project directory), or choose Browse to browse to that folder instead.

Where is my output folder?

This is usually located at C:\My Output Data\ but can be changed to any location, such as a network folder, from Business Analyst Preferences. The My Output Data directory is an easy way to access, store, and back up the following: Projects.

What is build output?

Build Output OverviewBuilds that use the Docker or Source strategy result in the creation of a new container image. The image is then pushed to the container image registry specified in the output section of the Build specification.

What is an output directory?

output directory. [ESRI software] In ArcIMS, the folder designated during installation to hold files being served to users for display in a browser.


1 Answers

  1. In Solution Explorer, right click your project, click "Unload Project"
  2. After the project unloads, right click on it again, click "Edit MYPROJECT.csproj"
  3. In the XML editor window that opens, change <OutputPath> elements to <OutputPath>$(ProgramFiles)</OutputPath> -- either all of them, or only those for the configurations that interest you
  4. Save and close
  5. Right click on project again, choose "Reload Project"
  6. Done!
like image 146
Jon Avatar answered Oct 19 '22 02:10

Jon