<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for An Addisonians I.T blog</title>
	<atom:link href="http://nomisit.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://nomisit.wordpress.com</link>
	<description>My work with I.T, in particular SQL Server and .Net in business</description>
	<lastBuildDate>Fri, 11 Sep 2009 02:34:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Model-View-Presenter (MVP) in VB ASP.Net by tim</title>
		<link>http://nomisit.wordpress.com/2007/10/29/model-view-presenter-mvp-in-vb-aspnet/#comment-608</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Fri, 11 Sep 2009 02:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/2007/10/29/model-view-presenter-mvp-in-vb-aspnet/#comment-608</guid>
		<description>Where is the 2nd part of this article?  Please let me know.</description>
		<content:encoded><![CDATA[<p>Where is the 2nd part of this article?  Please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Lightweight Build scripts covering .Net, VB6 and C++ projects by sandrar</title>
		<link>http://nomisit.wordpress.com/2008/03/27/simple-lightweight-build-scripts-covering-net-vb6-and-c-projects/#comment-607</link>
		<dc:creator>sandrar</dc:creator>
		<pubDate>Thu, 10 Sep 2009 21:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/?p=13#comment-607</guid>
		<description>Hi! I was surfing and found your blog post... nice! I love your blog.  :) Cheers! Sandra. R.</description>
		<content:encoded><![CDATA[<p>Hi! I was surfing and found your blog post&#8230; nice! I love your blog.  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers! Sandra. R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Batch file to precompile VS2005 web projects for deployment by nomisit</title>
		<link>http://nomisit.wordpress.com/2008/03/03/batch-file-to-precompile-vs2005-web-projects-for-deployment/#comment-147</link>
		<dc:creator>nomisit</dc:creator>
		<pubDate>Tue, 26 Aug 2008 19:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/?p=11#comment-147</guid>
		<description>Hi ray,

I am presuming that your solutions and projects have been converted to VS2005?

What do you think is your problem when publishing, do you get an error message or does it appear to publish but give incorrect results? 

The method I outline in the above post addresses your particular problem to some degree in that, as an admin / solution deployer it dispenses with the need to use Visual Studio GUI at all for publishing web projects.

Place the above batch script in a new folder called “Build” at the same level as your 1.2.3.4 folder and also add a new folder called “Stage” at the same level as “Build” also.

So then from your example above you will have:-

___Stage
___Build
___1.2.3.4
______blah.sln

Within that solution, you ideally want folders for web projects existing at the same level on disk as the blah.sln, so on disk you *SHOULD* see the following:-

___Stage
___Build
___1.2.3.4
______blah.sln
______Services
______Web

I assume here that “Services” and “Web” are 2 independant web projects. That is not to say that each web project cannot contain sub folders of the site in the usual way because that is absolutely fine. The thing to get right here is the structure of the projects within the .sln file as shown above. This is possibly where your problems lay.

Then you would typically change directory to the “Build” folder and run the script from there.
To get the script to work change the “cd VSNet2005″ to “cd 1.2.3.4″ or use a batch file parameter to pass in the folder to prcompile. See above post for what happens next. You should end up with all precompiled content in the “Stage” folder like so:-

___Stage
______Services
______Web

You can then copy each of the project folders to your target location. There is one big drawback here though that you did not seem to mention. Copying the project folders to the target server(s) WILL NOT create web sites/virtual roots for you. I have written another tool for this same organisation that takes the output from the precompiled Stage folder and then using XML configuration files maintained by the team will deploy the precompiled web folders to the target server creating the virtual roots, application pools, etc along the way. Without the final part you will end up having to maintain the sites in IIS manually.

There are other methods of course. As an admin Microsoft suggest that you use their built in “Publish” option within the GUI to the target servers. If you persue this method, you want to ensure that you deploy a “Release” build. If you want the debug symbols then select these in the solution file options, I think it is the “pdb-only” option. Publishing directly will create the web sites/virtual roots that you require although I still think you will end up having to “fine tune” application pools, etc (which is why we elected to write tools to do it all across all .Net versions and VB6!).

You can use a Web Setup project of course for each site. The develpers usually prepare these as part of the development stage. Underneath Web Setup is MSI so you have an Uninstall option on the target server as well.

You could use the Web Copy tool in the Visual Studio GUI but this requires Front Page Server extensions on the target server and I doubt you will have that if your production environment is locked down as you say.

There is also a “deployer” utility offered by Microsoft and there are build tasks that can be added to solutions to address builds (and depoys).

Unless your final release scripts take care of the “deployment” steps involving configuring the web sites and virtual directories, setting up applications pools and accounts, etc you will still have to do this some other way.

Hope this helps you and good luck.

Si</description>
		<content:encoded><![CDATA[<p>Hi ray,</p>
<p>I am presuming that your solutions and projects have been converted to VS2005?</p>
<p>What do you think is your problem when publishing, do you get an error message or does it appear to publish but give incorrect results? </p>
<p>The method I outline in the above post addresses your particular problem to some degree in that, as an admin / solution deployer it dispenses with the need to use Visual Studio GUI at all for publishing web projects.</p>
<p>Place the above batch script in a new folder called “Build” at the same level as your 1.2.3.4 folder and also add a new folder called “Stage” at the same level as “Build” also.</p>
<p>So then from your example above you will have:-</p>
<p>___Stage<br />
___Build<br />
___1.2.3.4<br />
______blah.sln</p>
<p>Within that solution, you ideally want folders for web projects existing at the same level on disk as the blah.sln, so on disk you *SHOULD* see the following:-</p>
<p>___Stage<br />
___Build<br />
___1.2.3.4<br />
______blah.sln<br />
______Services<br />
______Web</p>
<p>I assume here that “Services” and “Web” are 2 independant web projects. That is not to say that each web project cannot contain sub folders of the site in the usual way because that is absolutely fine. The thing to get right here is the structure of the projects within the .sln file as shown above. This is possibly where your problems lay.</p>
<p>Then you would typically change directory to the “Build” folder and run the script from there.<br />
To get the script to work change the “cd VSNet2005″ to “cd 1.2.3.4″ or use a batch file parameter to pass in the folder to prcompile. See above post for what happens next. You should end up with all precompiled content in the “Stage” folder like so:-</p>
<p>___Stage<br />
______Services<br />
______Web</p>
<p>You can then copy each of the project folders to your target location. There is one big drawback here though that you did not seem to mention. Copying the project folders to the target server(s) WILL NOT create web sites/virtual roots for you. I have written another tool for this same organisation that takes the output from the precompiled Stage folder and then using XML configuration files maintained by the team will deploy the precompiled web folders to the target server creating the virtual roots, application pools, etc along the way. Without the final part you will end up having to maintain the sites in IIS manually.</p>
<p>There are other methods of course. As an admin Microsoft suggest that you use their built in “Publish” option within the GUI to the target servers. If you persue this method, you want to ensure that you deploy a “Release” build. If you want the debug symbols then select these in the solution file options, I think it is the “pdb-only” option. Publishing directly will create the web sites/virtual roots that you require although I still think you will end up having to “fine tune” application pools, etc (which is why we elected to write tools to do it all across all .Net versions and VB6!).</p>
<p>You can use a Web Setup project of course for each site. The develpers usually prepare these as part of the development stage. Underneath Web Setup is MSI so you have an Uninstall option on the target server as well.</p>
<p>You could use the Web Copy tool in the Visual Studio GUI but this requires Front Page Server extensions on the target server and I doubt you will have that if your production environment is locked down as you say.</p>
<p>There is also a “deployer” utility offered by Microsoft and there are build tasks that can be added to solutions to address builds (and depoys).</p>
<p>Unless your final release scripts take care of the “deployment” steps involving configuring the web sites and virtual directories, setting up applications pools and accounts, etc you will still have to do this some other way.</p>
<p>Hope this helps you and good luck.</p>
<p>Si</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Batch file to precompile VS2005 web projects for deployment by Ray</title>
		<link>http://nomisit.wordpress.com/2008/03/03/batch-file-to-precompile-vs2005-web-projects-for-deployment/#comment-145</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Tue, 26 Aug 2008 13:09:42 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/?p=11#comment-145</guid>
		<description>I&#039;m looking to try automating our deploys. I have just about everything except for making Visual studios publish the way the GUI does.

Basically my company has a lot of security measures in place and a lot of the developers do not have access to production environments. This leaves a lot of the code deploys to the administrators (ie me). I&#039;m not familiar with Visual Studios 2005, at all. The steps of our deployment are as follows:

Download the script from our version control software (Vault) to a folder called 1.2.3.4. 
Open folder 1.2.3.4 and open the 1.2.3.4\blah.sln

In VisualStudios make sure the configuration is set to Debug - right click the top Main Solution and click Clean Solution.

Go down to the Project (called web) right click and hit Publish.

It prompts me saying &#039;Where do you want to publish &quot;Services&quot; which is another Project (Directly above Web) and I give it a folder to publish to, then it asks me where to publish &#039;Web&#039; which is the project I originally selected on.

It then publishes the files to the selected local folders that I can use my batch scripts to copy to the proper servers.

I&#039;m having problems with the publishing of the Projects to the folders so that I can have my batch script copy to the remote locations.

Any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;m looking to try automating our deploys. I have just about everything except for making Visual studios publish the way the GUI does.</p>
<p>Basically my company has a lot of security measures in place and a lot of the developers do not have access to production environments. This leaves a lot of the code deploys to the administrators (ie me). I&#8217;m not familiar with Visual Studios 2005, at all. The steps of our deployment are as follows:</p>
<p>Download the script from our version control software (Vault) to a folder called 1.2.3.4.<br />
Open folder 1.2.3.4 and open the 1.2.3.4\blah.sln</p>
<p>In VisualStudios make sure the configuration is set to Debug &#8211; right click the top Main Solution and click Clean Solution.</p>
<p>Go down to the Project (called web) right click and hit Publish.</p>
<p>It prompts me saying &#8216;Where do you want to publish &#8220;Services&#8221; which is another Project (Directly above Web) and I give it a folder to publish to, then it asks me where to publish &#8216;Web&#8217; which is the project I originally selected on.</p>
<p>It then publishes the files to the selected local folders that I can use my batch scripts to copy to the proper servers.</p>
<p>I&#8217;m having problems with the publishing of the Projects to the folders so that I can have my batch script copy to the remote locations.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 70-536 in the bag! by nomisit</title>
		<link>http://nomisit.wordpress.com/2008/02/19/70-536-in-the-bag/#comment-48</link>
		<dc:creator>nomisit</dc:creator>
		<pubDate>Mon, 21 Apr 2008 17:07:06 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/?p=9#comment-48</guid>
		<description>Well done Juan. Good luck with 70-528!</description>
		<content:encoded><![CDATA[<p>Well done Juan. Good luck with 70-528!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 70-536 in the bag! by Juan</title>
		<link>http://nomisit.wordpress.com/2008/02/19/70-536-in-the-bag/#comment-47</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Mon, 21 Apr 2008 14:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/?p=9#comment-47</guid>
		<description>Hmm... I took 70-536 last week (Tuesday), I got 1000 / 1000 and I only skimmed through the topics the previous 3 days.
Maybe the difference is that I&#039;ve been working with .NET for a long time now, but I found it very very easy.

Tomorrow I&#039;m taking 70-528</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; I took 70-536 last week (Tuesday), I got 1000 / 1000 and I only skimmed through the topics the previous 3 days.<br />
Maybe the difference is that I&#8217;ve been working with .NET for a long time now, but I found it very very easy.</p>
<p>Tomorrow I&#8217;m taking 70-528</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 70-536 in the bag! by nomisit</title>
		<link>http://nomisit.wordpress.com/2008/02/19/70-536-in-the-bag/#comment-21</link>
		<dc:creator>nomisit</dc:creator>
		<pubDate>Sun, 02 Mar 2008 21:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/?p=9#comment-21</guid>
		<description>Thanks Beakster and good luck for Wednesday! If you have done plenty of reading around .Net framework 2.0 and read plenty of MSDN aricles you should be fine. I found there was plenty of time in the exam to blow off for a while and then come back down to Earth to work out the answers. Just read and re-read the questions I&#039;m sure you&#039;ll do fine. 

Perhaps you can let me know how you found it?</description>
		<content:encoded><![CDATA[<p>Thanks Beakster and good luck for Wednesday! If you have done plenty of reading around .Net framework 2.0 and read plenty of MSDN aricles you should be fine. I found there was plenty of time in the exam to blow off for a while and then come back down to Earth to work out the answers. Just read and re-read the questions I&#8217;m sure you&#8217;ll do fine. </p>
<p>Perhaps you can let me know how you found it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 70-536 in the bag! by Beakster</title>
		<link>http://nomisit.wordpress.com/2008/02/19/70-536-in-the-bag/#comment-20</link>
		<dc:creator>Beakster</dc:creator>
		<pubDate>Sat, 01 Mar 2008 14:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://nomisit.wordpress.com/?p=9#comment-20</guid>
		<description>Nice one mate, well done on the pass.  I&#039;m sitting mine on Wednesday.  I&#039;ve never done any .net development before studying for this exam, but have done lots of Java.  I&#039;m fairly confident, but the wording of the questions sometimes throw me off, so fingers crossed!</description>
		<content:encoded><![CDATA[<p>Nice one mate, well done on the pass.  I&#8217;m sitting mine on Wednesday.  I&#8217;ve never done any .net development before studying for this exam, but have done lots of Java.  I&#8217;m fairly confident, but the wording of the questions sometimes throw me off, so fingers crossed!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
