1
Vote

Cant find settings or templates

description

Hi,

I downloaded the settings and templates files from Codeplex when asked where the location of my files are and set the location of the folder.

When I then do an Add > Squirt, provide the single noun name and click OK, I have no templates available to create. I can select the SQL connection, and it remembers it.

Any help would be great.

Thanks

comments

MikeYeager wrote Feb 24, 2015 at 3:51 PM

Hi. Sorry for the delayed response, I didn't get a notification and just noticed your question. The first time you run Squirt on a solution, it will realize that there is no \Squirt folder in the solution folder and ask you to get the templates from somewhere. If you point the wizard to CodePlex, it will download the default set of templates which are built to compliment CODE Framework development (but can be modified by you to do whatever you like). Otherwise, you can point it to a .zip file (containing .template files) that you've previously downloaded or created yourself. The 3rd option is to point the wizard to a folder (typically a \Squirt folder in another solution) that contains unzipped .template files. No matter which option you choose, the end result is to create a \Squirt folder in the current solution and copy the .template files into it. Once the .template files exist in that folder, Squirt will use them to generate new source files based on the type of projects found in your solution. The project type is decided based on the project name. Squirt expects project names such as MyCompany.MyProduct.UI.WPF. The .WPF extension on the project name is used to identify this as a CODE Framework WPF project. I suspect that you're not using this naming scheme for your projects which is why Squirt is telling you it can't find any relevant templates. The project name extensions and which templates are related to each extension are defined in the .settings file found in the \Squirt folder. You can edit them through the Squirt UI or with a text editor. Using project name extensions was a design decision that addresses several shortcomings of using project type GUIDS to determine the project type. If you don't like this method, you can always download the source code for Squirt and modify it to make it work the way you'd like. It's built in VS2013.

Best of luck,
Mike