views:

176

answers:

1

I am using

Visual Studio + Subsonic 3 + Multiple Projects + T4 Templates + "transform all templates" and I have two projects each with their own DB and associated activerecord.tt files etc.

Then I right click each tt file in select run custom tool - all is OK

BUT when I click on "transform all templates" all hell breaks lose with weird errors about the tt templates

Has anyone used subsonic 3 with multiple projects with different databases ?

Thanks Mike

A: 

I have solved this .... Solution Structure multiple projects with at least 2 separate Subsonic Data Access Layers for two different DBs

both the Subsonic had App.Configs with connection strings - with different names

i solved the problem by duplicating the connection strings in both App.config files

so each one contained connection string to both DBS

Now "transform all templates" works fine

Mike

Mike