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.0Using DotNetNuke C# Compiled Module Starter Kit with Visual Studio 2008Using DotNetNuke C# Compiled Module Starter Kit with Visual Studio 2008
Previous
 
Next
New Post
4/23/2008 5:37 AM
 

Hi there,

I'm trying to use the C# Compiled Module Starter Kit with Visual Studio 2008 but am running into a problem I can't seem to fix. I've already converted everything to Visual Studio 2008, so that's working just fine. But in the template project, there's a hardcoded reference to http://localhost/DNN_4_3_6 which I think should simply point to the DotNetNuke source installation. I've changed that (it's http://localhost/DotNetNukeSrc in my case). So, in "Location:" I guess I should simply put in my path to the source installation + Website\DesktopModules (in my case, this is C:\projects\web\DotNetNuke0Src\Website\DesktopModules - the "0" is there for sorting purposes).

Unfortunately, I'm getting an error from Visual Studio, saying: "The local IIS URL http://localhost/DotNetNukeSrc specified for Web project TestModule has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the virtual directory now?"... Well, it's not true: http://localhost/DotNetNukeSrc IS specified (here without the '0'). This is my DotNetNuke source installation project mapped in IIS. Consequently, when I say "yes", it says "already mapped to a different folder location".

I think the problem probably is in this snipped from the project file:

<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost/DotNetNukeSrc</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>

Anybody has any idea how to fix this?

Sunny regards,
Jashan

 
New Post
4/23/2008 8:57 AM
 

vs2008 has a slightly different syntax for project files (or rather... it is a bit less forgiving if you make mistakes). If you change projectExtensions to this:

  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>True</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>0</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>http://localhost/DotNetNukeSrc/DesktopModules/[ModuleName]</IISUrl>
          <OverrideIISAppRootUrl>True</OverrideIISAppRootUrl>
          <IISAppRootUrl>http://localhost/DotNetNukeSrc</IISAppRootUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>

where [ModuleName] is the folder you put your module in, it should work


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
8/24/2008 10:31 PM
 

I'm new to dot net and dot net nuke and I'm having the same problem. Can you tell me where to enter this syntax?

 
New Post
9/7/2009 2:56 AM
 

Edit the .csproj file in note pad.exe

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using DotNetNuke C# Compiled Module Starter Kit with Visual Studio 2008Using DotNetNuke C# Compiled Module Starter Kit with Visual Studio 2008


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