Revision 10 - Goodbye Resources.resx

May 14, 2007 03:06

It's going to be little difficult to start talking about revisions instead of change sets, but I'm sure we'll all learn to manage.

Just a small change here that's worth noting: As of revision 10, Resources.resx is no longer used as the code generation template source if the templateDirectory parameter is not specified in the config. Instead, the template files are now marked as embedded resources at compile time, meaning that, in default scenario, specifying a template path to /SubSonic/CodeGeneration/Templates executes the exact same set of templates that as when the path is not specified.

While the impact of should be transparent for most users, it removes a manual synchronization step that involved copying the contents of the .aspx template and pasting it into the .resx file whenever template changes were made. Yuck.

More importantly, however, it gets us closer to providing a practical mechanism for custom user templates that can be used across different revisions. Is this of interest to anyone?  If so, let me know, and I'll see what can be done to put something together sooner rather than later...


4 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

Related posts

Comments

May 14. 2007 18:55

Geri Langlois

Hey Eric,

I've never used Subversion before -- do you have a recommendation as to what might be the easiest way to download source for testing, etc.

Thanks

Geri Langlois

May 14. 2007 19:59

Justin M. Keyes

Geri, go here:
http://www.codeplex.com/actionpack

click the "Source Code" tab.

The top-most row is the latest source. Click on its floppy disk icon. Accept the agreement.

Unzip the downloaded source.

Open the solution in Visual Studio 2005, then answer "Cancel" to the several dialogues that appear--except the last dialogue. On the last dialogue, choose "Permanently remove source control bindings" (then the dialogues won't appear next time you open the project).

Justin M. Keyes

May 15. 2007 02:06

Eric Kemp

Geri,

The best place to start would be with TortoiseSVN. While AnkhSVN integrates with Visual Studio, I have found it to be a bit flaky.

There's a nice TortoiseSVN tutorial here:

www.shokhirev.com/nikolai/programs/SVN/svn.html

If you don't mind spending $50, there's a commercial application called VisualSVN, which acts as a Visual Studio integrated front-end to TortoiseSVN.

Once you've got everything set up, you can find information about connecting to the SubSonic repository here:

http://code.google.com/p/subsonicproject/source

Eric Kemp

May 15. 2007 02:24

Geri Langlois

Thanks for the very helpful information and the revision history app.

Geri Langlois

Comments are closed