Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Stop Generation of app.config?
 

Pages: 1
LLBLGen Pro Runtime Framework
Stop Generation of app.config?
Page:1/1 

  Print all messages in this thread  
Poster Message
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# Posted on: 10-May-2005 00:08:53.  
I manually delete app.config from the generated SelfServicing project because we specify our connection string in machine.config. Every time the code is generated, app.config is back and I have to delete it again.

Is there any way to prevent LLBLGen from generating the app.config file?
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37804 posts
# Posted on: 10-May-2005 09:48:08.  
Yes, you can do it two ways:
1) make a copy of the generator config file you're using and in there, change the first Description tag words, so you can recognize it in the generator configuration screen. Then, remove the task which generates the app.config file. Then use this generator config when generating code.

OR
2) make a copy of the template set config file you're using, change the name tag's contents so you can recognize it in the generator configuration screen and remove the template binding for the appconfig template. Then use this template set when generating code.

1) is recommended. 2) will work as well, but will give an error in the generator log, though generation will work fine (i.e. won't be stopped by the error).


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.