简体   繁体   中英

Visual Studio 2015 — autoresolve missing assemblies and usings

I just install Visual Studio 2015 Enterprise Edition. I start writing code in C# as for example

MessageDialog msgBox = new MessageDialog("Message Goes Here");

and if in using part of code, If I have not written Windows.UI.Popups it will show me error. So in Visual Studio 2013 I use to right click and resolve Assembly so it will add code in using automatically.

But in VS 2015 I could not found that, But on the same time if I put cursor on the error and press Ctrl + . it will intellisense assembly add code into using part.

What setting I am missing in Visual Studio 2015?

VS on its own is not able to resolve missing assemblies.
Here, you're probably missing System.Windows.Forms assembly.

VS can only resolve missing using s.

As told in comments, ReSharper is able to also resolve assemblies.

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