settings of visual studio 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.
12/31/2010 4:27:59 AM
Gravatar
Total Posts 192

settings of visual studio publish

how is publish feature of visual studio is configured?

I can't find any configuration or settings option.

but seems some files like user.config are excluded from publish. how is it done?

12/31/2010 6:53:51 AM
Gravatar
Total Posts 18439

Re: settings of visual studio publish

Hi,

Some publish settings do not have a UI in VS to configure them, but they can be configured in the xml view of the .csproj file.

I exclude user.config and lots of other files this way. Basically we publish all files minus exclusions, so we have extensive exclusions to leave out the .cs files and other files that are not needed in deployment.

Hope it helps,

Joe

3/30/2011 3:37:13 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: settings of visual studio publish

Hi everyone, I wanted to follow up on this one and see what the best way is to customize folder exclusions, preferably without editing a bunch of delivered .csproj files! Long story short: I have a local development workstation, a test server, and a production server. Periodically, I copy down the database and /Data/Sites folders from production to my local development server for testing and development. So of course, when I later publish from VS to the test and prod servers, I want to exclude all files under /Data/Sites to avoid data loss.

Currently, I'm publishing to a temporary folder on the server, manually deleting the /Data/Sites/* folders, then backing up and copying over the top of the mojoPortal directory. Ultimately, I'd really like to avoid publishing /Data/Sites/* at all.

Any guidance would be much appreciated.

Jamie

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