BTDF / DeploymentFramework

The Deployment Framework for BizTalk is the most powerful and customizable, yet easy-to-use toolkit for deploying and configuring your BizTalk solutions.
MIT License
53 stars 24 forks source link

Test load failed! Could not load file or assembly 'nunit.framework...' #421

Open tfabraham opened 6 years ago

tfabraham commented 6 years ago

I set the option in the btdfproj file:

True Any CPU

This includes a Verify Deployment option on the start menu. However, I get the 'Test load failed!' error. But, when I do the following changes on the shortcut:

Target: "E:\Program Files (x86)\B2B.Inbound for BizTalk\1.0.38\Deployment\Framework\DeployTools\NUnitSubset\nunit.exe" /run

Start in: "E:\Program Files (x86)\B2B.Inbound for BizTalk\1.0.38\Deployment\Framework\DeployTools\NUnitSubset"

It works. Or, maybe I'm doing something wrong. Please let me know. Thanks.

This work item was migrated from CodePlex

CodePlex work item ID: '11135' Vote count: '1'

tfabraham commented 6 years ago

[defiestc@11/14/2016] I may have found a workaround. I modified the file RedistComponentGroup.xslt. According to the link http://www.tfabraham.com/BTDFDocs/V5_5/CustomizingtheDefaultWiXTemplate.html,

I changed the following line: from:

"[INSTALLDIR]$(var.DeploymentTest)" /run to: /run And, I was able to build and do a Verify Deployment. Thanks.