project failed to run when Visual Studio 2015 publish project to bin\Release\PublishedOutput #1417

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

Originally created by @nklt on 8/26/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.

Duplicate identifier 'export='.

This error appeared in all typescript source file, such the require.d.ts and tsd.d.ts in Angular2SPA template.

Once the PublishedOutput is removed, the error disappear.

*Originally created by @nklt on 8/26/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. Duplicate identifier 'export='. This error appeared in all typescript source file, such the require.d.ts and tsd.d.ts in Angular2SPA template. Once the PublishedOutput is removed, the error disappear.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1417
No description provided.