Adam Gritt
I searched the forums and found a thread concerning this issue from last year but the resolution was that Nant did not support Studio 2005/Framework 2.0 at the time.
We have just migrated our source from Studio 2003 to Studio 2005 and now I am receiving this error message from Nant…
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build
BUILD FAILED
Error loading GUID of project 'C:\...
Couldn't locate ProjectGuid in project 'C:\...
I installed the latest version of Nant that says framework 2.0 is now supported but still receive the error. I cannot seem to find any further information on how 2.0 is supported other than setting the target framework, which I have done with success.
Any suggestions or hints on what to look for would be appreciated.
I don't want to post the whole build, so here are some segments that may be relative…
<?xml version="1.0" ?>
<project name="OptimumSuite" default="build" basedir="." xmlns="http://nant.sf.net/schemas/nant-0.84.win32.net-1.0.xsd">
<!-- ********** ********** ********** ********** ********** **********-->
<!-- Properties -->
<property name="vs.Path" value="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE" />
<property name="buildwithlicense" value="false" />
<!--- Begin : General Properties definition -->
<property name="debug" value="true" />
<property name="Configuration" value="Release" />
<property name="Configuration" value="Debug" if="${debug}" />
<property name="verbose" value="false" />
<property name="release.dir" value="release" />
<property name="bin.dir" value="../${release.dir}/bin" />
<property name="package.prefix" value="OSI" />
<property name="folder.prefix" value="OSI_Build" />
<property name="sqlhelper.dll" value="Microsoft.ApplicationBlocks.Data.dll" />
<property name="log4net.dll" value="log4net.dll" />
<!--- End : General Properties definition -->
<!--- Begin : Package names -->
<property name="package.Environment" value="Environment" />
…
<!--- End : Package names -->
<!-- ********** ********** ********** ********** ********** **********-->
<!-- Build Targets -->
<target name="build" description="Build the entire suite application">
<echo message="Building Suite in ${Configuration} Mode ..................................." />
<call target="buildEnvironment" />
…
<target name="buildEnvironment" description="Build Environment components">
<!-- Begin : Environment -->
<echo message="Building Environment in ${Configuration} Mode ..................................." />
<nant buildfile="Environment/build.xml" target="build" inheritall="true" />
<!-- End : DEnvironment -->
</target>
<?xml version="1.0"?>
<project name="${package.Environment}" default="build">
<target name="build">
<solution outputdir="${bin.dir}" configuration="${Configuration}" verbose="${verbose}">
<projects>
<include name="DALEnvironment\DALEnvironment.vbproj"/>
<include name="Environment\Environment.vbproj"/>
<include name="CustomControls\ExRichTextBox\ExRichTextBox.csproj"/>
<include name="CustomControls\WebBrowserEx\WebBrowserEx.csproj"/>
<include name="CustomControls\ActivityProgressBar\ActivityProgressBar.vbproj"/>
<include name="CustomControls\SSRSViewerControl\SSRSViewerControl.vbproj"/>
</projects>
</solution>
</target>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users