This project has moved and is read-only. For the latest updates, please go here.

complier error

Feb 3, 2012 at 3:12 AM

Error 3 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' 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 34 Position 20.'  F:\study\xomfwk-9200\trunk\samples\AdventureWorks\AdventureWorks.Client.WPF\_EmployeeSearch.xaml 34 20 AdventureWorks.Client.WPF

 

i cannt find system.windows in my pc

Feb 3, 2012 at 3:58 AM

Can you check what version of the Xomega.Framework.dll is being referenced in your AdventureWorks.Client.WPF project?  What path to the dll do you see in the properties of the reference? System.Windows, Version=2.0.5.0 belongs to the Silverlight package, which you don't seem to have installed on your PC.

If your project uses the Silverlight version of the framework, then can you remove this reference and add a reference to the Xomega.Framework.dll compiled for the .net 3.5?

Also, are you using the samples from the current release or the latest one checked in the source control?

Please let us know if this helps.