Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN 5.2 + LINQ + VS 2005 = DoesnDNN 5.2 + LINQ + VS 2005 = Doesn't work?
Previous
 
Next
New Post
12/18/2009 12:39 PM
 

I just downloaded the source version of DNN 5.2.  I am currently developing on Visual Studio 2005.  When I tried to compile the DNN 5.2 library project, I got syntax errors.  One of the errors happened in ModuleInfo.vb with this code:


  effectiveCacheMethod = (From provider In ModuleCache.ModuleCachingProvider.GetProviderList() _
                                        Where provider.Value.Equals(defaultModuleCache) _
                                        Select provider.Key).SingleOrDefault

The compiler complained that "from is not declared".  It appears that this is a LINQ statement, although I am not sure.  I am not really familiar with LINQ.  Do I need to add any kind of special reference or update to my project so that VS 2005 recognizes this?  I am running the latest version of the .NET framework on my system (3.5 SP1).  I had also tried explicitly adding the reference System.Data.Linq, but that didn't seem to work either.    I have had to make some custom changes to the DNN library to suit my company's needs, which is why I need to recompile for 5.2 to include my customizations.  Has anyone else run into this issue?

 
New Post
12/19/2009 2:27 AM
 

This surely is a LINQ statement. And VS 2005 supports only .NET Framework 2.0, which does not support Linq. Thus there is no possibility of this compiling in VS 2005.

You would need VS 2008 or higer.

EDIT: DNN 5.2 requirements clearly state it needs .NET 3.5 SP1 + Sql 2005

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN 5.2 + LINQ + VS 2005 = DoesnDNN 5.2 + LINQ + VS 2005 = Doesn't work?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out