Microsoft CS5001

C# learner 0 Reputation points
2023-05-02T14:50:21.6933333+00:00

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.
5,126 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,851 Reputation points Microsoft Vendor
    2023-05-03T06:49:48.39+00:00

    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

    Sincerely,

    Anna


    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.