TypeScript Version:
1.8.31.0
Visual Studio Version:
VS 2015 Enterprise
14.0.25.123.00 Update 2
Description:
The scenario is as follows: A simple Visual Studio web project with a tsconfig.json file and two TypeScript source files: foo.ts and fooBar.ts. tsconfig.json is configured to compile all .ts artifacts into a single app.js file (using compilerOptions.outFile). When trying to publish the project, the following error is reported: "Copying file foo.js to obj\Release\Package\PackageTmp\foo.js failed. Could not find file 'foo.js'."
I guess the publish process looks for a matching .js file for each .ts file and is not able to follow the tsconfig.json settings.
Full Repro available: https://github.com/olohmann/VisualStudioTypeScriptPublishIssue
Expected behavior:
Publish works as expected.
Actual behavior:
Publish fails.
TypeScript Version:
1.8.31.0
Visual Studio Version:
VS 2015 Enterprise
14.0.25.123.00 Update 2
Description:
The scenario is as follows: A simple Visual Studio web project with a
tsconfig.jsonfile and two TypeScript source files:foo.tsandfooBar.ts.tsconfig.jsonis configured to compile all.tsartifacts into a singleapp.jsfile (usingcompilerOptions.outFile). When trying to publish the project, the following error is reported: "Copying file foo.js to obj\Release\Package\PackageTmp\foo.js failed. Could not find file 'foo.js'."I guess the publish process looks for a matching
.jsfile for each.tsfile and is not able to follow thetsconfig.jsonsettings.Full Repro available: https://github.com/olohmann/VisualStudioTypeScriptPublishIssue
Expected behavior:
Publish works as expected.
Actual behavior:
Publish fails.