XML • Fail a Build.

Listing 2. This build fails because the Windows service is unable to find devenv.exe to compile the code. This occurs because you must specify explicitly which version of Visual Studio.NET you're using. Correct this problem by stopping the Windows service, adding the attribute “edition” with a value of “2003” to the devenv element in draco.exe.config, and restarting the service. The build should succeed now.

<?xml version=”1.0”?>
<BuildResult xmlns:xsd=
“http://www.w3.org/2001/XMLSchema” 
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<Success>false</Success>
<BuildOutput>Failed to process build ‘DotProduct'.
The following exception occurred:
System.ApplicationException: DevStudio.NET does not
appear to be installed at
Chive.Draco.Tool.DevEnvBuildTool.get_DevEnvExe()
at Chive.Draco.Tool.DevEnvBuildTool.Execute(
String workingDirectory)
at Chive.Draco.BuildRunner.BuildModule(
Modification[] mods)
Diagnostic information
Working directory: C:\WINDOWS\TEMP\tmpBC.tmp</BuildOutput>
<Module>DotProduct</Module>
<BuildTime>2006-06-14T19:16:02.1184960-05:00</BuildTime>
<Modifications>
<Modification>
<Date>2006-06-14T19:15:00.0000000-05:00</Date>
<User>Rpierry</User>
<Comment />
<Files>
<File>
<Type>Update</Type>
<Directory>$/DracoTest/DracoTest/DotProduct
</Directory>
<File>DotP.cs </File>
<Revision>2</Revision>
</File>
</Files>
</Modification>
</Modifications>
</BuildResult>