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.0VS2005 + DNN4 = no loveVS2005 + DNN4 = no love
Previous
 
Next
New Post
1/5/2007 3:42 PM
 
 

I just can't get VS2005 to get along with my DNN modules.

I have a Solution (DNN4dev).
I add an existing web site to the solution (DNN4 - full path = c:\dnn4\website) - this is my startup project - only here for debugging runs.

I add an existing vb project to the solution (C:\DNN4\Website\DesktopModules\Training\Training.vbproj) - this is a dnn module - compiles and runs fine - and lives under the same path as the web project above.

Problem #1: 
when editing ascx files thru the vb project, <%# vb.functions %>  are not resolved by the IDE. Yet it compiles and works fine.  

edit the same ascx file thru the web project and the IDE is happy.

Problem #2:
I add the vb project to VS Source Safe (not the web project). Now VSS/VS2005 complain of a conflict between projects for source controled files - and I should exclude them from source safe. Um - ya - they are one-in-the-same ... the training project is burried beneath the web project - because that's where is needs to be.

the only solution is to remove the web project (dnn4) - source safe is happy - but now I can't run/debug my modules.

 

 
New Post
1/7/2007 4:42 PM
 

VS 2005 is quite different than VS2003. By default you do not develop your modules inside a separate project. Everything is done inside the main dnn website. You will even not need to compile, saving is enough.

VS2005 SP1 indroduces WAP, which is quite similar to the old behaviour. DNN supports both ways. Please checkMichaels introduction into module development using DNN4.

 
New Post
1/8/2007 4:57 PM
 

Thanks. I installed SP1 - doesn't seem to make any difference.

I suppose I can work with the module under the web project - but Visual Source Safe won't let me just control my module. I have to check in the entire web project. That doesn't seem right.

 
New Post
1/8/2007 5:22 PM
 
Installing SP1 is not enough. You will need to convert your module as Web Application Project.
 
New Post
1/8/2007 7:49 PM
 

Thanks again.

Creating a WAP - creates a aspx application. I need ascx... trying to manualy convert it causes a ton of errors.

Also, when I'm working with the module under the web app (created by the method mention above), simply saving the file doesn't do a compile... I have to compile the entire web project - which takes 10x longer.

And I just can't deal with having to check the whole web application into source safe.

I may have to live on VS2003.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0VS2005 + DNN4 = no loveVS2005 + DNN4 = no love


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