1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Issues with aspnetcore-browser-refresh.js in a non-Visual Studio created project

Discussão em 'Angular' iniciado por Tyrel Van Niekerk, Maio 15, 2025.

  1. I recently converted an old Angular application that was created in Visual Studio to a nx created Angular app. Long story, but basically I created the app using nx, then added an esproj so that the project will be available in Visual Studio and would integrate with TFS, and copied the files to the new Angular project. I did copy most of the packages in package.json as well, so that could be the issue. I could debug in Visual Studio Code until a few days ago when I started to see the error bellow:


    Could not load source 'localhost꞉2132/_framework/aspnetcore-browser-refresh.js': Source not found.
    ​

    The project is set to not build or run in VS, we run it from the terminal in VS Code with nx serve. Now, when I try to debug, it just shows that error and that's it. If you keep going, it just exits without hitting the breakpoints. I don't know if I accidently include a package that enables the integration between A VS created Angular app and VS. It worked at the end of one day, then the next day I got this error. It's a corporate laptop, so they might have updated something overnight, I don't know for sure.

    Continue reading...

Compartilhe esta Página