Publishing DLLs

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/2/2011 6:41:04 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Publishing DLLs

Hi all,

Wondering if anyone has any ideas on this.

I'm working on some custom modules right now that are using things like Brettle NeatUpload and the AjaxControlToolkit.  Usually when you're publishing DLLs, you want to publish all the DLLs because they're "linked" together. However, this causes issues with things like the NeatUpload DLLs because you don't want to break other things in the installation, but then when you don't include the DLLs from your custom feature build, the (for example) NeatUpload won't work.

There must be some work-around that I'm just missing.  Any help or ideas would be greatly appreciated!

Matt

4/3/2011 5:11:29 AM
Gravatar
Total Posts 18439

Re: Publishing DLLs

Hi Matt,

You should not deploy any dlls with your app that are already included in mojoPortal because then you risk deploying incorrect versions. ie your post build event should not copy any dlls except those from your own projects and other dependencies that are not used in mojoPortal.

In the case where you depend on the same dlls as mojoPortal, if you have a problem you should drop the reference to the dll and then add it again, then delete the dll from the Web/bin folder and rebuild the solution so it pulls the new version in from the _libs folder.

We recently changed to a newer version of NeatUpload in version 2.3.6.1 and then again to a newer version in 2.3.6.4. In both cases I had to change the references for my add on products Form Wizard Pro and Web Invoice Pro to the new version and recompile. That is why I made a new release of Form Wizard Pro and Web Invoice Pro corresponding to the new 2.3.6.4 release of mojoPortal. They must depend on the same version of NeatUpload. There are other ways to fix version conflicts such as using assembly mapping from Web.config to map things that depend on the older version to the newer version. But that would require more steps from end users so I find it easier to just ship a new version of the add ons that depend on the same version of NeatUpload. It doesn't change very often, but it has changed a few times recently.

Hope it helps,

Joe

4/5/2011 1:25:37 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Publishing DLLs

Hi Joe,

Thanks for the help!  I'm working on restructuring my custom solutions a little to make the easier to work with as far as updates and such go!

This seems to have done the trick though!

Matt

4/5/2011 9:56:58 AM
Gravatar
Total Posts 18439

Re: Publishing DLLs

Thanks for the beers Matt!

Much appreciated.

Cheers,

Joe

4/5/2011 10:25:48 AM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Publishing DLLs

No problem, Joe!

Thanks for your help!

You must sign in to post in the forums. This thread is closed to new posts.