I have a solution that contains 2 projects (not 2 folders in a project):
What I want: the output folder should be distributed in the CrmPackage project as following
What I have tried: setting the "outDir" = "../CrmPackage/JS"
in tsconfig.json, but it creates the folder CrmPackage/JS
directly in the Core project.
I solved the problem as following:
Solution 1:
"outDir": "JS"
xcopy "$(ProjectDir)JS\*.*" "$(SolutionDir)CrmPackage\WebResources" /Y /I /E
Solution 2: