Living the verbose lifestyle

I've decided to live the verbose lifestyle in programming. I've learned that usually doing something verbosely ends up working better in the long run (even though it might take a bit longer). I'm definately glad that the visual studio and/or c# compiler team do this as well.

Right now our company is in the middle of converting from asp to .NET and have decided that having the project run from the root of the website. So we changed our visual studio web development server virtual path to "/". After doing this (and some other things) i tried to publish and got a message in the status bar "Build Failed". No errors. No other messages. Nothing.

After digging around and googling for a solution, i randomly ended up in the visual studio settings under the "Projects and Solutions" item. In the "General" section under this, i checked "Show Output window when build starts" and under the "Build and Run" item i changed "MSBuild project build output verbosity" to Normal (from minimal).

After doing this i saw this

------ Build started: Project: C:\...\hh2WebServices\, Configuration: Debug .NET ------
Index was outside the bounds of the array.
------ Skipped Publish: Project C:\...\hh2WebServices\, Configuration: Debug .NET ------

Interesting. Now googling this i ended up on the illustrious Scott Gunthrie's blog and noticed that he had written a post about this issue and posted some workarounds and a link to the hot fix.

It's not a new issue, but it's the first time i had run into it, and it took a while to figure it out. So here is hoping that other people might be able to figure out the issue just a little bit faster. 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Print | posted on Friday, June 22, 2007 10:51 AM

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: