ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
After upgrading Visual Studio Community 2019 to version 16.10.0, I get this error at runtime
"*
The type 'RazorViewAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.0.4.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'"
Below screenshot are the pacakges.
Managed to solved it by uninstalling/removing both "Microsoft.AspNetCore.Razor (2.0.3)" and "Microsoft.AspNetCore.MVC (2.0.4)" packages.