VS 2010 Publish

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.
1/2/2013 10:57:50 AM
Gravatar
Total Posts 76

VS 2010 Publish

I am not sure what setting I am missing.  I know this is not a mojoPortal problem, but I was hoping you could help me.  I am trying to publish mojoPortal using VS 2010 Premium.  It looks like its copied all the files, but when I do a compare, I am missing files.  I understand the *.cs files do not publish.  The file in question is user.config.  The problem is that my "UsermojoProfile.config" file copied.  They are both part of the project.  I did publish release.  Any ideas why UsermojoProfile.config published and user.config didn't?

1/2/2013 11:51:58 AM
Gravatar
Total Posts 18439

Re: VS 2010 Publish

I think we have a special filter to prevent deployment of user.config since it is usually different in dev than in production and we don't usually want to accidentally deploy the dev user.config file to production. Files should not have to be included in the project, it should deploy all files except for specific extensions like .cs that we don't want to deploy. Otherwise of it required project membership it would never deploy the files from other projects like mojoPortal.Features.UI or WebStore. Those files get copied below the Web folder during post build events and are included when publishing the mojoPortal.Web project (aka the Web folder) from VS even though they are not part of the mojoPortal.Wenb project.

So, you'll need to deploy user.config manually if you really intend to include it in a published package.

Hope that helps,

Joe

1/2/2013 12:19:28 PM
Gravatar
Total Posts 76

Re: VS 2010 Publish

That does help.  I thought I was losing my mind.  Its no problem, I just want to make sure to include all the files needed.

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