Re: [NUnitAsp-devl] Building NUnit - Specified file cannot be found: NUnitAsp.snk
Brought to you by:
jlittle82
From: Jim S. <js...@ti...> - 2005-04-29 16:37:58
|
This is a recurring issue. The problem is that 'sn.exe' is not on your path; however, I'm not sure why it's not working when the DotNetToolsDir is set properly. Jim Ted Husted wrote: > I checked out the NUnitAsp module this morning via anonymous CVS, and > tried the NAnt build in order to obtain a crytographic key. > > The first run the build failed because it could not find the DotNetToolsDir. > > I set the DotNetToolsDir environment variable to what I believe is the > correct location for my system > (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322). > > The second run the build failed because "The system cannot find the > file specified", which is apparently the "NUnitAsp.snk" file at line > 83 of NUnitAsp.build. > > The dump for the two runs is annexed. > > Any pointers would be appreciated. > > TIA, Ted. > > Directory of C:\projects\SourceForge\nunitasp\NUnitAsp > > 04/29/2005 09:39 AM <DIR> . > 04/29/2005 09:39 AM <DIR> .. > 08/18/2003 03:03 PM 36 .cvsignore > 04/29/2005 09:35 AM <DIR> CVS > 04/29/2005 09:35 AM <DIR> doc > 04/29/2005 09:35 AM <DIR> lib > 12/07/2003 02:42 AM 1,584 license.txt > 03/16/2003 06:54 PM 569 nant.bat > 11/05/2004 12:44 PM 8,431 NUnitAsp.build > 04/29/2005 09:39 AM 2,008 NUnitAsp.sln > 09/10/2002 03:01 AM 1,875 NUnitAsp.sln.old > 12/16/2003 05:21 AM 921 readme.html > 04/29/2005 09:35 AM <DIR> sample > 04/29/2005 09:35 AM <DIR> source > 04/29/2005 09:39 AM <DIR> _ReSharper.NUnitAsp > 7 File(s) 15,424 bytes > 8 Dir(s) 2,059,177,984 bytes free > > C:\projects\SourceForge\nunitasp\NUnitAsp>nant > . > Warning: Could not find DotNetToolDir environment variable > . > set DotNetToolDir=c:\windows\Microsoft.NET\Framework\v1.0.3705;C:\Program Files\ > Microsoft Visual Studio .NET\FrameworkSDK\bin > lib\nant\nant > . > NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003) > Copyright (C) 2001-2003 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///C:/projects/SourceForge/nunitasp/NUnitAsp/NUnitAsp.build > Target(s) specified: test > > build_dir: > > [mkdir] Creating directory C:\projects\SourceForge\nunitasp\NUnitAsp\build. > [mkdir] Creating directory C:\projects\SourceForge\nunitasp\NUnitAsp\build\b > in. > > keypair: > > [exec] sn -k NUnitAsp.snk > > BUILD FAILED > > C:\projects\SourceForge\nunitasp\NUnitAsp\NUnitAsp.build(83,6): > [exec] sn failed to start. > The system cannot find the file specified > > Total time: 0.2 seconds. > > C:\projects\SourceForge\nunitasp\NUnitAsp>set DotNetToolDir=C:\WINDOWS\Microsoft > .NET\Framework\v1.1.4322 > > C:\projects\SourceForge\nunitasp\NUnitAsp>nant > . > lib\nant\nant > . > NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003) > Copyright (C) 2001-2003 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///C:/projects/SourceForge/nunitasp/NUnitAsp/NUnitAsp.build > Target(s) specified: test > > build_dir: > > keypair: > > [exec] sn -k NUnitAsp.snk > > BUILD FAILED > > C:\projects\SourceForge\nunitasp\NUnitAsp\NUnitAsp.build(83,6): > [exec] sn failed to start. > The system cannot find the file specified > > Total time: 0.1 seconds. > > C:\projects\SourceForge\nunitasp\NUnitAsp> > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix > _______________________________________________ > NUnitAsp-devl mailing list > NUn...@li... > https://lists.sourceforge.net/lists/listinfo/nunitasp-devl -- James Shore - Titanium I.T. LLC - Successful Software Upcoming presentation: "Offing the Offsite Customer" Oregon Graduate Institute, May 10th. http://tinyurl.com/9vucu phone: 503-267-5490 email: js...@ti... |