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 not sure exactly when this broke as it's been a while since I've needed to change any of our SCSS files, but I happened to need to make a change yesterday and ran into this issue. When I double-click the SCSS file to open it, VS immediately throws an exception: After clicking "OK", every time I try to open an SCSS thereafter I get a different message: I've checked the ActivityLog.xml for any errors and there aren't any. I've also started VS with /Log enabled and even in this verbose mode there don't seem to be any errors logged. I've uninstalled/reinstalled Web Workbench, uninstalled it then cleared its VS/Extensions directory to ensure a clean install then reinstalled it, disabled or uninstalled all of my other extensions and still can't seem to get past the exception. I also did a repair on Visual Studio itself to no avail as well as a /ResetSettings for VS, but all that did was then cause this message to show up now instead of the first exception: I'm not sure if this is VS being stupid or a WWB issue (I'm on the current NuGet version). Is there anything else I can try to resolve this? |
|
|
All of those errors are coming from Visual Studio related calls but its a bit unclear why - can you confirm what version of Web Workbench you have installed and also can you let us know what type of project you are working with and how it is hosted? (e.g. running under IIS Express, hosted on remote web server, local filesystem based). Lastly does this occur on all projects or just a specific one?
|
|
|
Web Workbench is 3.2.1035.22937 and the project is a web forms application configured to use IIS Express and .NET 4.0. None of our other projects currently use SCSS files, but when I try to add one to see if it's just one project or all projects I get pretty much the same error in the WebWorkbench Output window: Web Workbench could not add this file: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) Despite this error in the output window, the SCSS file is created on the filesystem and does still appear in the solution explorer but when opening it the exception in my original message pops up just like in the other project. |
|
|
So, it seems to be back to working now after VS started throwing exceptions opening web.config/app.config, XML, and a bunch of other file formats which I assume use a specific editor extension to provide syntax highlighting, etc. In searching for solutions to that, it seems to have fixed this as well. The solution was pretty simple:
Doing that for every solution/project that had the issue has fixed the editor functionality for all of the various file types that were throwing these exceptions when trying to open, including opening SCSS via WebWorkbench. TLDR: VS did something bad and is now in timeout. :) |
|