I have two projects, A and B.
Inside Project A, I have a DataGrid class, that extends a third party libraries datagrid.
So the class looks like:
public class MyDataGrid : ThirdPartyDataGrid.
Now in project B, I reference Project A, and I try and use MyDataGrid, but get a compile time error saying:
Error 53 Unknown build error, 'Cannot resolve dependency to assembly 'Xceed.Wpf.DataGrid, Version=2.0.8127.13040, Culture=neutral, PublicKeyToken=ba83ff368b7563c6' 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.Now if Project B references the Xceed (thirdParty) datagrid, then it works.
Is there a way that B can just reference A? I would hate to have all other projects that want to use my datagrid to have to actually have a copy and a reference to the dll!
Thanks for your time!