Types exists in both packages (v2018.0.2)
Hello,
I have just upgraded from 2018.0.1 to 2018.0.2 , now my 2 projects give the same error when trying to build & run any one of them:
Models\ewexcelcfg.cs(56,23): error CS0116: A namespace cannot directly contain members such as fields or methods [D:\Path\To\Project.csproj]
Models\ewexcelcfg.cs(57,25): error CS0116: A namespace cannot directly contain members such as fields or methods [D:\Path\To\Project.csproj]
Models\ewexcelcfg.cs(58,25): error CS0116: A namespace cannot directly contain members such as fields or methods [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5731,70): error CS0433: The type 'ImageFormat' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5806,19): error CS0433: The type 'ImageFormat' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5833,19): error CS0433: The type 'ImageFormat' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5841,67): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5920,60): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5920,19): error CS0433: The type 'Bitmap' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5946,37): error CS0433: The type 'PropertyItem' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5946,79): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5473,46): error CS0433: The type 'ImageFormat' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5486,21): error CS0433: The type 'ImageFormat' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5488,12): error CS0433: The type 'ImageFormat' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5493,12): error CS0433: The type 'PropertyItem' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(6006,77): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(6006,36): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5974,77): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(5974,36): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(6021,77): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
Models\aspnetfn.cs(6021,36): error CS0433: The type 'Image' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [D:\Path\To\Project.csproj]
etc.
My "DotNet --version" is: 2.1.103
What may cause this problem?