Reference required to assembly 'WindowsBase'....

Reference required to assembly 'WindowsBase'....

Old forum URL: forums.lhotka.net/forums/t/3503.aspx


griff posted on Monday, September 10, 2007

Hi

I am getting an error

Error    2    Reference required to assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' containing the implemented interface 'System.Collections.Specialized.INotifyCollectionChanged'. Add one to your project.    D:\Richard\Development\VS2005\Family\FamilyLib\ClientEditList.designer.vb    22    14    FamilyLi

When I have

<Serializable()> _
    Public Partial Class ClientEditList
    Inherits BusinessListBase(Of ClientEditList, Client) - error here!!

Someone else had this problem but I have not been able to correct following those instructions.
Rocky suggested the following

You either need to reference the .NET 3.0 assemblies, or you need to build CSLA .NET without .NET 3.0 support

I'm not sure on what i havd to do for this part  <
You either need to reference the .NET 3.0 assemblies>
and the second option did not work.

I have looked at the latest project tracker using csla 3.0 and my project and they use the same csla.dll (3.0) but when I go to the object browser the Csla.BusinessListBase(Of T, C) differs in the number of properties and methods listed (PT has lots more) - can anyone help here.  All other references ion the projedct look the same.  Need help!!!!

Many thanks.

Richard


RockfordLhotka replied on Monday, September 10, 2007

Are you using CSLA 3.0.0 or 3.0.1? I cleaned up some reference issues in 3.0.1 and that might help.

Otherwise this article covers what you need to do if you do/don't have .NET 3.0 installed.

griff replied on Monday, September 10, 2007

Hi

just changed to 3.0.1 and that seems to have sorted it

Thanks

Richard

Copyright (c) Marimer LLC