Setup :
- dotnet core 2.2
- Visual studio code Insiders 1.33.0
VS Code Extensions :
- C# 1.17.1
- NuGet Package Manager 1.1.6
For a school project I must use ADO.NET to access the Database. So I added the nuget package System.Data.SqlClient with the nuget extension. Here is the result of my csproj file.
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App"/>
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.2"/>
<PackageReference Include="System.Data.SqlClient" Version="4.7.0-preview3.19128.7"/>
<PackageReference Include="System.Data.Common" Version="4.3.0"/>
<PackageReference Include="Useful.Utilities" Version="1.0.5"/>
</ItemGroup>
</Project>
The problem is that there is no Intellisense.
But it's working on Visual Studio Community Version 16.0.0 RC2
Add a using with Intellisense working
The problem occur not only with System.Data.SqlClient but with all nuget package I added.
What should I do to have a working Intellisense on Visual Studio Code ?