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
|
Hello I am not sure how to reproduce it, seems like a random error. Problem is, that sometimes Workbench decides to generate js file with "1" suffix, so for "MyFile.coffee" i get "MyFile1.js" instead of "MyFile.js". It's doing it even when I remove both generated "js" files. Excluding files from project doesn't work either. Only workaround is to exclude files, move "coffee" somewhere else in filesystem, refresh VS, return coffee, include in project and than it's generated correctly. It's getting pretty tiresome sometimes especially when you don't know it happened and website is using old version of JS and you are not seeing desired changes. Guess it's some collision in writing to file, but it's probably somehow cached and not verified again until file is completely removed from the sight of VS. It should at least throw some error, and not continue silently like nothing happened. Thanks for information |
|
|
See http://www.mindscapehq.com/forums/Thread.aspx?PostID=16300 for information and the fix. |
|
|
Ok thanks, very unfortunate it cannot be fixed, but i guess i can live with it. Maybe if you can put there some logging information ? Isn't there some exception thrown without proper handling it ? |
|
|
Sadly not. With the Visual Studio infrastructure we're hooking into, VS just asks us for the text to put in the file. It doesn't tell us the name of the file it plans to put it in, and no, there is no exception. A possible workaround would be to build a Visual Studio macro that monitors for files being added and removed, and raise a notification if it sees a mismatched pair of .coffee/.js files. |
|