none
How to create C# project with .csproj extension in Visual Studio Code? How can we create and build Webapplication with C# in Visual Studio Code?

    Question

  • I am looking for the tutorials with prerequisites to create a C# project as well as ASP.Net application using C# with .csproj extension in Visual Studio Code?

    How easy it is and what are the major points to be considered?

    Thursday, February 23, 2017 12:46 PM

All replies

  • Hi plgn,

    Welcome to the MSDN forum.

    Refer to your description, please have a look at this VS Code document: Working with C# and we can find the following information:

    The C# support in VS Code is optimized for cross-platform .NET Core development (see working with .NET Core and VS Code for another relevant article).

    VS Code supports debugging of C# applications running on either .NET Core or Mono.

    Due to this focus, many standard C# project types are not recognized by VS Code. An example of a non-supported project type is an ASP.NET MVC Application (though ASP.NET Core is supported). In these cases, if you simply want to have a lightweight tool to edit a file - VS Code has you covered. If you want the best possible experience for those projects and development on Windows in general, we recommend you use Visual Studio Community.

    >> create a C# project as well as ASP.Net application using C# with .csproj extension in Visual Studio Code

    Per the above information, it looks like this idea is impossible, sorry for this inconvenience.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 24, 2017 6:32 AM
    Moderator