Visual Studios Express - change debug output directory

后端 未结 2 919
情歌与酒
情歌与酒 2021-01-19 06:04

Is there a way to get a VS project to build the debug EXE to a directory other than bin/debug?

I found this: http://msdn.microsoft.com/en-us/library/ms165410%28v=vs.

2条回答
  •  甜味超标
    2021-01-19 07:03

    The Output path is stored in the .cproj file. One for each configuration.

    Open ur *project_Name.csproj* in any editor (say notepad)

    For Debug:

    
        .....
        myOutput\
    
    
    

    Similarly For Release:

     
        ...
         bin\Release\
    
    

    You could try manually editing the OutputPath.

    The Output Path can take both Relative and Absolute paths.

    Note: The Relative OutputPath should be relative to your project directory (project_Name.csproj) .

提交回复
热议问题