We are in the process of upgrading BizTalk to 2013 R2 from BizTalk 2006 R2.
In an orchestration we are dynamic using map type classes.
It works fine in 2006 R2, 2010 but not 2013 R2.
When I run the below code in VS 2008 it retrieves the class types from the assemblies.
In VS 2013 it does not. Why?
//CCIJIS_WarrantClearRequest_X_MCIJIS_CLWR
string typeName = "x";
string className = "x";
Type mapType = Type.GetType("MCIJIS_RCLW_X_CCIJIS_WarrantClearResponse, CCIJIS.State.Transforms, Version=1.2.0.0, Culture=neutral, PublicKeyToken=d18be0be6c153b84");
mapType =
Type.GetType("CCIJIS.State.Transforms.MCIJIS_RCLW_X_CCIJIS_WarrantClearResponse");
if (mapType == null)
foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())
{
if (a.FullName.Contains("CCIJIS.State.Transforms"))
{
typeName = a.FullName;
mapType = a.GetType(a.FullName);
foreach (Type type in a.GetTypes())
{
className = type.FullName;
}
}
}