The single site limitation in IIS on XP is frustrating. Since I can't have more then one site on the box, I needed a way to quickly change the Home Directory of the root web. To satisfy my need I came up with this little script.
Set objArgs = WScript.Arguments
If objArgs.Length = 0 Then
' Use the current patch
Set fs = CreateObject("Scripting.FileSystemObject")
currentPath = fs.GetAbsolutePathName(".\")
currentPath = objArgs.Item(0)
Set IISObject = GetObject("IIS://LocalHost/w3svc/1/Root")
IISObject.Path = currentPath
I put this script in my path and can call it from the command line or a batch file.
or a batch file sitting on my Desktop
cd /D e:\dev\project1
I agree with Scott.
“Unit Testing support should be included with all versions of Visual Studio 2005 and not just with Team System.“
I've been wondering why this was only available in the Team System.
Here's Peter Provost's origianl post.
As I've mentioned before I've been jumping into NUnit more and more lately. I just found this little gem to integrate NUnit and the IDE.
“TestRunner seamlessly integrates NUnit testing and debugging into a compact Visual Studio .NET 2003 add-in.“
6 public class Library
8 public static string HelloWorld()
10 return "Hello World!";
15 public class UnitTest
18 public void TestEqual()
20 string TestString = Library.HelloWorld();
21 Assert.AreEqual("Hello World!", TestString );
is now providing an RSS (Really Simple Syndication) Feed for its Security
Bulletins, with more RSS content for IT pros on the way in the months ahead. RSS
feeds deliver new content to you on the topics you are interested
This is probably common knowledge but it just dawned on me after installing Virtual PC for the first time. Make a copy of your Virtual PC Hard Disk before you start installing other software. This allows you to have a clean OS build anytime you want to start over.
I've been having problems installing the May CTP inside a Virtual PC host. The error log message had this entry:
Errror 1310: Error writing to file: CppCodeProvier.dll. Verify that you have access.
This blog entry gave me some clues but didn't solve my problem. The solution that worked for me was to copy the Visual Studio directory locally and create a share that the VPC host could access.
From MSDN Downloads:
"Common utilities for writing an ISO file to
recordable media such as CD-R include ISORecorder and Nero. The contents of images
files can be extracted to hard drive using utilities such as ISObuster or DaemonTools. Image
files can be mounted locally using the Virtual CD-ROM Control Panel for Windows XP."
Microsoft should make the security CD available
each quarter. It should be automatically shipped to all MSDN
subscribers. The last time the CD was updated was October 2003. Much
has changed since then. You can get the old version at: http://www.microsoft.com/security/protect/cd/order.asp
I've been reading about the topic for some time but
haven't been able to jump in with both feet. I needed a nudge. Last week, I
listened to a presentation by James Newkirk and enjoyed it
so much I'm committing to following the process on my next project. I guess the
presentation was all I needed. If you need a nudge, go over and listen to
"In Kent Beck's book titled "Test-Driven
Development, By Example" he defines Test-Driven Development (TDD) as driving
software development with automated tests. He goes further by stating that TDD
is governed by two simple rules: Write new code only if an automated test has
failed and eliminate duplication. The implications of these two simple rules can
proffer a profound change to the way that software is written. Most of the
literature to date has bundled TDD along with Extreme Programming (XP). However, the
benefits of using TDD are not limited to XP, and can be realized in any
More Posts « Previous page
- Next page »