In my cross platform forms application, although I have the MIcrosoft System.Threading Nuget loaded and have "using System.Threading" in my code, Thread is not visible. Is the Nuget not complete?
I am not sure it is suppose to be there. From the nuget package descriptionhttps://www.nuget.org/packages/System.Threading/
Provides the fundamental synchronization primitives, including System.Threading.Monitor and System.Threading.Mutex, that are required when writing asynchronous code.
Thanks for responding Ken. It is part of the .NET library so I anticipated it being part of the nuget. I am migrating code that was written originally for the WinPhone, utilized the class and found what you show is a difference.
You shouldn't need any additional reference to use System.Threading.Thread. It's part of mscorlib.
Thanks Dave. That may be, however, even though mscorlib is referenced, the class is not visible nor can be referenced. Why, I am not sure.
@DaveHunt Thanks. My mistake... but the problem still exists...
I am also having same problem. Xamarin's API guide also shows that System.Threading.Thread is available. But not. Why?
I noticed it's not available on forms side but it is on X.iOS.
I do not believe it is available in a PCL.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies