Visual Studio Project: How to include a reference for one configuration only?

后端 未结 4 664
予麋鹿
予麋鹿 2020-12-05 14:20

Env.: VS2008 C# project

I need to build my app for use in 2 different environments. In one of those environments, I need to use a 3rd party DLL assembly.

I c

4条回答
  •  情书的邮戳
    2020-12-05 14:57

    The following, in the csproj file references itemgroup works in vs 2008 for me:-

    
      False
      ..\..\..\..\Visual Studio User Library\Debug\DRLClasses.dll
    
    
      False
      ..\..\..\..\Visual Studio User Library\Release\DRLClasses.dll
    
    

提交回复
热议问题