Grasshopper

algorithmic modeling for Rhino

I would be glad if someone could shed some light on this (.NET 4.5.1 on W7): why there's no namespace found?

Views: 417

Attachments:

Replies to This Discussion

var d = new System.Collections.Concurrent.ConcurrentDictionary<int,int>();
for (int i = 0; i < 100000; i++) d[i] = 123;

Write it that way, pointing the compiler directly to the proper namespace. It might be that there are some conflicting namespaces.

Hmm, or it could be that the script is somehow running an older version of the .NET framework which cannot load the concurrent assembly from 4.5.1

Indeed it worked but as David said ... may there's some new-old conflict using the other way.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service