Project platform problem

Posts   
 
    
Posts: 19
Joined: 27-Mar-2011
# Posted on: 26-Apr-2011 14:39:00   

I'm using LLBLGen 3.1 and VS2010.

LLBLGen create projects for 'Any CPU' platform, but VS2010 creates project for 'Active (x86)' platform. Problem is, I can't change project platform (there is only one entry in dropbox) rage

When I did test on Web project (which is any CPU by default) everything was fine, but when I test console or Windows Forms app build fails.

Can I set LLBLGen to create x86 project, or there is some more elegant solution?

Thanks in advance.

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 26-Apr-2011 21:16:28   

This is not something I've noticed in VS2010 before, which version are you using ? (Is it one of the express editions ?)

There is nothing built into LLBLGen to allow you to change the build target, but everything that LLBLGen generates is driven from a template, including the project files. It should be fairly simple to modify one of these to generate x86 rather than AnyCPU.

Matt

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39908
Joined: 17-Aug-2003
# Posted on: 27-Apr-2011 11:17:13   

Indeed, vs.net 2010 should allow you to select anycpu, it's not something we do, the vs.net project files are standard formatted.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 19
Joined: 27-Mar-2011
# Posted on: 02-May-2011 11:33:29   

Yes, I know it' VS problem. I will try to play with generator templates to get x86 target. I have same issue with VS2008 on this machine. I think that something is wrong with this machine (Windows 7 32bit). I know that I could do that on ex company machine.

Update: I found the solution. In project properties Target framework is '.NET Framework 4 Client Profile' by default. When you change it to '.NET Framework 4' everything works as expected.