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.