Page 1 of 1

System.Collections.Generic.ISet

Posted: Wed Aug 05, 2015 10:16 am
by hasell
I am converting a Silverlight application to use C#/XAML for HTML5. The original solution contains the project and 4 Class Library projects. One of the class library projects is not compiling on a HashSet with the error:

The type 'System.Collections.Generic.ISet`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Where do I find this reference? When I add System.dll, it tells me to remove it.

Re: System.Collections.Generic.ISet

Posted: Thu Aug 06, 2015 1:23 am
by JS-Support @Userware
Hi hasell,

Thanks for your message and welcome to the forums.

The current beta has issues with the HashSet<T> class. We are working on it and hope to have it fixed in the next beta or the one immediately after. In the meantime, would it be possible for you to use Dictionary<T,T> as a temporary workaround?

Thanks again,
Regards,
JS-Support

Re: System.Collections.Generic.ISet

Posted: Thu Aug 06, 2015 8:16 am
by hasell
Dictionary did not work, but I was able to work around it. Thanks anyway.