I've used SubSonic's ActiveRecord T4 templates in a couple of projects. Today I added the same templates from one of these projects (without the generated .cs source files) to a new project.
For some reason when I run the T4 template code generator, instead of generating:
ActiveRecord.cs
, Context.cs
, StoredProcedures.cs
and Structs.cs
the template generator creates:
ActiveRecord1.cs
, Context1.cs
, StoredProcedures1.cs
and Structs1.cs
instead.
I've deleted all the .cs sources files in the ActiveRecord folder and there are no other files with these names across the whole solution.
Whilst this is not a problem, because the correct classes, namespaces etc are generated, it's annoying to see the number 1
tacked on the end of the filenames.
I'm using SubSonic 3.0.0.3.
Does anyone have any idea why this is happening?