Bugs item #1395783, was opened at 2006-01-03 13:43 Message generated for change (Comment added) made by mitchwheat You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1395783&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: 0.85 Status: Open Resolution: None Priority: 5 Submitted By: Mitch Wheat (mitchwheat) Assigned to: Nobody/Anonymous (nobody) Summary: $(Configuration) in reference HintPath is not known Initial Comment: Hi It seems NAnt is not aware of the $(Configuration) syntax in the HintPath attribute of file references. When I build from the command line using the <solution> task, Nant fails saying it can't find the reference. Visual Studio allows this syntax. Regards, Mitch ---------------------------------------------------------------------- >Comment By: Mitch Wheat (mitchwheat) Date: 2006-01-05 08:40 Message: Logged In: YES user_id=1388406 Hi The solution files in question are for the most part mixed C# and VB.NET. They are fairly standard in terms of their content. If you edit any *.csproj or *.vbproj and update a file reference to use $(Configuration) (Note: case IS important it seems) instead of the explicit Release or Debug folders, the NAnt solution task doesn't seem to know about this 'parameter' value. example: <VisualStudioProject> <CSHARP ProjectType="Local" ProductVersion="7.10.3077" SchemaVersion="2.0" ProjectGuid="{00D2B645-A4B1-4A7B-B6E9- 9374CE4BDC31}" SccProjectName="SAK" SccLocalPath="SAK" SccAuxPath="SAK" SccProvider="SAK"> <Build> <Settings ApplicationIcon="" AssemblyKeyContainerName="" AssemblyName="recherche.facture.Correspondence.Adaptor" AssemblyOriginatorKeyFile="" DefaultClientScript="JScript" DefaultHTMLPageLayout="Grid" DefaultTargetSchema="IE50" DelaySign="false" OutputType="Library" PreBuildEvent="" PostBuildEvent="" RootNamespace="recherche.facture.Correspondence.Adaptor" RunPostBuildEvent="OnBuildSuccess" StartupObject=""> <Config Name="Debug" AllowUnsafeBlocks="false" BaseAddress="285212672" CheckForOverflowUnderflow="false" ConfigurationOverrideFile="" DefineConstants="DEBUG;TRACE" DocumentationFile="" DebugSymbols="true" FileAlignment="4096" IncrementalBuild="false" NoStdLib="false" NoWarn="" Optimize="false" OutputPath="..\\..\\BuildOutput\\Latest\\Debug" RegisterForComInterop="false" RemoveIntegerChecks="false" TreatWarningsAsErrors="false" WarningLevel="4" /> <Config Name="Release" AllowUnsafeBlocks="false" BaseAddress="285212672" CheckForOverflowUnderflow="false" ConfigurationOverrideFile="" DefineConstants="TRACE" DocumentationFile="" DebugSymbols="false" FileAlignment="4096" IncrementalBuild="false" NoStdLib="false" NoWarn="" Optimize="true" OutputPath="..\\..\\BuildOutput\\Latest\\Release" RegisterForComInterop="false" RemoveIntegerChecks="false" TreatWarningsAsErrors="false" WarningLevel="4" /> </Settings> <References> <Reference Name="System" AssemblyName="System" HintPath="..\..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framewo rk\v1.1.4322\System.dll" /> <Reference Name="System.Data" AssemblyName="System.Data" HintPath="..\..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framewo rk\v1.1.4322\System.Data.dll" /> <Reference Name="System.XML" AssemblyName="System.Xml" HintPath="..\..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framewo rk\v1.1.4322\System.XML.dll" /> <Reference Name="recherche.Data" AssemblyName="recherche.Data" HintPath="R:\recherche\framework\BuildOutput\Latest\ Debug\recherche.Data.dll" /> <Reference Name="recherche.Data" AssemblyName="recherche.Data" HintPath="R:\recherche\framework\BuildOutput\Latest\ $(Configuration)\recherche.Data.dll" /> <Reference Name="recherche.facture.Correspondence" Project="{35E9DAB6-0E84-43B6-8016-B383E54EC969}" Package="{F184B08F-C81C-45F6-A57F-5ABD9991F28F}" /> </References> </Build> <Files> <Include> <File RelPath="AssemblyInfo.cs" SubType="Code" BuildAction="Compile" /> <File RelPath="CorrespondenceGenerator.cs" SubType="Code" BuildAction="Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> Regards, Mitch ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2006-01-05 05:17 Message: Logged In: YES user_id=707851 What type of project are you using (C#, VB, C++), and what version of VS.NET ? Please attach a small repro for this issue. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1395783&group_id=31650 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers