Visual Studio 2019 showing yellow exclamation for .NET 5 Preview 8 #25806
-
Hello, I recently installed .NET 5 Preview 8 and created a new ASP.NET Core MVC project in Visual Studio 2019 16.8 Preview 2. For all the NuGet packages it is showing yellow exclamation mark. There are no compilation errors, no warnings. The application works fine. No errors. But VS keeps showing yellow exclamation. This problem comes only for .NET 5 projects. ASP.NET Core 3.1 projects don't give this problem. My project file is shown below : <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.0-preview.8.20414.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.0-preview.8.20407.4" />
</ItemGroup>
</Project> What's the reason and how to fix it ?? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I believe this is a known issue. @dsplaisted ? |
Beta Was this translation helpful? Give feedback.
-
Yes, this is a preview 8 known issue: https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0-known-issues.md#preview-8-1 |
Beta Was this translation helpful? Give feedback.
Yes, this is a preview 8 known issue: https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0-known-issues.md#preview-8-1