views:

22

answers:

1

Hello,

I am working on Biztalk 2006 R2 (With ESB guidance 1.0) I recently ended a development of a new model (Dot net model) on VS 2010 with dot net framework 4.0, the new model uses 4.0 features and cannot be downgraded. I have found out that the GAC was changed in the new 4.0 framework and is placed in a diffrent location (link text) One of my orchestrations uses the 4.0 assembly to extend functionality. I registered the assembly in the GAC (the new GAC) but i keep getting the error: Could not load file or assembly 'MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0177fe918f6918aa' or one of its dependencies. The system cannot find the file specified.

Is it even possible to work with Biztalk 2006 R2 and call a dot net 4.0 assembly (using reference)?

Thanks in advance

Itay

P.S My alternative is to expose the 4.0 model as WCF service and call it from the Biztalk but i want to save it for last)

A: 

Given the Biztalk roadmap I suspect that you'll need to wait for Biztalk 2010, where one of the new features is .NET 4.0. Presumably Biztalk 2006 R2 is running the CLR v2, so trying to load everything there.

If you absolutely need features of .NET 4.0, can you run your own server separately, and then talk to that from a proxying layer written in .NET 3.5?

Jon Skeet
I think i will go with the WCF solution (calling my clr 4.0 after i warped it with WCF)
IB