[nant-dev] (no subject)
Got the following exception trying to build a solution including about 20 VB.NET projects. I'm using RC1 but I got the latest SolutionTask.cs from CVS. Buildfile: file:///c:/tms.nant.build Base Directory: c:\. buildAllSolution: [solution] Starting solution build. [solution] Included projects: [solution] Reference projects: Total time: 5 seconds. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.VSNet.Tasks.Reference..ctor(Solution sln, ProjectSettings ps, XmlElement elemReference, Task nanttask) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Reference.cs:line 41 at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Project.cs:line 129 at NAnt.VSNet.Tasks.Solution.LoadProjects() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Solution.cs:line 171 at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList alAdditionalProjects, ArrayList alReferenceProjects, Task nanttask) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Solution.cs:line 89 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 108 at NAnt.Core.Task.Execute() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Task.cs:line 142 at NAnt.Core.Target.Execute() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Target.cs:line 137 at NAnt.Core.Project.Execute(String targetName) in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Project.cs:line 579 at NAnt.Core.Project.Execute() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Project.cs:line 562 at NAnt.Core.Project.Run() in C:\dev_tools\nant-0.8.3-rc1\src\NAnt.Core\Project.cs:line 603 This email message and any attachments are for the sole use of the intended recipient(s) and contain confidential and/or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message and any attachments.
[nant-dev] Nant Bug Report? Solution Task
I'm getting the following error when trying to use the solution task to build a trivial hello world style ASP.Net application. I've also attached the sln file and the build file. Any ideas? Phil NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Framework net-1.1 is invalid and has not been loaded : Framework directory C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 does not exist. Framework netcf-1.0 is invalid and has not been loaded : Framework directory C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 does not exist. Framework mono-1.0 is invalid and has not been loaded : Property 'sdkInstallRoot' has not been set! Framework mono-1.0-linux is invalid and has not been loaded : Framework directory /usr/local/bin does not exist. Framework sscli-1.0 is invalid and has not been loaded : Framework directory C:\sscli\build\v1.x86fstchk.rotor does not exist. Buildfile: file:///D:/Projects/NAntTest/NAntTestWebSoln/soln.build Base Directory: D:\Projects\NAntTest\NAntTestWebSoln. build: [solution] Starting solution build. [solution] Included projects: [solution] Reference projects: http://localhost/NAntTest/NAntTest.vbproj http://localhost/NAntTest/NAntTest.vbproj http_//localhost/NAntTest/NAntTest.vbproj http___localhost_NAntTest_NAntTest.vbproj http___localhost_NAntTest_NAntTest.vbproj C:\DOCUME~1\sres002\LOCALS~1\Temp\alky9fgc\http___localhost_NAntTest_NAntTes t.vbproj BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.VSNet.Tasks.Reference..ctor(Solution sln, ProjectSettings ps, XmlElement elemReference, Task nanttask) in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.VSNet\Reference.cs:line 88 at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename) in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.VSNet\Project.cs:line 129 at NAnt.VSNet.Tasks.Solution.LoadProjects() in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.VSNet\Solution.cs:line 171 at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList alAdditionalProjects, ArrayList alReferenceProjects, Task nanttask) in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.VSNet\Solution.cs:line 89 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.VSNet\Tasks\SolutionTask.cs :line 108 at NAnt.Core.Task.Execute() in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.Core\Task.cs:line 142 at NAnt.Core.Target.Execute() in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.Core\Target.cs:line 137 at NAnt.Core.Project.Execute(String targetName) in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.Core\Project.cs:line 613 at NAnt.Core.Project.Execute() in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.Core\Project.cs:line 596 at NAnt.Core.Project.Run() in D:\Development\Nant\nant-0.8.3-rc1\nant\src\NAnt.Core\Project.cs:line 637 Please send bug report to [EMAIL PROTECTED] Total time: 1.3 seconds. -- DISCLAIMER: This email and files transmitted are confidential and are intended solely for the use of the intended recipient. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you may not copy, disclose, distribute or use it in any unauthorised manner. If you have received this email in error please notify us by telephoning on 01902-554455 or by email to [EMAIL PROTECTED] and then delete it and any attachments accompanying it. Please note that Wolverhampton City Council cannot guarantee that this message or any attachments are virus free or have not been intercepted and amended. Any views or opinions expressed within this email are those of the author and may not necessarily reflect those of Wolverhampton City Council and no contractual arrangement is intended to arise from this communication. == NAntTestWebSoln.sln Description: Binary data soln.build Description: Binary data
Re: [nant-dev] Building solution works in VS.NET but not when usingNAnt solution task
This is a bug. I'm pretty sure it's fixed in CVS. Use the lowercase version of your configuration (ie: release) instead of Release. [EMAIL PROTECTED] wrote: I have built some projects successfully and have made sure that the dependencies are build in order, however, when NAnt tries to compile one project in particular it prints out the following: System.Exception: Unable to find appropriate configuration for project reference at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList alCSC Arguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName) at NAnt.Core.Tasks.CallTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() When running in VS.NET the build works fine. I have checked the .csproj file and nothing looks suspicious. Any help or ideas would be appreciated. regards, Chris --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Using TlbImp Without VS.NET Installed
Part of our .NET software requires use of a .NET wrapper around a COM object. As such, during a build (using the sln / taks), tlbimp.exe is called create the wrapper. This works fine on machines with Visual Studio installed. However, on our build/deployment/qa/production servers, visual studio will NOT be installed. My question: how can I get the tlbimp.exe to work without visual studio .net installed? I have tried copying over all the binaries from \Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin, but that doesn't work. Any suggestions? : Aaron Jensen : [EMAIL PROTECTED] : 800.237.6335 ext 421 : Financial Profiles : www.profiles.com --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Using TlbImp Without VS.NET Installed
Install the framework SDK. This includes all of the utilities required to fully build a VS.NET solution, minus devenv.exe. Aaron Jensen wrote: Part of our .NET software requires use of a .NET wrapper around a COM object. As such, during a build (using the sln / taks), tlbimp.exe is called create the wrapper. This works fine on machines with Visual Studio installed. However, on our build/deployment/qa/production servers, visual studio will NOT be installed. My question: how can I get the tlbimp.exe to work without visual studio .net installed? I have tried copying over all the binaries from \Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin, but that doesn't work. Any suggestions? : Aaron Jensen : [EMAIL PROTECTED] : 800.237.6335 ext 421 : Financial Profiles : www.profiles.com --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers