Conditional references in csproj files causes error when condition is false #6757
Labels
Functionality:Restore
Resolution:ByDesign
This issue appears to be ByDesign
Resolution:Duplicate
This issue appears to be a Duplicate of another issue
Style:PackageReference
Type:DCR
Design Change Request
From @reza1024 on July 10, 2017 21:17
I am trying to have a solution with two projects and reference on in the other one only in Debug builds but referencing under conditions causes compile error on Release although it compiles just fine on Debug. It is very easy to reproduce:
Here is the content of the content of the csproj files. I am using VS 15.2 (26430.14)
DebugTools.csproj
MainLibrary.csproj
Copied from original issue: dotnet/project-system#2583
The text was updated successfully, but these errors were encountered: