Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Chad Mefferd / Chad Mefferd (MPDirector)
Created: 09/08/2010
Components: DotNet Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,0,251028 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
Trying to connect .NET 4.0 assembly to CF using .NET bridge. Thows the following errors: "Error","jrpp-221","09/08/10","12:18:01",,"Error in retrieving the referenced assembly""Error","jrpp-221","09/08/10","12:18:02",,"Aborting proxy generation as no classes were found in dependent class list. This might mean that the class MyNamespace.ProofTool was not present in the assembly"This works with .NET 3.5 generated assemblies but not 4.0. Will throw the same errors even with a simple "hello world" class
Method:
Create a .NET 4.0 class to return "Hello World" when called. Point to and call the class with cfobject similar to below.<cftry> <cfobject type="DOTNET" name="Test" class="MPG.Test.TestClass" assembly="D:\CFAssembly\MPG.Test.dll"><cfcatch type="Any">Something went wrong!<cfoutput>#cfcatch.detail#</cfoutput></cfcatch></cftry>
Result:
"Error","jrpp-221","09/08/10","12:18:01",,"Error in retrieving the referenced assembly""Error","jrpp-221","09/08/10","12:18:02",,"Aborting proxy generation as no classes were found in dependent class list. This might mean that the class MyNamespace.ProofTool was not present in the assembly"
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042132
External Customer Info:
External Company:
External Customer Name: Chad Mefferd
External Customer Email: 25F34A7344590EBD99201549
External Test Config: 09/08/2010
Attachments:
Comments: