Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to get compilation error in TypeScript? #4196


User avatar
0
manojreddy created

Do we have any way to list out all the compilation error in TypeScript as We have in C#? Like When We build a C# project in visual studio We get the errors in Error List window. because right now we need to manually go to the file and line number to check the error, there is no direct way.


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ManojReddy,

    angular-cli must show you the errors, do you want to see it in Visual Studio ?

  • User Avatar
    0
    manojreddy created

    Yes,

    I want to see in visual studio and like for C# code once you click on the error, it brings you to the page with the particular line also.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Normally Visual Studio should respect your tsconfig.json. You can check this document for more details <a class="postlink" href="https://code.visualstudio.com/docs/languages/typescript">https://code.visualstudio.com/docs/languages/typescript</a>.

    Best Regads.

  • User Avatar
    0
    manojreddy created

    I'm using visual studio not visual studio code.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ManojReddy,

    Your problem is not related to AspNet Zero I think. It is better to search on stackoverflow for such problems. It is related to Typescript and Visual Studio.