[Mono-aspnet-list] How to use WCF service in monodevelop

Alexander M. Batishchev abatishchev at godfather.net.ru
Sun May 27 12:30:15 UTC 2012


Seems that indirectly (or directly) referenced test-purpose assembly is
targeted .NET ver. 4.0, isn't it? Have you tried target the whole project to
.NET 4.0?

Alex

-----Original Message-----
From: mono-aspnet-list-bounces at lists.ximian.com
[mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of deep
Sent: Wednesday, May 23, 2012 4:33 PM
To: mono-aspnet-list at lists.ximian.com
Subject: [Mono-aspnet-list] How to use WCF service in monodevelop

Hi,

 I have create wcf service in vs3.5 and use that service in monodevelop it
buils successfully but when I m open that application in browser from
virtual directory it give Error:

Server Error in '/WcfService_Mono' Application.

Could not load file or assembly 'monotest' or one of its dependencies. This
assembly is built by a runtime newer than the currently loaded runtime and
cannot be loaded. 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.BadImageFormatException: Could not load file or
assembly 'monotest' or one of its dependencies. This assembly is built by a
runtime newer than the currently loaded runtime and cannot be loaded.

Source Error: 
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below. 

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'monotest' could not be loaded. 

--
View this message in context:
http://mono.1490590.n4.nabble.com/How-to-use-WCF-service-in-monodevelop-tp46
49506.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list