This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I've just downloaded Visual Studio 2012 and Web Workbench. Compilation of .coffee works fine, but if the compiled js already exists, compiling crashes Visual Studio 2012. I'm compelled to delete .js file each time I want to compile... |
|
|
Is the file marked as readonly? If so and you have the pro version could you try updating to the latest nightly build - we added a fix recently for an issue where files marked as read-only on disk which were not being managed with VS integrated source control could cause a crash.
|
|
|
The file is not read-only... I don't have pro version, I'd like to test Web Workbench before buying a licence... And well, I'm not really satisfied so far... :/ By the way, .coffee is correctly compiling and saved as .js, crash occurs after compiling... edit: I get the following message: InternalErrorException was unhandled Unable to add project item "js\data.js": ADDRESULT_Cancel |
|
|
Thanks for the extra detail - unfortunately we have never seen this type of issue before. That error is coming from Visual Studio when we make a call to add the file into the Visual Studio project but that according to Microsofts documentation that error code indicates that "the user cancelled the Add request" which does not sound right. Do you also get the same error if you create a Scss file and save it? Can you also elaborate a little on your setup? Is it a Website project/Web application project and do you have any other extensions installed?
|
|
|
Thanks for your quick reply! SCSS compilation makes me crash too. It is a fresh install of Visual Studio 2012 with no other plugin. It's not a website project but a Windows 8 Application based on Javascript. |
|
|
Thanks - I can reproduce this under a Windows 8 Application where it appears to throw this exception despite having actually added the file - seems very odd. Ive added a fix for this and this will be available in the next nightly build.
|
|