Microsoft.Windows.Design.Extensibility missing
When I try to build my project I get:
Cannot resolve dependency to assembly 'Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event
Or in the original:
Microsoft.WinFx.targets(268, 9): [MC1000] Неизвестная ошибка сборки, "Невозможно разрешить зависимую сборку для сборки "Microsoft.Windows.Design.Extensibility, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", поскольку она не была предварительно загружена. При использовании API-интерфейсов ReflectionOnly зависимые сборки необходимо предварительно загружать или загружать по запросу при возникновении события ReflectionOnlyAssemblyResolve."
I found (seems) many solutions to this problem for Visual Studio but I can't solve this problem in rider.
help me please
Please sign in to leave a comment.
Hello 7gtbj7cdibr1, thank you for your question.
What solutions have you already tried?
Does it work if you build it with `dotnet build`?
What MSBuild you have selected in "File | Settings | Build, Execution, Deployment | Toolset and Build"? Does it help if you try to change it there?
Having this issue as well after adding prism.unity nuget package for wpf development. My current work around is installing visual studio to get the reference added to the project.
But this is a rider specific issue building projects from scratch in visual studio doesn't have this issue, not sure if it's due to frameworks being developed with visual studio in mind or what.