Thursday, February 15, 2007

 

MSBuild

Looking at this URL: Inside MS Build from June 2006 issue of MSDN magazine,
I was amazed how online content from Microsoft also contains errors.
Apart from a missing step, there was an absence of caveats to make this article useful.
Disclaimer: I appreciate the efforts taken by the author to write this article. But, since the article says that it is written for VS 2005, and I tested it on the same, coming from MS is a bit shoddy.

Anyways, these were the issues I had the with the article:
  1. Missing step: Does not define the SourceCopy variable.
  2. Missing caveat: Any hard enters in the project XML file are transliterated.

Following is workaround/fix:

  1. Missing step: Does not define the SourceCopy variable.
    Define it!

<propertygroup>
<copylocation>SourceCopy</copylocation>
</propertygroup>

2. Any hard enters in the project XML file are transliterated. So make sure that the entire path in on one physical line.

Labels:


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?