project failed to run when Visual Studio 2015 publish project to bin\Release\PublishedOutput (with fix 09e1cd3) #1403

Closed
opened 2025-08-09 17:20:01 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @nklt on 9/1/2016

All sample applications as well as SPA template failed to compile and run, once Visual Studio builds and publish the application to bin\Release\PublishedOutput location within the project space.

This cause the Visual Studio .net core compile, and as well as dotnet tools, to give an erroneous error on typescript file.

Error TS2664 Invalid module name in augmentation, module '../../Observable' cannot be found. TypeScript Virtual Projects C:\workspace6\Angular2Spa\node_modules\rxjs\add\observable\combineLatest.d.ts 2

This error is seen on every typescript file in the project.

It appear the TSC cannot comletely ignore the bin folder for some reason.
This bug occur, even after included the fix on tsdconfig.json to add bin as the filtered folder.

09e1cd3b07

The Angular2SPA project is tested on this release.

03dcae2407

*Originally created by @nklt on 9/1/2016* All sample applications as well as SPA template failed to compile and run, once Visual Studio builds and publish the application to bin\Release\PublishedOutput location within the project space. This cause the Visual Studio .net core compile, and as well as dotnet tools, to give an erroneous error on typescript file. Error TS2664 Invalid module name in augmentation, module '../../Observable' cannot be found. TypeScript Virtual Projects C:\workspace6\Angular2Spa\node_modules\rxjs\add\observable\combineLatest.d.ts 2 This error is seen on every typescript file in the project. It appear the TSC cannot comletely ignore the bin folder for some reason. This bug occur, even after included the fix on tsdconfig.json to add bin as the filtered folder. https://github.com/aspnet/JavaScriptServices/commit/09e1cd3b077aa505be73fdcd2f87658510e8cc34 The Angular2SPA project is tested on this release. https://github.com/aspnet/JavaScriptServices/commit/03dcae24071968349b0eeeb8e03018cf562075f4
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1403
No description provided.