How to configure the intermediate output directory in C#

后端 未结 3 615
鱼传尺愫
鱼传尺愫 2021-01-31 09:07

I\'m trying to organize my workspace and want my intermediate objects to be put in the ..\\build\\obj folder in relation to my .csproj file. So I put:

3条回答
  •  借酒劲吻你
    2021-01-31 09:11

    You could try to do this (don't forget that there are Debug and Release sections which will be used depending on what type of build you are targeting):

    
        ...
        ..\build\obj
        $(BaseIntermediateOutputPath)$(Configuration)\
    
    
        ...
        ..\build\obj
        $(BaseIntermediateOutputPath)$(Configuration)\
    
    

提交回复
热议问题