|
Home > Archive > BizTalk Server General > May 2006 > Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration
|
|
| Sudhir Darbha 2006-05-23, 1:15 pm |
| Can we use .NET 2.0 Assemblies in BizTalk 2004?
I would like to invoke a static method from a component developed in .NET
2.0. The BizTalk 2004 project wouldn't let me add a reference to the .NET 2.0
assembly which is in GAC.
Any help is appreciated.
Thank you,
Sudhir.
| |
| Doug Girard [MSFT] 2006-05-23, 7:15 pm |
| Sudhir,
BizTalk Server 2004 runs in the 1.1 CLR, so it is not possible to invoke a
.NET 2.0 method from within this process directly. To work around this,
you'll need to place the .NET 2.0 assembly out-of-process and invoke the
method some other way, e.g web services, COM+, or otherwise.
HTH,
Doug Girard [MSFT]
Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>Thread-Topic: Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration
>thread-index: AcZ+g8PxMspy/WPJSqe/x1+GJ6v/bw==
>X-WBNR-Posting-Host: 204.9.5.119
>From: =?Utf-8?B?U3VkaGlyIERhcmJoYQ==?=
<SudhirDarbha@discussions.microsoft.com>
>Subject: Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration
>Date: Tue, 23 May 2006 09:13:02 -0700
>Lines: 7
>Message-ID: <8192BB72-DACF-482B-93DA-6EE5578C7647@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.biztalk.general
>Path: TK2MSFTNGXA01.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:37764
>NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Can we use .NET 2.0 Assemblies in BizTalk 2004?
>I would like to invoke a static method from a component developed in .NET
>2.0. The BizTalk 2004 project wouldn't let me add a reference to the .NET
2.0
>assembly which is in GAC.
>Any help is appreciated.
>Thank you,
>Sudhir.
>
| |
| Scott Colestock 2006-05-23, 7:15 pm |
| Two things -
1) you always need an assembly to reside in the file system (outside the
gac) in order to reference it
2) you won't be able to reference your 2.0 assembly from vs2003
Scott Colestock
www.traceofthought.net
"Sudhir Darbha" <SudhirDarbha@discussions.microsoft.com> wrote in message
news:8192BB72-DACF-482B-93DA-6EE5578C7647@microsoft.com...
> Can we use .NET 2.0 Assemblies in BizTalk 2004?
> I would like to invoke a static method from a component developed in .NET
> 2.0. The BizTalk 2004 project wouldn't let me add a reference to the .NET
> 2.0
> assembly which is in GAC.
> Any help is appreciated.
> Thank you,
> Sudhir.
|
|
|
|
|