[nant-dev] Please give me the solution for the problem ASAP-Thanks
Hi, When i execute the Nant build file,its showing the following error Buildfile: file:///C:/Documents and Settings/Arun/My Documents/Visual Studio Projects/NAntBuildAndNunit/Nantbuild.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: test [property] Read-only property "build.dir" cannot be overwritten. build: test: BUILD FAILED- 0 non-fatal error(s), 1 warning(s) INTERNAL ERROR System.IO.FileLoadException: The located assembly 'nunit. core' is not strongly named. File name: "nunit.core" at NAnt.NUnit2.Tasks.NUnit2Task.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() Please send bug report to [EMAIL PROTECTED] Total time: 1.5 seconds. Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP.
RE: [nant-dev] Please give me the solution for the problem ASAP-Thanks
Arun, Are you sure you've installed NAnt correctly ? Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of arun kumar Sent: zaterdag 14 januari 2006 10:58 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Please give me the solution for the problem ASAP-Thanks Hi, When i execute the Nant build file,its showing the following error Buildfile: file:///C:/Documents and Settings/Arun/My Documents/Visual Studio Projects/NAntBuildAndNunit/Nantbuild.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: test [property] Read-only property build.dir cannot be overwritten. build: test: BUILD FAILED- 0 non-fatal error(s), 1 warning(s) INTERNAL ERROR System.IO.FileLoadException: The located assembly 'nunit. core' is not strongly named. File name: nunit.core at NAnt.NUnit2.Tasks.NUnit2Task.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() Please send bug report to [EMAIL PROTECTED] Total time: 1.5 seconds. Yahoo! Photos Got holiday prints? See all the ways http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http:/ /pa.yahoo.com/ *http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*htt p://pg.photos.yahoo.com/ph//print_splash to get quality prints in your hands ASAP. --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Please give me the solution for the problem ASAP-Thanks
arun kumar wrote: Hi, When i execute the Nant build file,its showing the following error *BUILD FAILED*- 0 non-fatal *error*(s), 1 warning(s) INTERNAL *ERROR* System.IO.FileLoadException: The located assembly 'nunit. core' is not strongly named. File name: nunit.core When you say The Nant Build File, do you mean you are trying to compile NAnt from source, or you're trying to use NAnt to build something else? (I only ask because the build file being executed is called NantBuild.Build, which looks incorrect.) At any rate, the error here just means that .NET located a copy of NUnit to load that was not signed. This is probably because the NAnt executable or one of it's assemblies was strongly named, and you can't load the unnamed assembly from a named assembly. Since it looks like you're compiling NUnit from source as well, you just need to make sure the NUnit assemblies aren't anywhere .NET will find them while building NAnt. NAnt ships with signed copies of NUnit's assemblies, which will load without running into this problem. If you rebuild all of NAnt and NUnit from source, you should then be able to use them together, since nothing will be strongly named and the Framework will not complain. --Mike --- 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://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers