VS2017 aspx colors RRS feed

  • Question

  • User1510859543 posted

    I just installed VS2017 Community and when I open a website that was built in VS2015 the aspx files do not show colors in the html/aspx text.

    Monday, March 13, 2017 7:36 PM

All replies

  • User281315223 posted

    Without knowing more about your exact issue, such as how you are referencing your CSS files (to style the page, etc.) it's going to be very tough to troubleshoot this. I'd recommend opening up the Developer Tools (F12) within your browser and ensure those files are being loaded as expected.

    2017 should have no problems building / running an older 2015 Web Forms application, so I would suspect that it's an issue with some of the underlying files.

    Monday, March 13, 2017 7:43 PM
  • User1510859543 posted

    Apparently I was not clear. The problem is in VS2017 interface. When I open an aspx page in VS2015 it shows the aspx page with various colors to depict the html controls and properties. In VS2017 everything is black.

    Monday, March 13, 2017 7:58 PM
  • User1510859543 posted

    Turns out that VS2017 apparently did not install correctly. Re-ran the installer and appears to be fine now.

    Tuesday, March 14, 2017 1:49 PM
  • User281315223 posted

    I'm not aware of any issues that pertain to the ASPX Designer within Visual Studio 2017:

    So - the previewer appears to work fine in my case. If you are still having issues, I'd recommend ensuring that you have the appropriate workloads installed and that all of your ASPX projects have been properly converted to VS 2017 (if necessary).

    Tuesday, March 14, 2017 2:03 PM