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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss... DNN 5.2 building in VS 2010 Beta 2: Various errors in source code! DNN 5.2 building in VS 2010 Beta 2: Various errors in source code!
Previous
 
Next
New Post
12/12/2009 7:49 PM
 

Hi!

Today I've tried to build DNN 5.2 in VS 2010 and discovered some erros in ascx files because of new VS 2010 Web Site project Building mode. You can read about the story on MS Connect:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=517816

I had to manually correct some ascx files to get things working in VS 2010, and here is my comment about it on Connect:

Hello again folks,

Finally I've built ... DNN 5.2 site in Visual Studio 2010 Beta 2.

First of all, the "Errors referencing Browsers ..." problem is still exists. I had to manually copy *.browser files from .NET FW 2.0 CONFIG folder to DNN App_Browser folder, so I think this is a VS bug. (Big question mark here.)

About other errors: it's not bug, feature. :)

In VS 2010 a Web Site project will fully built before startup even are in IIS. Every directory and every ascx will be processed. And - sadly - some of controls in DNN 5.2 have serious problems:

- You'll get errors about some missing ascx codebehind files. This is because those control are deprecated, not used anywhere - you can delete those ascx files for good.
- You'll get errors about User.ascx described above. This is because of 'style=""width:175px"'. It is not wellformed. You have to replace style="" to style=" in User.ascx.
- You'll get errors about some not wellformed controls in various ascx files because of missing attribute end quotes. You have to fix'em manually. (In about 4-5 ascx.)
- Lastly you'll get an odd VB compiler error about a double reference to System.Web.Extensions.DLL. The problem source lies in DesktopModules\News\RssModule.ascx. It has a Register directive to System.Web.Extensions.DLL. Delete that line for good.

After that you will have a fully working VS 2010 DNN 5.2 solution. Enjoy.

Now I tryin to convert it to .NET 4.0 based website, because I wanna use EF v2 in my new DNN modules and WCF 4 for remode DNN administration. I hope it will possible.

 
New Post
12/16/2009 10:52 AM
 

Thanks amigo, this was a big help.

 
New Post
12/17/2009 2:35 PM
 

Thanks for this helpful post.

I would never have figured out the copying *.browser files workaround on my own.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss... DNN 5.2 building in VS 2010 Beta 2: Various errors in source code! DNN 5.2 building in VS 2010 Beta 2: Various errors in source code!


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