Microsoft CS5001

C# learner 0 Reputation points

Can Visual Studio run just an HTML in debug mode without an assiting .css, .js, .cs, etc. Why can't a simple HTML compile, bebug and run by itself?

Steve Frazier

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,084 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 20,176 Reputation points Microsoft Vendor

    Hi @C# learner, 

    Welcome to Microsoft Q&A!

    You can right-click on project node in the Solution Explorer > Properties > change the Output type to Class Library



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments