Reporter | Roxana (roxanac) |
---|---|
Created | Dec 14, 2011 3:37:34 PM |
Updated | Feb 18, 2012 1:16:28 AM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Sergey Shkredov (serjic.shkredov) |
Subsystem | Project Model |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
Having .csproj (Visual Studio 2010) something like:
<Choose>
<When Condition=" '$(Platform)' == 'x86' ">
<ItemGroup>
<Reference Include="dllname">
<HintPath>$(WORK)\tools\dllname.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" '$(Platform)' == 'x64' ">
<ItemGroup>
<Reference Include="dllnamex64">
<HintPath>$(WORK)\tools\dllnamex64.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
=> Resharper does not know how to interpret this and my code looks like is full of errors when I want to use one or the other dll (resharper red) => "cannot resolve symbol" even if Visual Studio recognize the symbols
<Choose>
<When Condition=" '$(Platform)' == 'x86' ">
<ItemGroup>
<Reference Include="dllname">
<HintPath>$(WORK)\tools\dllname.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" '$(Platform)' == 'x64' ">
<ItemGroup>
<Reference Include="dllnamex64">
<HintPath>$(WORK)\tools\dllnamex64.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
=> Resharper does not know how to interpret this and my code looks like is full of errors when I want to use one or the other dll (resharper red) => "cannot resolve symbol" even if Visual Studio recognize the symbols