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
|
Hey Guys, Can I please clarify how partials are saved/compiled into their referenced style sheet? Take the following example:
In one project, I make a change to the partial "widgets" file, and notice that the frontend.scss file updates with my changes. Also any "@debugs" and errors in the _widgets file appear in the output info upon saving. However, on another project, nothing happens when I change/save the partial _widgets, its only when I save the frontend.scss file that I get errors, in this case outputted in the ::before content of the In the latter I accentually clicked "setup compass project" and that's why the behaivour is different methinks. Is there a way this can be undone? Hope that makes sense... Thanks in advance, Matty |
|
|
Hi Matty, The difference will be in the compiler being used. In your first project you are using the Sass compiler where as its quite likely in the second project you are using the Compass compiler. To revert the second project open up your project file and look for the following node and then remove it:
If you are using a website project then this will be in the WebWorkbench.mswwsettings file.
|
|
|
Hi Jeremy, I have done a search of the solution and project and was unable to find the text "IsCompassProject", or a the .mswwsettings file. How would I bring up the project file, not sure if it is the .sln file or something else. Thanks again. MC |
|
|
You will need to open the .csproj file or .vbproj file with a text editor (e.g. Notepad) - its an XML file and the IsCompassProject will be one of the nodes in that document :)
|
|
|
Legend! It is so much better having access to that WebWorkbench output window! cheers, MC |
|
|
Hi team, I've accidentally clicked "Setup Compass Project" and now I don't get my errors in the Web Workbench output of Visual Studio. I have ensured there is no "IsCompassProject" in my .csproj file, and removed all of the new folders it created. I also deleted all files from: %localappdata%\Mindscape Please help me undo this silly mistake... VS 2010SP1, Web Workbench Pro 3.2.528.21592 Thank you in advance, Stephen |
|
|
If that node does not exist then the project shouldn't be being treated as a Compass project - you can check this by right clicking on the project node in Visual Studio and checking if you have the Setup Compass Project option. If you don't have this option then can you send us though a copy of the project file and I can take a look. It's also worth noting that enabling Compass will only affect files which are in the Compass managed folders - e.g. /sass by default so if you don't have your .sass files in that folder anyway then it's likely something else is going on.
|
|