简体   繁体   中英

System.Threading not found

I have got strange problem.

In some of the sources files I have System.threading namespace visible and I can use Thread class.

But in the same project, in some classed I can not use it (no intellisence also).

Here is the using statements for the class where I have no access to this namespace:

using System;
using System.ComponentModel.Composition;

using System.Security.Permissions;
using System.Security;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using WinForms = System.Windows.Forms;
using CaliburnMicro = Caliburn.Micro;
using ICSharpCode.SharpZipLib.Zip;

Any help regarding this strange situation?

Add a

using System.Threading;

and if that doesn't work, report the exact error message(s) here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM