Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Had to reinstall operating system and Visual Studio 2017 - now EPiServer using directives show up as being un-used

$
0
0

After reinstalling the operating system and then installing Visual Studio, I added the required NuGet packages and also the EPiServer CMS Extension.

I restarted the computer.

I then opened our EPiServer project and opened a .cs file to look at my code.

All the EPiServer related using directives, such as:

  • using EPiServer;
  • using EPiServer.Core;
  • using EPiServer.ServiceLocation;

Are showing up in grey, with a red underline. If I hover with the mouse over them, Visual Studio informs me that they are unncessary and not being used. Which is not correct.

Any code that requires them is also showing up with red underlines.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 6894

Trending Articles