Hi!
I've got a real big problem...
This is part of my .build file:
<target name="clientdataservice" description="ClientDataService"
depends="utilities,iclientdataservice">
<csc target="library" output="${targetdir}\ClientDataService.dll"
debug="${debug}" verbose="true">
<references basedir="${targetdir}">
<includes name="Utilities.dll" />
<includes name="IClientDataService.dll" />
</references>
<resources basedir="${sourcedir}\DataService\DataService">
<includes name="Adapter.resx" />
</resources>
<sources basedir="${sourcedir}\DataService\DataService">
<includes name="Adapter.cs" />
<includes name="AdapterBuilder.cs" />
<includes name="AssemblyInfo.cs" />
<includes name="ClientDataService.cs" />
<includes name="DataCon.cs" />
</sources>
</csc>
</target>
NAnt builds the targets utilities and iclientdataservice right before this (the
assemblies are in the targetdir directory). But when it tries to build this target,
NAnt prints this message:
utilities:
[csc] Compiling 5 files to E:\NET\Projects\EPP\Build\Client\Utilities.dll
iclientdataservice:
[csc] Compiling 2 files to
E:\NET\Projects\EPP\Build\Client\IClientDataService.dll
clientdataservice:
[csc] Compiling 5 files to E:\NET\Projects\EPP\Build\Client\ClientDataService.dll
[csc] Contents of C:\DOKUME~1\a34442\LOKALE~1\Temp\tmp2B.tmp
/fullpaths
/nologo
"/target:library"
"/out:E:\NET\Projects\EPP\Build\Client\ClientDataService.dll"
"/reference:E:\NET\Projects\EPP\Build\Client\IClientDataService.dll"
"/reference:E:\NET\Projects\EPP\Build\Client\Utilities.dll"
"/resource:E:\NET\Projects\EPP\DataService\DataService\Adapter.resources,Itergo.
Epp.Services.Data.Adapter.resources"
"E:\NET\Projects\EPP\DataService\DataService\Adapter.cs"
"E:\NET\Projects\EPP\DataService\DataService\AdapterBuilder.cs"
"E:\NET\Projects\EPP\DataService\DataService\AssemblyInfo.cs"
"E:\NET\Projects\EPP\DataService\DataService\ClientDataService.cs"
"E:\NET\Projects\EPP\DataService\DataService\DataCon.cs"
[csc] Starting 'C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.exe
(@C:\DOKUME~1\a34442\LOKALE~1\Temp\tmp2B.tmp)' in 'E:\NET\Projects\EPP\Build\Build'
BUILD FAILED
E:\NET\Projects\EPP\Build\Build\EPP.build.xml(95,4):
External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.exe return 1
Output:
E:\NET\Projects\EPP\DataService\DataService\ClientDataService.cs(33,11): error CS0118:
'Util' denotes a 'namespace' where a 'class' was expected
There is a private member in ClientDataService.cs mUtil of class Util in a namespace
somewhere below in Utilities. dll. I found out, that in some assemblies of the .NET
framework there is a namespace called Util, but those assemblies are not referenced.
What can I do to solve this problem?
Thanks in advance
Jochen Berger
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users