Replies: 16 comments
-
Visual Studio 2022 is supported. My pull requests are written with VS 2022 Can you explain what problems you are facing? |
Beta Was this translation helpful? Give feedback.
-
I get tons of
And stupidly suspected it is related to VS version (the |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I reinstalled it (I was in preview branch so I installed them side by side, and then removed the preview) |
Beta Was this translation helpful? Give feedback.
-
Nevermind, if it build for some other, it’s my problem. I’ll try to fix it. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@GeoDirk can you point a build log (of what is shown in the Output window) when you try to compile? |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
-
@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.
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@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.sln I 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)? |
Beta Was this translation helpful? Give feedback.
-
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: |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
@acesoflife is this VS 2022? |
Beta Was this translation helpful? Give feedback.
-
VS 2019...im currently installing VS 2022 to try it out. |
Beta Was this translation helpful? Give feedback.
-
Yes, VS 2019 isn't supported anymore due to new language features not available in that version. |
Beta Was this translation helpful? Give feedback.
-
Hi proud people from Xaml world,
How about supporting VS2022?
Currently I need to reinstall VS2019 just to build the project 😱
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions