VS 2022 - Only JSON files are copied to the bin folder after Solution build
Issue Description
Is there a reason why the project build don't include the other files generated by Angular CLI's ng build?
it only includes JSON files but the other files e.g. JS files are not included on the BIN folder
Refer to related link below:
https://stackoverflow.com/questions/73717625/asp-net-razor-pages-angular-dist-files-not-copying-to-bin-folder?noredirect=1#comment130193108_73717625
https://stackoverflow.com/questions/73699810/asp-net-razor-pages-dist-folder-getting-removed-during-build
Steps to Reproduce
Steps:
- Open project in VS 2022 preview
- execute Solution build so that the csproj that contains NPM commands will generate the Angular 14 build files
- Wait for build to finish
- Check bin folder
I tried this sample below and changed the
Expected Behavior
Angular 14 build files to be included on ASP.NET Razor Pages build files
Actual Behavior
Angular 14 build files not included on ASP.NET Razor Pages build files and only sees JSON files on the BIN folder
Analysis
I don't know where the fault is. its beyond my knowledge