Mam aplikacji WPF targetting .NET 4.0 Używam Microsoft.Expression.Blend.dllMicrosoft.Expression.Blend w aplikacji WPF targetting .net 4.0
Everytime I budować mam kilka ostrzeżeń, które wyglądają tak:
The primary reference "Microsoft.Expression.Blend, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=x86" could not be resolved because it has an indirect dependency on the .NET Framework assembly "Microsoft.Build.Engine, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "12.0.0.0" than the version "4.0.0.0" in the current target framework.
Albo to:
The primary reference "Microsoft.Expression.Blend, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=x86" could not be resolved because it has an indirect dependency on the assembly "Microsoft.Expression.DesignHost, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".
Co mogę zrobić, aby te ostrzeżenia odejść? Mogę znaleźć wersje np. Microsoft.Expression.Interactions, które celują w .net 4.0, ale nie mieszają się.
Pomoc!
Brzmi to samo pytanie jak: http://stackoverflow.com/questions/9394299/indirect-dependency-on-the-net-framework-assembly –
Jaka wersja Visual Studio używasz? –
Moje cele aplikacji .NET 4.0. Nie widzę, w jaki sposób to pytanie pomaga lub jest istotne. Chyba że mówisz, że nie mogę użyć Blend z 4.0? – Julien