I needed to make these six steps to get VS 2013 to drag and drop items from the Toolbox, build the module and create an installation zipfile.
This is the first time trying to create a module so I am a beginner also and took me some time to figure out these five steps.
(last is optional I think, but was needed for me)
1: In .csproj file from your module change "....\bin\" to "bin\".
2: To fix some References, add the DotNetNuke bin folder from your localhost installation to the Reference Paths in the module Properties.
3: Change AssemblyVersion and AssemblyFileVersion properties in AssemblyInfo.cs (remove the ".*").
4: In the module Properties, set Configuration to "Release".
5: If you get a copy error during build, change "....\bin" to "\bin" the in the MSBuild.Community.Tasks.Targets file.
Note: When you create a new module, VS will make your desktopmodules folder in your localhost DNN installation virtual. You need to remove that otherwise DNN will give you an error when accessing the site.
This is the first time trying to create a module so I am a beginner also and took me some time to figure out these five steps.
(last is optional I think, but was needed for me)
1: In .csproj file from your module change "....\bin\" to "bin\".
2: To fix some References, add the DotNetNuke bin folder from your localhost installation to the Reference Paths in the module Properties.
3: Change AssemblyVersion and AssemblyFileVersion properties in AssemblyInfo.cs (remove the ".*").
4: In the module Properties, set Configuration to "Release".
5: If you get a copy error during build, change "....\bin" to "\bin" the in the MSBuild.Community.Tasks.Targets file.
Note: When you create a new module, VS will make your desktopmodules folder in your localhost DNN installation virtual. You need to remove that otherwise DNN will give you an error when accessing the site.