1

Closed

WSDLGenerator doesn't address targetFrameworkVersion 4.0 web services assemblies

description

Hi,
 
When I use WSDLGenerator on a web service assembly built with VS2010 and targetFrameworkVersion 4.0, WSDLGenerator generates the following exception :
 
Unhandled Exception: System.Exception: There was an error while opening assembly 'D:...\IFS.Services.Sec.dll' ---> System.BadImageFormatException: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (Exception from HRESULT: 0x8013101B)
at System.Reflection.Assembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at WSDLGenerator.WSDLGenerator..ctor(String path, String servicename, Boolean verbose)
--- End of inner exception stack trace ---
at WSDLGenerator.WSDLGenerator..ctor(String path, String servicename, Boolean verbose)
at WSDLGeneratorCmd.Program.Main(String[] commandArgs)
 
How can I fix this issue ?
 
I guess I need to rebuild WSDLGenerator with targetFrameworkVersion = 4.0 but I'm not successful building the solution :/
 
Any help would be great ;)
 
Regards,
 
 
Stéphane RZETELNY.
Closed Dec 13, 2011 at 7:33 AM by stefh

comments

wrote Dec 13, 2011 at 7:33 AM

Resolved with changeset 71807.

icnocop wrote Feb 17, 2012 at 1:56 AM

I think the home page will need to be updated to reflect this change as it currently says .net 3.5. Thank you.

wrote Feb 14, 2013 at 2:46 AM

wrote May 16, 2013 at 9:18 AM