Output path for build in visual studio 2010

前端 未结 5 1162
予麋鹿
予麋鹿 2020-12-19 02:05

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 \"$(P

5条回答
  •  悲哀的现实
    2020-12-19 02:42

    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 elements to $(ProgramFiles) -- 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!

提交回复
热议问题