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
|
Running VS2010 Ultimate. Downloaded Web Workbench, closed VS, installed extension, opened VS back up, and the templates don't appear anywhere when I try to add a new file. Possible reasons for this? What can I do to get the templates? |
|
|
I noticed Web Workbench installed in "C:\Users\USERNAMEHERE\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Mindscape\Mindscape Web Workbench\1.0.194.18072\". Is there another place I should copy this folder to? |
|
|
They should appear in the Web tab of the Add Item dialog, near the bottom. The only possible reason we're aware of is that you're using a Web Site instead of a Web Application project. You shouldn't need to copy the install folder anywhere. The templates are included in the install folder, under the .../ItemTemplates directory. A workaround is to use the Text File template, but manually enter the .scss, .less or .coffee extension. We trigger highlighting and compilation on file extension rather than on template so this should still give you all the features (in Web Application projects; in Web Site projects you won't get compilation, just highlighting etc.). |
|
|
I've got the same configuration (Visual Studio Ultimate on Win7 x64) and I don't see the templates showing up when adding a new item for a Web Site but do see them for Web Application. Shouldn't I see them for both?
Thanks |
|
|
No, they don't appear for Web Site (this is on our list of things to investigate). However you can still get syntax highlighting and so on by using the Text File template and manually overwriting the file extension with .scss, .less or .coffee. Note that you won't get compilation because Web Site projects don't support file generators, but you can compile the files manually or use one of the server-side or client-side handlers (e.g. dotLess). |
|
|
Have the same problem - no templates showed up. I've manually added *.coffee file to the project and it does not compile, besides the highlighting is buggy - for some reason the first char out of every coffeescript reserved word remains of the default color (black).
Dmitry |
|
|
Thanks, we'll look into the 'first character' problem. If you have a small file that demonstrates the problem then that would definitely help -- thanks! The reason for only compiling in C# or VB projects is that we are using the Visual Studio 'custom tool' (aka single file generator) infrastructure to keep the generated files in sync. This has to be installed on a per-language basis, and as far as I know C++ doesn't support custom tools. Let me know if I'm wrong and we'll add a C++ binding. |
|
|
I second that problem - Win 7 x64, VS 2010 SP1. The project is Web Application Project and no item template showing up. When using and renaming .css file it works, though. |
|
|
I'm running on Windows 7 32 bit, VS 2010 Professional. My project is an ASP.Net Web Application and none of the new tempates show up anywhere. |
|
|
[quote user="bulmerg"]
I'm running on Windows 7 32 bit, VS 2010 Professional. My project is an ASP.Net Web Application and none of the new tempates show up anywhere.
[/quote]
Ok, I just re-read one of the previous posts which stated to use Add/New Item after right clicking the project in solution explorer. I now see all of the new templates exactly where they should be.
Thanks! |
|