BizTalk Server General - missing assembly reference?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > June 2005 > missing assembly reference?





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 missing assembly reference?
BT

2005-05-31, 6:01 pm

I am using C# code within a custom functoid and I'm trying to use the
System.Collections.Specialized.StringDictionary object without success. I
have the object long typed (as above), yet I get the error message "The type
or namespace 'Specialized' does not exist in the class or namespace
'System.Collections'" when I try to build or test the map. I do have System
referenced within the project.

Any suggestions?
Jon Flanders[MVP]

2005-05-31, 8:50 pm

If you mean you are doing this in a Scripting Functoid using C# - you are
out of luck. You'll need to use a linked assembly to use this class. The
XSLT processor in .NET (which is what is executing the inline script)
doesn't allow you to use that namespace.

--
Jon Flanders
http://www.masteringbiztalk.com/blogs/jon/

"BT" <BT@discussions.microsoft.com> wrote in message
news:AF000058-8EFC-4082-9B1A-C0F93F509CF4@microsoft.com...
>I am using C# code within a custom functoid and I'm trying to use the
> System.Collections.Specialized.StringDictionary object without success. I
> have the object long typed (as above), yet I get the error message "The
> type
> or namespace 'Specialized' does not exist in the class or namespace
> 'System.Collections'" when I try to build or test the map. I do have
> System
> referenced within the project.
>
> Any suggestions?



Tom Abraham

2005-06-01, 2:48 am

Read "Scripting Using Inline C#, JScript .NET, and Visual Basic .NET" topic
in BizTalk Help documentation. It lists the namespaces that are available in
an Inline Script.

[ta]


"BT" wrote:

> I am using C# code within a custom functoid and I'm trying to use the
> System.Collections.Specialized.StringDictionary object without success. I
> have the object long typed (as above), yet I get the error message "The type
> or namespace 'Specialized' does not exist in the class or namespace
> 'System.Collections'" when I try to build or test the map. I do have System
> referenced within the project.
>
> Any suggestions?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com