The Add Reference and Fix Using quick fix is available once JustCode has detected a type name that cannot be resolved and is not available in the currently referenced assemblies. JustCode underlines the type name and suggests you to automatically add reference and a using directive in the file.
Note |
|---|
Language Support Supported: C# Not Supported: VB.NET Not relevant: ASP.NET, XAML, JavaScript, HTML |
To add reference and fix using
- Position the caret over the underlined type name.
Press Alt+Enter. From the pop-up menu, select Add Reference To '<assembly name>' And Fix Usings.
The result is as follows:
Also notice the added reference
See Also