You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Namespace or type specified in the project-level Imports 'System.Data' doesn't contain any public member or cannot be found
This project-level import comes from Microsoft.NET.Sdk.VisualBasic.targets in %ProgramFiles%\dotnet\sdk\1.0.4\Sdks\Microsoft.NET.Sdk\build, which unconditionally imports System.Data. But in .NET Core 1.0, there's no System.Data... This problem appears to be fixed in the 2.0.0 SDK (we should probably consider switching to that version, btw).
I tried to add <Import Remove="System.Data" /> in an <ItemGroup>, but it has no effect.
The text was updated successfully, but these errors were encountered:
We're in a rather uncomfortable position right now with regard to VB projects; VS2017 15.3 supports SDK-style VB projects, but the .NET Core SDK we're using (1.0.3) doesn't. Which means msbuild (the one that ships with VS) can build the project, but dotnet build cannot, because it can't find vbc.exe...
The full error message is:
This project-level import comes from
Microsoft.NET.Sdk.VisualBasic.targets
in%ProgramFiles%\dotnet\sdk\1.0.4\Sdks\Microsoft.NET.Sdk\build
, which unconditionally importsSystem.Data
. But in .NET Core 1.0, there's no System.Data... This problem appears to be fixed in the 2.0.0 SDK (we should probably consider switching to that version, btw).I tried to add
<Import Remove="System.Data" />
in an<ItemGroup>
, but it has no effect.The text was updated successfully, but these errors were encountered: