Kovan wrote:
could we know exactly what is needed for creating a template for vs2008 that will have 2.0 as the default platform vs 3.5.
I have never created/edited a llblgen template so i dont even know where to start.
reference: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=12103
Please and thank you
WHy do you post such a question in this announcement thread?
Please open a new thread in 'Templates' next time. Thanks. This forum isn't monitored for support calls.
As this thread will likely cause some posts to follow up, please open a new thread in the Templates forum. After that, please download the SDK and check the documentation about templates, TDL etc.
In your new thread, please provide what you're using: selfservicing or adapter, which database and which language (C# or VB.NET)
In a nuttshell: you've to make a copy of the template(s) used for your projects. So if you're using selfservicing for sqlserver, then you have to make a copy of Templates\SqlServerSpecific\C#\vsnet2008ProjectFile.template to for example Templates\SqlServerSpecific\C#\vsnet2008ProjectFile_NET20.template
Then you edit that copy (it's a template for an xml file) and change the platform specification into .net 2.0. You should also remove any references to the Linq provider assembly from the template, as you're targeting .NET 2.0
Then you create a new templatebindings file which binds the vsnet2008ProjectFile_NET20.template file to the templateID used in the task used to generate the vs.net project. This is shown in the generator specification dialog, tab 3, and it's also described in the SDK docs. For selfservicing, the templateID is SD_VsNet2005Template.
Then you open llblgen pro, load the project and press F7. Set platform at .NET 2.0. At tab 2, you should see your templatebindings file. Move it above the standard template bindings so it overrules the templateIDs specified there. Then generate code. First try in an empty folder to see if everything goes as planned.
Please do not reply to this post here. Do that in your new thread. Thanks