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?
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.
Posts
I am not sure it is suppose to be there. From the nuget package description
https://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.
@alaskanrogue System.Threading.Tread?
@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?
https://developer.xamarin.com/api/property/System.Threading.Thread.CurrentUICulture/
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.