[MonoDevelop] WG: Off Topic: NAnt on Linux error CS0234

niklas.albers at main-it.de niklas.albers at main-it.de
Thu Jun 10 02:42:05 EDT 2010


Hi all,

I posted this on the NAnt maling list a week ago. But sadly I got no 
response...

Maybe this problem is known by a user on this list:


================================================================

Hi all,

I'm using the NAnt 0.9 release on Linux 11.2/Gnome.
Monodevelop 2.4 (Beta)
Mono 2.6.3

This error is not new to the list: My problem is, that the code compiles 
with Monodevelop but not with NAnt. It stops with error CS0234. See build 
output below. Funny is that the error detail belongs to standard mono 
libraries/DLLs. This might be a configuration problem, but I cannot figure 
out what it is...

Maybe one could give me a clue...

Regards

Niklas


Build output (snippet):

[csc]
/home/dev/Silva/Source/Ways/Core/Application/ServiceRequest/Client/Soap/Serv
iceRequestSoapProxy.cs(55,67): error CS0234: The type or namespace name 
`Services' does not exist in the namespace `System.Web'. Are you missing 
an assembly reference?
[csc]
/home/dev/Silva/Source/Ways/Core/DataAccess/Provider/Ado/AdoDataAccessProvid
erConfiguration.cs(2,14): error CS0234: The type or namespace name `Data'
does not exist in the namespace `System'. Are you missing an assembly 
reference?
[csc] Compilation failed: 2 error(s), 275 warnings


Assembly data (from Monodevelop):

// Assembly System.Data, Version 2.0.0.0 [AssemblyTitle 
("System.Data.dll")] [AssemblyDescription ("System.Data.dll")] 
[AssemblyDefaultAlias ("System.Data.dll")] [AssemblyCompany ("MONO 
development team")] [AssemblyProduct ("MONO Common language 
infrastructure")] [AssemblyCopyright ("(c) various MONO Authors")] 
[SatelliteContractVersion ("2.0.0.0")] [AssemblyInformationalVersion 
("2.0.50727.1433")] [CLSCompliant (true)] [NeutralResourcesLanguage 
("en-US")] [ComVisible (false)] [AllowPartiallyTrustedCallers ()] 
[AssemblyDelaySign (true)] [AssemblyKeyFile ("../ecma.pub")] 
[AssemblyFileVersion ("2.0.50727.1433")] [ComCompatibleVersion (1, 0, 
3300, 0)] [InternalsVisibleTo ("System.Design,
PublicKey=002400000480000094000000060200000024000052534131000400000100010007
d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dc
c1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5
efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a
12436518206dc093344d5ad293")]
[InternalsVisibleTo ("System.Web,
PublicKey=002400000480000094000000060200000024000052534131000400000100010007
d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dc
c1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5
efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a
12436518206dc093344d5ad293")]
[RuntimeCompatibility ()]


// Assembly System.Web.Services, Version 2.0.0.0 [AssemblyTitle 
("System.Web.Services.dll")] [AssemblyDescription 
("System.Web.Services.dll")] [AssemblyDefaultAlias 
("System.Web.Services.dll")] [AssemblyCompany ("MONO development team")] 
[AssemblyProduct ("MONO Common language infrastructure")] 
[AssemblyCopyright ("(c) various MONO Authors")] [SatelliteContractVersion 
("2.0.0.0")] [AssemblyInformationalVersion ("2.0.50727.1433")] 
[NeutralResourcesLanguage ("en-US")] [ComVisible (false)] 
[AllowPartiallyTrustedCallers ()] [CLSCompliant (true)] [AssemblyDelaySign 
(true)] [AssemblyKeyFile ("../msfinal.pub")] [AssemblyFileVersion 
("2.0.50727.1433")] [CompilationRelaxations (8)] [Debuggable (2)] 
[RuntimeCompatibility ()]



GAC info:

dev at linux-gh99:~/Silva/Release/Build> locate System.Web.Services.dll 
/home/dev/.config/MonoDevelop/CodeCompletionData/_usr_lib_mono_2.0_System.Web.Services.dll.pidb
/usr/lib/mono/1.0/System.Web.Services.dll
/usr/lib/mono/2.0/System.Web.Services.dll
/usr/lib/mono/gac/System.Web.Services/1.0.5000.0__b03f5f7f11d50a3a/System.Web.Services.dll
/usr/lib/mono/gac/System.Web.Services/1.0.5000.0__b03f5f7f11d50a3a/System.Web.Services.dll.mdb
/usr/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
/usr/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll.mdb

dev at linux-gh99:~/Silva/Release/Build> locate System.Data.dll 
/home/dev/.config/MonoDevelop/CodeCompletionData/_usr_lib_mono_2.0_System.Data.dll.pidb
/usr/lib/mono/1.0/System.Data.dll
/usr/lib/mono/2.0/System.Data.dll
/usr/lib/mono/gac/System.Data/1.0.5000.0__b77a5c561934e089/System.Data.dll
/usr/lib/mono/gac/System.Data/1.0.5000.0__b77a5c561934e089/System.Data.dll.mdb
/usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
/usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll.mdb
dev at linux-gh99:~/Silva/Release/Build>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100610/f2918e25/attachment.html 


More information about the Monodevelop-list mailing list