You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a javascript windows app and add a typescript file in a sub-folder. Modify the .jsproj and import the msbuild typescript targets.
Trigger remote debugging build in VS2015.
Result
2>Copying file "C:\Users\someuser\vsproject\projname\src\default.js" to layout "src/default.js"...
2>Error : DEP2100 : Cannot copy the file "C:\Users\someuser\vsproject\projname\src\default.js" to the target machine "192.168.2.4".
2>Error : DEP2100 : Cannot copy the file "C:\Users\someuser\vsproject\projname\src\default.js" to the target machine "192.168.2.4".
2>The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
2>Deployment of the application to the target device failed.
Issue seems to be that the layout has path with forward slash which are not valid network paths in Windows. The path comes from Content Include defined in the typescript targets.
Patch PreComputeCompileTypeScript target in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets to replace forward slash with backslash
VS Typescript Extension version: 1.7.6
Steps to reproduce
Create a javascript windows app and add a typescript file in a sub-folder. Modify the .jsproj and import the msbuild typescript targets.
Trigger remote debugging build in VS2015.
Result
Issue seems to be that the layout has path with forward slash which are not valid network paths in Windows. The path comes from Content Include defined in the typescript targets.
MSBuild log for typescript target
Workaround
Patch
PreComputeCompileTypeScript
target inC:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets
to replace forward slash with backslashThe text was updated successfully, but these errors were encountered: