VS.NET 2008 templates / debugger visualizers added

Posts   
 
    
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39771
Joined: 17-Aug-2003
# Posted on: 10-Dec-2007 13:36:55   

We just uploaded a new build of v2.5. We decided it was better if we included vs.net 2008 specific project templates to v2.5 and a 2008 specific debugger visualizer dll as v2.6 can still take a few months.

Please realize that this addition is just to be able to generate vs.net 2008 native projects and to be able to use debugger visualizers in vs.net 2008. The 2008 specific dll is in RuntimeLibraries\DotNET20\debugvisualizers\vs.net 2008 folder.

Please let us know if you run into problems with these additions.

Just for clarification: Linq support will be added to v2.6, so the .NET 3.5 support we have added now is pure for vs.net. The rest already works fine on .NET 3.5 (which is just .NET 2.0 with additional assemblies).

Frans Bouma | Lead developer LLBLGen Pro
Danielg
User
Posts: 2
Joined: 12-Dec-2007
# Posted on: 12-Dec-2007 00:26:05   

Do you know if the current trial build includes the updated templates. I just download the trial and I am trying to figure out how to generate native vs 2008 projects. In the program info it states the release date as Dec 5th.

Thank, you

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39771
Joined: 17-Aug-2003
# Posted on: 12-Dec-2007 09:33:11   

Yes it does. You should select .NET 3.5 as your target platform. It then should be able to generate vs.net2008 project files.

Frans Bouma | Lead developer LLBLGen Pro
Danielg
User
Posts: 2
Joined: 12-Dec-2007
# Posted on: 12-Dec-2007 18:26:24   

Great, now that I know that it works fine for me.

Seth avatar
Seth
User
Posts: 204
Joined: 25-Mar-2006
# Posted on: 15-Dec-2007 05:21:20   

Is there a way to target the vs 2008 project file as well as targeting the 2.0 version of the framework?

-Seth

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39771
Joined: 17-Aug-2003
# Posted on: 15-Dec-2007 09:49:34   

You then have to alter the vs.net 2008 templates. It's 1 line you should alter, it's text, so it's easy.

Frans Bouma | Lead developer LLBLGen Pro
Kovan
User
Posts: 19
Joined: 26-Sep-2005
# Posted on: 11-Aug-2008 16:14:31   

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

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39771
Joined: 17-Aug-2003
# Posted on: 11-Aug-2008 18:23:05   

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

Frans Bouma | Lead developer LLBLGen Pro