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'm working on an MVC 4.0 application in Visual Studio 2010. I am using the latest release of Workbench I am totally unable to work in Scss in VS because the compiler keeps giving me the error listed below. It will sometimes go away if I clean/rebuild the project, but most of the time not. I have tried compiling my scss with ruby and it compiles just fine, so I know my syntax is correct. /* Error launching Sass compiler: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Mindscape.VisualSass.Integration.Compilation.ScssCompiler.CompileCore(String scss, String sourceFilePath, String rootPath, IEnumerable`1 additionalPaths, ICompilationSettings settings, ICompilerContext context, CompilationResult result) */ I am at my wit's end. I have no idea what file is not being found, nor how to go about determining that. Some light on the subject would be greatly appreciated. |
|
|
Can you check if you have a folder in your AppData\Local\Temp directory called Mindscape (and then there should be a WebWorkbench folder underneath that). If that exists can you let me know what the contents are? e.g. Mine is C:\Users\jeremy\AppData\Local\Temp\Mindscape\WebWorkbench
|
|
|
That's interesting, that directory doesn't exist. There is no Mindscape directory in AppData\Local\Temp on my machine, on any account. |
|
|
What's more, I only seem to get the error when I'm running the web application, with and without the debugger. I also tried reinstalling just for good measure. No luck. If I clean/rebuild, I can compile scss, but not while the site is running. |
|
|
What version of WebWorkbench do you have installed? When things are compiling can you check if that directory exists?
|
|
|
I'm running Workbench 3.2.419.21172 and that directory does not exist when I compile. |
|
|
Can you create the folder and then locate the file Ruby193.zip which will be in a folder underneath C:\Users[your username]\AppData\Local\Microsoft\VisualStudio\10.0\Extensions - doing a search for that filename is going to likely be the fastest way of finding it. Unzip Ruby193.zip into the WebWorkbench folder. You should then have a C:\Users[your username]\AppData\Local\Temp\Mindscape\WebWorkbench\Ruby193\Ruby193 folder which contains a bin and a lib folder. Once you have that set up see if that resolves the issue - this is manually working through the process which the tool is going to be trying to automate. If you run into any errors regarding file permissions or the like along the way then please let us know as that would help explain what might be stopping WW from automating this for you.
|
|
|
So I added that folder and extracted Ruby. Then I ran my application with "Start without debugging" with the Temp/Mindscape/WebWorkbench dir still open in my other monitor. When I did that, everything in that dir disappeared. There were no errors regarding file permissions that I can see. |
|
|
Well that does explain why things stop working - is your web application (or another process on the machine perhaps) doing something which might be clearing out the Temp folder? This should not be something which is getting cleared. One way of checking this would be to use ProcessMonitor to track what process is actually deleting the files.
|
|