Last post Jun 26, 2008 10:11 PM by Diijon
May 05, 2008 09:24 AM|Diijon|LINK
After much trial and error I've been able to successfully create my web deployment projects. I have a site that we'll call SiteX and under it is an application called AppX. I was able to create a seperate deployment project, one for SiteX and one for its
nested app AppX. I'm using nested master pages also so in the SiteX directory is a mp folder with my main masterpages. I then have a virtual directory in AppX called mp which points to the root mp folder.
I thought that web deployment projects would allow me to publish parts of the site seperatly. In other words, I would like the ability to update AppX on the live server without ever having to touch the root SiteX. So now that I have my two wdproj files,
I dont know what to do with them.
Just to give you a better idea of my dev enviroment and practices. A blog post by scott guthrie said that if your site has nested apps then you should not open through the file system but through the local IIS tab which is what I do everytime so now this
is done automatically with the Solution file. On another note, I tried using the web setup project but that installs the whole app and doesn't create my virtual directory mp.
May 06, 2008 12:32 PM|Diijon|LINK
What do I have to do to get help up here? Buy something?
Ok so more searching and careful reading led me to that you have to right click on the web setup project and click add project output and then i added my deployment projects. Like I said, I have nested apps, the root is SiteX and the only app i have nested
right now is AppX. In iis AppX is in a application folder and inside of it is a virtual directory called mp which just points back to the actual mp folder in SiteX. How do I get to first create the application folder called Appx and create a mp virtual directory
inside of it?
Jun 26, 2008 10:11 PM|Diijon|LINK
once again, I worked through it. I had to do a ton of reading and lots of searching and testing. I have a deployment project for each app and when they build they all use the iis metabase. The output from each deployment project feeds into the web setup
project and creates my application directories for my nested apps. The only thing i need to look into is excluding virtual directories when i build because when the setup project installs the site it compiles the files in the virtual folders also. I want those
to remain virtual folders that point somewhere. there dont appear to be any msbuild tasks for creating virtual directories so i'll have to look more into it.