Can't compile from Visual Studio #7211
-
Hi all,
When I import the extension method by importing ns MudBlazor.Extensions the error goes away but the source code is marked as obsolete with this comment: "Please use the auto-generated ToDescriptionString method instead or implement your own extension method." Elio B. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
What is your exact visual studio 2022 version? |
Beta Was this translation helpful? Give feedback.
-
Thanks, I'll try to compile using dotnet build command and let you know.. |
Beta Was this translation helpful? Give feedback.
-
After upgrade to Version 17.6.5 it builds successfully. My mistake for overlook the Visual Studio version . |
Beta Was this translation helpful? Give feedback.
-
I'm using VS 17.9.5, with .NET 8.0.3, and I get the same error. What can I do? |
Beta Was this translation helpful? Give feedback.
Since our version of
Microsoft.CodeAnalysis.CSharp
is 4.5 you need minimum Visual Studio version 17.5, it's better if you have the latest tho. Otherwise the source generator will not work and you will see problems that you have described.