2
Vote

Imports not removed when converting VB.Net project to C#

description

A VB.Net project contains two <ItemGroup> tag that only contains import child tags e.g.
 
<ItemGroup>
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Configuration" />
<Import Include="System.Data" />
</ItemGroup>
 
This is in addition to a 2nd item group that contains the Reference child elements. This item group needs to be removed in order for the project to compile.

comments