Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> TargetFrameworkVersion in the .csproj file
 

Pages: 1
LLBLGen Pro Runtime Framework
TargetFrameworkVersion in the .csproj file
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-Jan-2008 00:25:12.  
I've just upgraded to the latest LLBLGen Pro 2.5 and notice when generating a VS2008 project, the following is added to the .csproj file:

Code:
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>


However, my project is still targeting the .NET 2.0 framework.

I have manually removed this line from the .csproj file because I could not find a way to modify the LLBLGen settings or templates to omit this from the project, or to target the 2.0 framework explicitly.

Am I missing something?
  Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
8099 posts
# Posted on: 10-Jan-2008 05:48:58.  
LLBLGen put it by default. However if you will use VS2008 targeting .NetFramework 2.0 you should:

1. Open <LLBLGen Instalation Folder>\Templates\SharedTemplates\Net2.x\C#\vsnet2008ProjectFileAdapter.template in notepad or TemplateStudio.

2. Replace this line
Code:
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

with this
Code:
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>

3. Save


David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37804 posts
# Posted on: 11-Jan-2008 10:43:16.  
Or load it in vs.net, change the framework version in vs.net and save Regular Smiley
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.