Posted 15 years ago
by Phil Devaney
-
Senior Software Engineer,
Serck Controls Ltd
Version: 9.1.0507
I've been trying to build my project with .NET 4/VS 2010, and one of the things I did was remove the reference to WPFToolkit.dll and use the version of DataGrid that's now in PresentationFramework.dll in v4. However, I also had to remove the reference to DataGrid.Contrib as it was giving the following error:
error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'WPFToolkit, Version=3.5.40128.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 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. Line 76 Position 70.'
Removing the reference and changing my ThemedDataGrid to a normal one fixed the problem. I expect there is a similar problem with the DataGrid.Interop assembly.
Are you planning on releasing a new build that supports .NET 4 in the near future. If not, I guess I can grab the source and fix it myself. This isn't an urgent matter, as MS "Oslo" is also incompatible with .NET 4.0, so I have to wait for the next CTP of that, supposedly due out in time for PDC in a couple of weeks
error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'WPFToolkit, Version=3.5.40128.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 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. Line 76 Position 70.'
Removing the reference and changing my ThemedDataGrid to a normal one fixed the problem. I expect there is a similar problem with the DataGrid.Interop assembly.
Are you planning on releasing a new build that supports .NET 4 in the near future. If not, I guess I can grab the source and fix it myself. This isn't an urgent matter, as MS "Oslo" is also incompatible with .NET 4.0, so I have to wait for the next CTP of that, supposedly due out in time for PDC in a couple of weeks