Reporter | Alexander Kurakin (Alexander.Kurakin) |
---|---|
Created | Nov 29, 2013 1:59:23 PM |
Updated | Apr 12, 2018 5:07:02 PM |
Subsystem | Code Analysis - C# |
Assignee | Ivan Serduk (IvanSerduk) |
Priority | Critical |
State | Submitted |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 8.0.2, 8.1 EAP |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
One of our projects has this structure:
Any help would be appreciated as right now I have to run with Resharper disabled
<ItemGroup Condition=" '$(MyCondition)' == 'Foo' ">Foo\File.cs and Bar\File.cs are implementing the same class in the same namespace but for different configurations. It seems like both are being included and Resharper gives an Ambiguous Reference warning and is thus unable to parse the files. Everything compiles and runs.
<Compile Include="Foo\File.cs" />
<ItemGroup>
<ItemGroup Condition=" '$(MyCondition)' == 'Bar' ">
<Compile Include="Bar\File.cs" />
<ItemGroup>
Any help would be appreciated as right now I have to run with Resharper disabled