I remember the good ol’ days (2006) when FlatRedBall was just FlatRedBall MDX, and creating a template was easy. It was a simple wizard in Visual Studio which created a ZIP file and that was that. It was easy for us to do our monthly releases then. But boy have things changed since then!
First we saw XNA, which was awesome, but completely broke the template exporting in Visual Studio. The reason is because XNA had this weird embedded content project that Visual Studio’s template exporter didn’t really understand. To “make up” for it, Microsoft posted information on how to modify an exported template to support the Content project. Well, that worked for us, even though it was a pain to update.
Then came Silverlight and FSB. Again, awesome that MS expanded the available platforms for C# and ultimately FRB, but things got even trickier. FSB requires two projects – a web and a regular project. We did figure out how to create a template for FSB, keeping things consistent across all versions of FRB, but again, it was a pain. But the bad thing is that there were some things we just couldn’t figure out:
- How to have the name of the solution propagate down to the names of the individual solutions.
- How to have the name of the solution become the namespace of the project.
- How to have the .Web project reference the regular project in the Silverlight Applications properties tab.
We worked around the first two by doing what MS did for VS’s template shortcomings – we created a tutorial explaining how to change namespaces and project names. But let us say openly that we’re NOT happy about this solution. It sucks.
The third problem listed above is preventing some users from running FSB altogether – unless they make some changes to properties in their projects which are rather hidden. Well, we could just write another tutorial and direct people to that in the regular tutorial flow, but really how many extra steps will we tolerate before it’s too much? Or more importantly, how many more steps will our users tolerate?
This isn’t a question we’re wanting to find the answer to. Instead, we’re going to simply things again. We’ve decided to completely eliminate the Visual Studio templates from our releases. What does this mean for you as a FRB user?
The downside is you’ll no longer have access to templates through Visual Studio. If you want to create a new FRB project, you’ll have to do it outside of Visual Studio. Instead, we’ll be creating a simple application that you can start though the Start Menu under the FlatRedBall folder which will be a New Project tool. Once you launch it you will be able to select which type of project you’d like to create, give it a name, then press OK. All projects will work out-of-the-box with no modifications necessary.
This also gives us a lot of extra flexibility in project creation. Ideas that we’d like to implement in our new project creator is:
- Have the creator pull from the server so you are always using the latest version of FRB.
- Have the creator allow you to create multiple projects simultaneously (like FRB, FRB 360, and FSB)
- Have the creator integrate with Glue so you will be able to create new projects from Glue and have them automatically open in Glue once you’ve created them.
So, the good news is that we think this will improve the overall user experience even more. The downside is that this all requires work on our (the FRB developers) part, so please be patient with us as we’re working to get you the new April release as soon as possible!
–Vic–
Tags: