Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing References
Message
From
28/10/2009 08:41:12
 
 
To
28/10/2009 08:33:15
General information
Forum:
ASP.NET
Category:
Troubleshooting
Miscellaneous
Thread ID:
01431856
Message ID:
01431859
Views:
40
>>Hi,
>>
>>I am trying to get into using SilverLight and am looking into using the CSLA.NET for SilverLight stuff. When I open and try to build one of the sample applications that comes with it I get these errors:
>>
>>Error 1 The type 'System.Collections.ObjectModel.ObservableCollection`1' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. C:\Documents and Settings\frank\My Documents\Visual Studio 2008\Projects\csla\CslaLight\cs\InventoryDemo\InvDal\WarehouseList.cs 11 33 InvDal
>>
>>Error 2 The type 'System.ComponentModel.IEditableObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. C:\Documents and Settings\frank\My Documents\Visual Studio 2008\Projects\csla\CslaLight\cs\InventoryDemo\InvDal\ProductEdit.cs 13 31 InvDal
>>
>>Error 3 The type 'System.ComponentModel.INotifyPropertyChanged' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. C:\Documents and Settings\frank\My Documents\Visual Studio 2008\Projects\csla\CslaLight\cs\InventoryDemo\InvDal\ProductDetail.cs 13 33 InvDal
>>
>>I have tried to find System.Windows.dll and System.dll without luck.
>>
>>I have double checked that everything is installed. Can anybody provide me with some ideas as to what could be causing this problem, please?
>>
>>Thanks
>
>Install .Net Framework 3.5 SP1 and then try adding a reference in the project to WindowsBase and see if that fixes it. Also, did you do the project by scratch or did you open an existing sample app and if so, were you prompted to convert it?

Hi, everything necessary is installed (including 3.5 SP1) and I had added WindowsBase already. The project is an existing one (a sample that comes with the CSLA stuff) which did not need converting. However, I believe I have found the problem. The existing System reference was version 2.0, I removed it and added a reference to System.dll that I found in this path: C:\Program Files\Microsoft Silverlight\3.0.40818.0 and I also found th eSystem.Windows.dll there so added that too.

The project has now built successfully. Hopefully this will get me up and running.

Thanks for your time
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform