Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VS2012 Async Changes?

$
0
0

 Hi all,

Currently we are porting our project from VS2010 to VS2012, and faceing a issue with asynchronous issues.

Normally we are using a task queue thread to handling some tasks. The tasks will call some Visual Studio APIs. In VS2010, they work well. After porting to VS2012, they are getting into problems. Some APIs work with main threads but not with working thread. The APIs we notified are in IVsSolutionbuildManager (FindActiveProjectCfg  and StartUpdateSpecificProjectConfigurations )and HierarchyNode operations (delete).

So far, The solution is to use Microsoft.VisualStudio.Shell.ThreadHelper to call the method on the main thread.

Could you let me know what is exactly problem behind and whether the solution we are using is recommended?

Also, if it is the correct behavior change, could let us know how many APIs will be included.

Thanks in advance.

Yi


MSC on Computer Science (Parallel algorithm)


Viewing all articles
Browse latest Browse all 4410

Trending Articles