Base solution for your next web application
Open Closed

Angular debug from visual studio #4216


User avatar
0
kythor created

Hi, I have the ASP.NET Core & Angular framework, with separated solutions. I can start debugging the Web.Host project without problems.

But now I want to start debugging the Angular project, I get this error:

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1926	Error opening Win32 manifest file D:\src\shared\utils\chat-message.component.html -- Could not find a part of the path 'D:\src\shared\utils\chat-message.component.html'.	JOREL.OPTA.AngularUI	D:\Dev\OPTA3\angular\CSC	1	Active

any help would be appreciated.


1 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi @Kythor,

    You cannot run/debug angular project from VS. Angular project is running with using Angular-CLI. For debugging check following links.

    <a class="postlink" href="https://stackoverflow.com/questions/18782069/how-to-debug-angular-javascript-code">https://stackoverflow.com/questions/187 ... cript-code</a> <a class="postlink" href="https://www.pluralsight.com/guides/front-end-javascript/debugging-angular-2-applications">https://www.pluralsight.com/guides/fron ... plications</a>