generated csproj file (using custom project template ?)

Posts   
 
    
wonderliza
User
Posts: 3
Joined: 22-Aug-2007
# Posted on: 22-Aug-2007 12:21:31   

Hi I have a question about the generated csproj (we are using 2.0 version). In my company, we created custom VS Project Templates (to add custom MS build target into the csproj file). My question is : each time we generate the DAL csproj with LLBLGen Pro, it generates a typical "blank" csproj. Is there a way to use a custom project template ? The other solution i see, is to modify with some XSLT the generated csproj to apply our changes into it, but it's not a very clean solution... Thanks for your help,

Elise

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 23-Aug-2007 16:05:15   

It should update an existing csproj file. Nevertheless, the project file is produced from a template. What are you using: selfservicing or adapter and which database + driver type (e.g. oracle + odp.net) so I can point you to the exact location of the templates.

Frans Bouma | Lead developer LLBLGen Pro
wonderliza
User
Posts: 3
Joined: 22-Aug-2007
# Posted on: 23-Aug-2007 16:10:24   

Otis wrote:

It should update an existing csproj file. Nevertheless, the project file is produced from a template. What are you using: selfservicing or adapter and which database + driver type (e.g. oracle + odp.net) so I can point you to the exact location of the templates.

we are using Adapter and SQLServer 2005 (Net 2.0)

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 23-Aug-2007 16:19:50   

wonderliza wrote:

Otis wrote:

It should update an existing csproj file. Nevertheless, the project file is produced from a template. What are you using: selfservicing or adapter and which database + driver type (e.g. oracle + odp.net) so I can point you to the exact location of the templates.

we are using Adapter and SQLServer 2005 (Net 2.0)

The csproj template for the dbgeneric project is in: Templates\SharedTemplates\Net2.x\C# --> template: vsnet2005ProjectFileAdapter.template

teh csproj template for the dbspecific project is in: Templates\SqlServerSpecific\Net2.x\C# --> template: vsnet2005DBSpecificProjectFileAdapter.template

please make copies of these files, a small templatebindings file where you bind SD_VsNet2005DBSpecificAdapterTemplate to the copy of vsnet2005DBSpecificProjectFileAdapter.template and SD_VsNet2005Adapter.Template to the copy of vsnet2005ProjectFileAdapter.template and place that templatebindings file at tab two of the generator config dialog above all other template bindings. See the SDK docs for details about this.

Frans Bouma | Lead developer LLBLGen Pro
wonderliza
User
Posts: 3
Joined: 22-Aug-2007
# Posted on: 23-Aug-2007 16:23:04   

thanks for your help