source integration in VS 2008

Apr 8, 2009 at 10:57 AM
Hi,

I have already one instance of DNN version 4.9.3 working (http://localhost/dotnetnuke) in IIS (Win XP) and Nb_store module 1.01.01 is added.
How to integrate NB_store source package in Visual Studio 2008 to edit and compile this module ?

Thanks...


Coordinator
Apr 8, 2009 at 12:04 PM
Edited Apr 8, 2009 at 12:05 PM
Hi,

In the package zip you'll find a NB_Store_source.zip file, you need to unzip this into the NB_Store  module directory.  You should then be able to load up the solution in VS 2008.
Depending on your setup (I'll presume it's not the same as mine) you might get the DotnetNuke.library not loading.  If you do remove it from the solution and replace it with a direct ref link to the DotNetNuke.dll.  Also the SIPS provider is specific to SIPs so if you've not got the SIP api you might want to remove this project as well.

It should be OK to compile then.

Regards,
Dave.
Apr 8, 2009 at 12:31 PM

> into the NB_Store  module directory

Can you specify the right path ?

\DotNetNuke\App_Code\DesktopModules   or   \DotNetNuke\DesktopModules\NB_Store
Coordinator
Apr 8, 2009 at 1:31 PM
In the \DotNetNuke\DesktopModules\NB_Store directory
Apr 8, 2009 at 2:52 PM
>Depending on your setup (I'll presume it's not the same as mine) you might get the DotnetNuke.library not loading.  If you do remove it from the solution and replace it with a direct ref link to the DotNetNuke.dll
OK

>Also the SIPS provider is specific to SIPs so if you've not got the SIP api you might want to remove this project as well.
OK

Do I make changes in SLN file (other paths) ?

When I build the website, 26 errors are returned :
- Unable to load type 'NEvoWeb.Modules.NB_Store.AdminProductImage'
- Unable to load type ...
...
..
Coordinator
Apr 8, 2009 at 3:04 PM
No you shouldn't have to do anything else,

Have you got the file?
\DesktopModules\NB_Store\AdminProductImage.ascx.vb

Apr 9, 2009 at 6:49 AM
Yes.

See screenshoots :
http://www.castors.ch/download/sshot-1.png
http://www.castors.ch/download/sshot-2.png
Coordinator
Apr 9, 2009 at 7:12 AM
Edited Apr 9, 2009 at 7:14 AM
Hi,

It look like you've opened the loclhost and are trying to compile that.  What you need to do is open the \DesktopModules\NB_Store\NB_Store.sln solution file.  the localhost is there as a project but only as a reference link so the dll's go into the correct bin folder.  You should see 6 projects (2 of which I've mentioned before DotNetNuke.Library and GatewaySIPS) you only need to right  click and build the NB_Store project.

Regards,
Dave