project could not be loaded

Posts   
 
    
Posts: 1251
Joined: 10-Mar-2006
# Posted on: 14-Sep-2012 05:47:24   

Each time I start LLBLGen designer (3.5 August 8th) it gives me the above error. Screen shot attached.

I click ok and then open a project from 'recent projects'. The projects moved around on disk, so that is probably where it is looking for something in an old place - but I do not know how to get it to stop.

BTW, if I click away when it starts - the error window goes behind the splash screen and you have to end task it. disappointed

Attachments
Filename File size Added on Approval
Capture.PNG 148,009 14-Sep-2012 05:48.00 Approved
daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 14-Sep-2012 07:35:51   

I had never heard of that error before disappointed . I suppose you don't have steps to reproduce it, Do you?

Does Uninstalling/Reinstalling LLBLGen Pro fix the problem?

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 14-Sep-2012 11:55:07   

The error is thrown by the project loader. Please check the shortcut you're using to start the designer whether you pass a filename to the llblgenpro.exe. By default this isn't the case of course, but the error is thrown at just one spot, the place where it tries to load a project and this fails. By default it doesn't try to load anything of course, but if you have changed the shortcut of llblgenpro.exe to pass a filename to it (e.g. because you have to open it every time anyway), it might end up in this method at startup. (In fact, IMHO that's the only way to get there at startup)

Frans Bouma | Lead developer LLBLGen Pro
Posts: 1251
Joined: 10-Mar-2006
# Posted on: 14-Sep-2012 16:18:33   

Now this is making some sense.

If I start LLBLGen from the shortcut in the start menu, no error. If I start LLBLGEn from the Tools menu in Visual Studio 2012 (I put it in there as custom item)- I get the error.

Here is the kicker - I am not passing any arguments to it. I edited my external tools and inspected it - no arguments passed. I editing the program it runs, re-selecting the LLBLGen executable it still gives error.

I removed the external tool item and added it back....IT NOW WORKS!!

The way it got in there was because I had it in VS2010 and VS2012 installer put it there...so not sure what is up with that....but now it is fixed...

Thanks guys.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 15-Sep-2012 10:21:26   

Never knew you could do that simple_smile Glad it's solved!

Frans Bouma | Lead developer LLBLGen Pro
Posts: 1251
Joined: 10-Mar-2006
# Posted on: 16-Sep-2012 04:36:16   

Reproduced this again on another machine. While there is 'no argument' passed to llblgen, looks like there are 'spaces' in the argument field when converted from VS2010 to VS2012....

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 16-Sep-2012 11:34:50   

ah, so a check for empty string would suffice I think. We'll look into it.

(edit) indeed " " will make this show up. Fixed in next build.

Frans Bouma | Lead developer LLBLGen Pro