Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# dfoderick 1/22/2005 8:08 AM
I am trying to build using Nant on a Windows 2003 machine. It built core and servercontrols but tt won't build the web project.

NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Inetpub/Cuyahoga/Cuyahoga.build
Target(s) specified: build


init:


debug:


build:

[echo] Building Cuyahoga-0.5.2-debug...
[echo] Build Directory is C:\Inetpub\Cuyahoga/build/net-1.1.win32/Cuyahoga-
0.5.2-debug

build.core:


build.servercontrols:


build.web:

[csc] Compiling 48 files to 'C:\Inetpub\Cuyahoga\build\net-1.1.win32\Cuyah
oga-0.5.2-debug\bin\Cuyahoga.Web.dll'.

BUILD FAILED

The SDK for the 'net-1.1' framework is not available or not configured.

Total time: 0.5 seconds.
# dfoderick 1/22/2005 8:15 AM
Nant with verbose:

build.web:

[csc] Output file 'C:\Inetpub\Cuyahoga\build\net-1.1.win32\Cuyahoga-0.5.2-
debug\bin\Cuyahoga.Web.dll' does not exist, recompiling.
[csc] Compiling 48 files to 'C:\Inetpub\Cuyahoga\build\net-1.1.win32\Cuyah
oga-0.5.2-debug\bin\Cuyahoga.Web.dll'.
[resgen] Output file 'C:\Inetpub\Cuyahoga\Web\Controls\Resources\
Strings.nl.resources' does not exist, recompiling.


Looks like it is looking for the Strings.nl.resouces file but its not in the download.
# martijnb 1/22/2005 9:50 AM
dfoderickNant with verbose:

[resgen] Output file 'C:\Inetpub\Cuyahoga\Web\Controls\Resources\
Strings.nl.resources' does not exist, recompiling.


Looks like it is looking for the Strings.nl.resouces file but its not in the download.

Hmm, that's strange. I tried to build it from the download package and it succeeded but with one non-fatal error. This is perhaps caused due to the fact that /Web/Controls/Resources/Strings.nl.resx doen't have any entries and therefore Strings.nl.resources might not be generated.
Could you try if adding an entry to the Strings.nl.resx file solves your problem? Alternatively you can remove the wildcard in the buildfile for the resources that have to be included, so only the default Strings.resx is included (change Web/Controls/**/Strings*.resx to Web/Controls/**Strings.resx).
# dfoderick 1/22/2005 9:59 AM
I was able to compile with Visual studio on another machine and copy the output to my production web server so I'll have to try your suggestion later.

Thanks.
# wolf 2/1/2005 1:22 AM
If you have NAnt error like that 'The SDK for the 'net-x.x' framework is not available or not configured.' then you should correct Cuyahoga.build file. Add next string to project section
<property name="nant.settings.currentframework" value="net-x.x"/>
where "net-x.x" it's Framework which you used with installed Visual Studio Net.
This's error happened when on you machine installed more than one framework.