C# / VS2008: Add separate debug / release references to a project

前端 未结 4 584
终归单人心
终归单人心 2020-12-23 09:40

When adding a user control or a project reference to a VS 2008 C# project, I can add only one configuration of the assembly. Is it possible to add separate configurations, d

4条回答
  •  借酒劲吻你
    2020-12-23 10:18

    
      ..\$(Configuration)\MyLibrary.dll
    
    

    This add a reference "..\Debug\MyLibrary.dll" if compiled in debug mode or ..\Release\MyLibrary.dll" if compiled in release mode.

提交回复
热议问题