Hi All,
I get the following error when I try
to execute a build using my NAnt script. It says "NAnt.Core.BuildException:
Unexpected error while compiling project 'FSS' --> System.ArgumentException:
URI formats are not supported.
Has any body come across such an error before or
have any suggestions regarding this. My .Build file looks like
this:
<?
xml version="1.0"?><!
-- ===========================FSS Build=============================== --><
project name="FUSS" default="compile" xmlns="http://nant.sf.net/schemas/nant.xsd"> <target name="compile"> <solution solution file="C:\Model Development Tree\Source\MyFSS.sln" configuration="debug" enablewebdav="true"/> </target></
project>
I have also attached the verbose if anyone is interested in looking through it. Any help will greatly be appreciated.
Thanks,
Shabana
C:\Model Development Tree\Source>nant.exe -verbose NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net
Framework 'net-1.0' is invalid and has not been loaded : The 'System.dll' assemb ly does not exist in framework assembly directory 'C:\WINNT\Microsoft.NET\Framew ork\v1.0.3705'.. Framework 'net-2.0' is invalid and has not been loaded : Framework directory 'C: \WINNT\Microsoft.NET\Framework\v2.0.40607' does not exist.. Framework 'mono-1.0' is invalid and has not been loaded : Registry Path Not Foun d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';. Framework 'mono-2.0' is invalid and has not been loaded : Registry Path Not Foun d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';. Framework 'sscli-1.0' is invalid and has not been loaded : Framework directory ' C:\sscli\build\v1.x86fstchk.rotor' does not exist.. Buildfile: file:///C:/Model Development Tree/Source/FSS.build Target framework: Microsoft .NET Framework 1.1 Base Directory: C:\Model Development Tree\Source. Target(s) specified: compile compile: [solution] Starting solution build. [solution] Loading projects... [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\Data Objects\Data Objects.csproj'. [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\TestHarness\Test Harness.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\WebMethods Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Common\Common.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\Queue Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Common\Common.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Common\Common.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\Queue Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Response Manager\Response Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Common\Common.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Reference Notification Manager\Reference Notification Ma nager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Common\Common.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\Queue Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Data Objects\Data Objects.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\Queue Manager.csproj'. [solution] Loading referenced project 'http://localhost/fss/FSS.vbproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Common\Common.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Data Objects\Data Objects.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\Queue Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Reference Notification Manager\Reference Notification Ma nager.csproj'. [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\Reference Notification Manager\Reference Notification Manager.cspro j'. [solution] Loading project 'http://localhost/fss/FSS.vbproj'. [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\Common\Common.csproj'. [solution] Loading project 'C:\Model Development Tree\Source\FSAID.Web UI Test\ FSS.UnitTests.csproj'. [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\WebMethods Manager\WebMethods Manager.csproj'. [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\Response Manager\Response Manager.csproj'. [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\Queue Manager\Queue Manager.csproj'. [solution] Loading project 'C:\Model Development Tree\Source\Phoenix Communicat ions Service\eFIX Communications Services\Communications Service.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Common\Common.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\Queue Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\WebMethods Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Response Manager\Response Manager.csproj'. [solution] Loading referenced project 'C:\Model Development Tree\Source\Phoenix Communications Service\Reference Notification Manager\Reference Notification Ma nager.csproj'. [solution] Gathering additional dependencies... [solution] Fixing up references... [solution] Building 'Data Objects' [Debug] ... [attrib] Setting file attributes for 2 files to Normal. [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Data Objects\bin\Debug\SraFSSDataObjects.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Data Objects\bin\Debug\SraFSSDataObjects.pdb [solution] Project is up-to-date. [solution] Building satellite assemblies... [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Data Objects\bin\Debug\SraFSSDataObjects.pdb'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Data Objects\bin\Debug\SraFSSDataObjects.dll'. [solution] Fixing up references... [solution] Building 'FSS.UnitTests' [Debug] ... [attrib] Setting file attributes for 3 files to Normal. [attrib] C:\Model Development Tree\Source\FSAID.Web UI Test\bin\D ebug\FSS.UnitTests.dll [attrib] C:\Model Development Tree\Source\FSAID.Web UI Test\bin\D ebug\FSS.UnitTests.pdb [attrib] C:\Model Development Tree\Source\FSAID.Web UI Test\bin\D ebug\NUnitAsp.dll [solution] Project is up-to-date. [solution] Building satellite assemblies... [copy] Copying 0 files to 'C:\Model Development Tree\Source\FSA ID.Web UI Test\bin\Debug\FSS.UnitTests.pdb'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\FSA ID.Web UI Test\bin\Debug\NUnitAsp.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\FSA ID.Web UI Test\bin\Debug\FSS.UnitTests.dll'. [solution] Fixing up references... [solution] Building 'Common' [Debug] ... [attrib] Setting file attributes for 2 files to Normal. [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Common\bin\Debug\SraCommon.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Common\bin\Debug\SraCommon.pdb [solution] Project is up-to-date. [solution] Building satellite assemblies... [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Common\bin\Debug\SraCommon.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Common\bin\Debug\SraCommon.pdb'. [solution] Fixing up references... [solution] Building 'Queue Manager' [Debug] ... [attrib] Setting file attributes for 4 files to Normal. [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\bin\Release\SraCommon.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\bin\Release\SraCommon.pdb [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\bin\Release\SraFSSQueues.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\Queue Manager\bin\Release\SraFSSQueues.pdb [solution] Project is up-to-date. [solution] Building satellite assemblies... [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Queue Manager\bin\Release\SraFSSQueues.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Queue Manager\bin\Release\SraCommon.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Queue Manager\bin\Release\SraCommon.pdb'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\Queue Manager\bin\Release\SraFSSQueues.pdb'. [solution] Fixing up references... [solution] Building 'WebMethods Manager' [Debug] ... [attrib] Setting file attributes for 7 files to Normal. [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\bin\Debug\ActiveWorks.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\bin\Debug\SraCommon.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\bin\Debug\SraCommon.pdb [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\bin\Debug\SraFSSQueues.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\bin\Debug\SraFSSQueues.pdb [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\bin\Debug\SraIntegrationPhoenixWebMethodsManager.dll [attrib] C:\Model Development Tree\Source\Phoenix Communications Service\WebMethods Manager\bin\Debug\SraIntegrationPhoenixWebMethodsManager.pdb [solution] Project is up-to-date. [solution] Building satellite assemblies... [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\WebMethods Manager\bin\Debug\ActiveWorks.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\WebMethods Manager\bin\Debug\SraFSSQueues.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\WebMethods Manager\bin\Debug\SraCommon.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\WebMethods Manager\bin\Debug\SraCommon.pdb'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\WebMethods Manager\bin\Debug\SraIntegrationPhoenixWe bMethodsManager.dll'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\WebMethods Manager\bin\Debug\SraIntegrationPhoenixWe bMethodsManager.pdb'. [copy] Copying 0 files to 'C:\Model Development Tree\Source\Pho enix Communications Service\WebMethods Manager\bin\Debug\SraFSSQueues.pdb'. [solution] Fixing up references... [solution] Building 'FSS' [Debug] ... [attrib] No matching files or directories found. [solution] Compiling resources: [solution] - C:\DOCUME~1\Shahmed\LOCALS~1\Temp\adrfqsgc\http___localhost_fss_F SS.vbproj\Global.asax.resx BUILD FAILED Unexpected error while compiling project 'FSS': NAnt.Core.BuildException: Unexpected error while compiling project 'FSS' ---> Sy stem.ArgumentException: URI formats are not supported. at System.IO.Path.GetFullPathInternal(String path) at System.IO.DirectoryInfo..ctor(String path) at NAnt.VSNet.Resource.CompileResx(String solutionConfiguration) at NAnt.VSNet.Resource.Compile(String solutionConfiguration) at NAnt.VSNet.ManagedProjectBase.WriteCompilerOptions(StreamWriter sw, String solutionConfiguration) at NAnt.VSNet.ManagedProjectBase.Build(String solutionConfiguration) at NAnt.VSNet.ProjectBase.Compile(String solutionConfiguration) at NAnt.VSNet.SolutionBase.Compile(String solutionConfiguration) --- End of inner exception stack trace --- at NAnt.VSNet.SolutionBase.Compile(String solutionConfiguration) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Total time: 16.9 seconds. C:\Model Development Tree\Source>