c# - Visual Studio build problem with "ReflectionOnlyAssemblyResolve event" -
I have a Visual Studio 2010 project that is targeted for .NET Framework 3.5 I fixes the project with Visual Studio , But when I try to compile it with the command line or teamcity, I get the following build error:
C: \ windows \ Microsoft.NET \ framework \ V4.0.30319 \ Microsoft.WinFX.targets (26 9): Error MC1000: unknown build error, 'dependency on assembly can not be resolved' Microsoft.Wind Ows.Design.Extensibility, version = 4.0.0.0, culture = neutral, public token = B03f5f7f11d50a3a 'because it is not already loaded. When using the Reflection Online API, dependent assemblies should be pre-loaded or reflectionOnlyAssemblyResolve event even if on demand. [C: \ Work \ MyProject \ MyProject.sln]
Linker starts complaining about Microsoft.Windows.Design.Extensibility.dll
, but This project does not depend on the library.
This project is bombed in an attempt to compile XAMML. Ignore the comment about the reflectionUncourage the problem in the clear message dialogue, that is proving to be useful to solve the same problem. The real issue is that this montage can not be found.
It should be expected, Microsoft. Windows. Design. Extensibility is a visual studio assembly, which is stored in common 7 \ IDE \ PublicAssemblies folder. It can only be found if that folder is in the way of check, if you run msbuild.exe with the build tool, it will definitely not be.
For sure, what you need to do to get rid of this dependency should probably start with .xaml file content, search the assembly name. Also see that when you run msbuild.exe from Visual Studio Command Prompt, the problem is reproduced.
Comments
Post a Comment