ASP.NET GUI generator templates - a few issues

Posts   
 
    
hotchill avatar
hotchill
User
Posts: 180
Joined: 22-Jan-2007
# Posted on: 30-Jun-2012 19:40:34   

Hi.

I am on LLBLGen v3.5 and vs2010. I got a few issues having generated GUI files for my llblgen project using the 'ASP.NET GUI generator templates'.

All are resolved, just wanted to share with you simple_smile

To get around the first issue I had to change the Build action of GeneralUtils.cs and Interfaces.cs from Content to Compile. I also moved them out of the App_Code folder.

I also had to right-click all ascx/aspx/master files and select 'Convert to web application' to get the designer.cs files generated.

I then added the following assemblies in web.config:

        <add assembly="SD.LLBLGen.Pro.DQE.SqlServer.NET20, Version=3.5.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27" />
        <add assembly="SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=3.5.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27" />
daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Jul-2012 23:13:37   

It's odd that you had to do that. ASP.Net templates are a traditional website and not a web application, so maybe you did something to convert it to webApp.

David Elizondo | LLBLGen Support Team
hotchill avatar
hotchill
User
Posts: 180
Joined: 22-Jan-2007
# Posted on: 02-Jul-2012 12:07:58   

I created a new 'ASP.Net Empty Web Application' project in VS2010 and added the generated files/folders to this. Perhaps I misread the instructions:

The preset won't generate a .sln file for you, you have to do that yourself within VS.NET. The code in the GUI folder is compatible with the VS.NET 2005/2008/2010 web site project on disk, which means there's initially no csproj file.

Walaa avatar
Walaa
Support Team
Posts: 14954
Joined: 21-Aug-2005
# Posted on: 02-Jul-2012 20:05:21   

No problem, you have just instructed others on how to turn it to a web application.

Thanks for the feedback.