Replies: 16 comments
|
Visual Studio 2022 is supported. My pull requests are written with VS 2022 Can you explain what problems you are facing? |
|
I get tons of And stupidly suspected it is related to VS version (the |
|
Did you upgrade your installation from the preview version to the regular version? I had to remove and reinstall VS 2022 to get everything to work smooth. This is a VS issue and not related to the library. |
|
I reinstalled it (I was in preview branch so I installed them side by side, and then removed the preview) |
|
Nevermind, if it build for some other, it’s my problem. I’ll try to fix it. |
|
I'm having the same issue as @picrap I've uninstalled VS2022 and reinstalled it....same error. The only add-on that I have in VS is Resharper. |
|
@GeoDirk can you point a build log (of what is shown in the Output window) when you try to compile? |
|
Hey Kevin - Coincidentally enough, I just watched one of your YouTube videos for the first time today. You do a great job at explaining things! Output window: |
|
@GeoDirk This library uses a preview NuGet feature for centralized NuGet package management. I suspect that this error is a bit misleading and there is likely someone else trigging it. For this error, it is a bit strange so a few things to check/confirm.
|
Correct, I'm running the latest Stable build of VS2022 (Version 17.0.4)
Yes. I've tried the Full and the MaterialDesignToolkit.Wpf.slnf solutions. Unsurprisingly, they both have the same problem.
I do.
C:>dotnet --list-sdks
I updated the project from the Main branch and noticed 5 new PRs that came in. After doing a Clean and Rebuild, still the same issue. |
|
@GeoDirk interesting, that looks like everything I would expect. Can you try compiling outside of visual studio by running the following from the root of the repository. dotnet build MaterialDesignToolkit.Full.slnI am also interested in what extensions you might be running as well. The first image that you posted, is that ReSharper? Are you using ReSharper Build (https://www.jetbrains.com/help/resharper/Building_Solution.html)? |
|
Here is the output of running the command from the directory root: It is interesting that the error talks about using .NET 5 libraries when trying to compile under .NET 6 And yes, I've enabled Resharper to do the builds. As far as VS Extensions, I only have Resharper and "XAML Styler for Visual Studio 2022" installed beyond the default VS ones. I'm sure that the latter one has zero impact but Resharper is controlling my build process. I went ahead and disabled Resharper's Build and reverted back to the standard VS build. Here is the output after trying to compile: |
VS 2019...im currently installing VS 2022 to try it out. |
Yes, VS 2019 isn't supported anymore due to new language features not available in that version. |



Uh oh!
There was an error while loading. Please reload this page.
Hi proud people from Xaml world,
How about supporting VS2022?
Currently I need to reinstall VS2019 just to build the project 😱
Thanks.
All reactions