Base solution for your next web application
Open Closed

Not able to compile angular after version migration #10886


User avatar
0
sumitshah created
  • What is your product version- 11.0.0
  • What is your product type (Angular or MVC)-Angular
  • What is product framework type (.net framework or .net core)-.net core

Hi we are migrating our version from 8 to 13 in angular and 2.2 to 6.0 in .net core and after successfuly DB migration we are able to run successfully backend but we are not able to run angular because it is giving compile time error. the error seems for the newly added DTO and methods service proxy is not updating I am able to run nswag and it is not giving any error but it is also not updating service proxy.


4 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hi @sumitshah

    Can you please delete your service proxy file then try to run npm run nswag again.

  • User Avatar
    0
    sumitshah created

    Hi I tried same but no luck....Is there any other solution or something where we can check why it is not updating service-proxy

  • User Avatar
    0
    sumitshah created

    Hi @musa.demir I am able to compile but in service proxy it is accepting "text/html". but i want "application/json" Could you please suggest me what setting i should change to change service proxy regarding that accept : "application/json".

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @sumitshah

    I couldn't understand the final problem. Could you provide a bit more detail ?

    Thanks,