HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1Not Compiling SourceNot Compiling Source
Previous
 
Next
New Post
1/14/2010 8:02 PM
 

I ran into similar errors compiling the source version of v5.2.1 in Visual Studio Express 2008. The rest of the projects compiled fine, but attempting to build the website caused "'Null' is not declared", "Name 'IsAdminControl' is not declared", etc, errors. It turned out I simply needed to rename "release.config" to "web.config"  

This may seem obvious to .NET dab hands, but it would be good if this was clearly documented somewhere for the source version!  Obviously I know to do this when *installing" a DNN portal, but didn't think it was necessary in order to get the site to compile (yes, I'm new compiling .NET apps!  I normally just tinker with the ASCXs, etc, but sometimes there is logic coded into the DLLs that can't be fixed this way).

BTW - building the website project is disabled by default when opening "DotNetNuke.sln" (i.e., when compiling in "debug" mode), and doesn't actually appear to be necessary - it doesn't produce any changes (having already compiled the other projects), it just appears to "Validate" the website as a .NET web project.  I'd welcome pointers on circumstances when it is necessary to "Build" the web project part of the DNN solution?

 
New Post
1/15/2010 4:33 AM
 

please do not crosspost your questions. see my answer in this thread.


Cheers from Germany,
Sebastian Leupold (DotNetNuke MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1Not Compiling SourceNot Compiling Source


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.