BizTalk Gurus
Follow-up on Enabling BizTalk Unit Testing for Schemas and Maps
Stephen W. Thomas BizTalk MVP

Syndication

This is a follow up to my post yesterday.  I was setting up some automated unit tests for BizTalk 2009 in Release mode.  I received the following errors. 

CIDemo.Schemas.InputSchema does not contain a definition for 'ValidateInstance' and no extension method 'ValidateInstance' accepting a first argument of type 'CIDemo.Schemas.InputSchema' could be found (are you missing a using directive or an assembly reference?)

CIDemo.Maps.Input_To_Output does not contain a definition for 'TestMap' and no extension method 'TestMap' accepting a first argument of type 'CIDemo.Maps.Input_To_Output' could be found (are you missing a using directive or an assembly reference?)

CIDemo.Maps.Input_To_Output does not contain a definition for 'ValidateOutput' and no extension method 'ValidateOutput' accepting a first argument of type 'CIDemo.Maps.Input_To_Output' could be found (are you missing a using directive or an assembly reference?)

This is because the value under Unit Testing: Enable Unit Testing are Configuration Specific as seen below.  The default is False.  So moving to Release mode reset the values.

BizTalk Properties

I also noticed the Application Name is Configuration specific as well. 

Just something to keep in mind when changing configurations in BizTalk 2009.


Posted Tue, Apr 14 2009 7:37 PM by Stephen W. Thomas
Filed under: ,

Comments

Anonymous wrote re: Follow-up on Enabling BizTalk Unit Testing for Schemas and Maps
on Thu, Feb 18 2010 2:31 PM

Interesting, for additional ideas about BizTalk Unit Tests see: whiteboardworks.com

Add a Comment

(optional )  
(optional )
(required )  
Remember Me?

 
Spam Control: Type the word BIZTALK here: