BizTalk references. Net Assembly

Source: Internet
Author: User

1. In the Expression of Orchestration, hitting cannot pull the attribute defined in Assembly.

Write a. net assembler serializable by yourself. Define the private field according to the general practice, and then wrap it with the public property, hoping to read and write the public property operation in orchestration,
However, the property cannot be pulled by hitting in expression, and only public field can be pulled.

Public string m_methodname;

Public string Methodname
{
Set
{
M_methodname = value;
}
}

That is to say, it can only be pulled to m_methodname. It cannot be pulled to the Methodname attribute. Solution: add get to the attribute.

Public string Methodname
{
Set
{
M_methodname = value;
}
Private get // you can also use private modification here
{
Return m_methodname;
}
}

It is found that even if the private get is added, it can be pulled in orchestration. Of course, it cannot be used for outgoing values.

It seems that the property integrity is verified in orchestration.

2. BizTalk reference. Net Assembly cannot be automatically updated

After the assembly is re-compiled, it is not automatically updated in the biztalk project. You need to delete the reference and re-add it to make it take effect.

Solution: select the referenced assembly, view the attribute, change the Copy local attribute from ture to false, and then change the attribute from false to true.

Changing the Copy Local property refreshes the reference. theoretically, you shocould be able to set the Copy Local property to False, as that is the setting that ensures that the contents of the EAISchemas project are available to the EAIOrchestrations project. there is an issue with Visual Studio 2005, however, that makes this inadvisable. for more information, see the Knowledge Base article 313512 , "BUG:" cocould not copy temporary files to the output directory "error message when you build a solution that contains multiple projects" available at http://go.microsoft.com/fwlink? LinkId = 62208.

 

 

PS: Thanks for the help of chnking.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.