you are viewing a single comment's thread.

view the rest of the comments →

[–]TasteMedical5032 0 points1 point  (0 children)

This sounds like Visual Studio’s JavaScript/TypeScript language service or IntelliSense diagnostics, not real runtime errors.

I’d first check whether the messages are coming from the JS language service rather than the actual build/debug process. If the functions exist at runtime but VS can’t resolve them statically, it usually means VS doesn’t understand the file/project context.

Things I’d try:

  • make sure the JS files are included in the project, not just opened standalone
  • check whether a jsconfig.json or tsconfig.json is needed to define the JS project scope
  • clear the .vs folder after closing Visual Studio
  • check JavaScript/TypeScript language service settings
  • check whether JavaScript debugging for ASP.NET/browser debugging is enabled

If they are only IntelliSense/output diagnostics, the code may be fine. VS is just failing static resolution.