System.Collections.Generic.ISet

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
hasell
Posts: 3
Joined: Wed Aug 05, 2015 10:09 am

System.Collections.Generic.ISet

Postby hasell » Wed Aug 05, 2015 10:16 am

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.

JS-Support @Userware
Site Admin
Posts: 1050
Joined: Tue Apr 08, 2014 3:42 pm

Re: System.Collections.Generic.ISet

Postby JS-Support @Userware » Thu Aug 06, 2015 1:23 am

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

hasell
Posts: 3
Joined: Wed Aug 05, 2015 10:09 am

Re: System.Collections.Generic.ISet

Postby hasell » Thu Aug 06, 2015 8:16 am

Dictionary did not work, but I was able to work around it. Thanks anyway.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests