TypeStrong / grunt-ts

A grunt task to manage your complete typescript development to production workflow
https://www.npmjs.com/package/grunt-ts
MIT License
330 stars 121 forks source link

Compile Visual Studio Project file on other OS than Windows #345

Closed manfield closed 8 years ago

manfield commented 8 years ago

TypeScript paths, specified in VS prj file include the Windows' standard path separator "\". That produce errors on other OS when trying to compile a VS prj file on other OS (like OSX), Is there any workaround for that? Will it be considered as an issue to be solved in order to increase tool's portability? Thanks

nycdotnet commented 8 years ago

Good call. This should be fixed in the csproj2ts library. PRs accepted and I'm actually surprised this hadn't been raised yet.

manfield commented 8 years ago

As far as I know a slash is always compatible, even on Windows OS. We may avoid any OS check and substitute file separators.

nycdotnet commented 8 years ago

This should be available in v5.4.0 - just deployed to npm. Please let me know if you experience further issues. Thanks for the PR!!!

manfield commented 8 years ago

Awesome, thank you for your support.