|
Good Afternoon,
I'm trying DevForce out for the first time, and was cruising through the documentation, till I got stuck on unit testing. I keep getting the error below when trying to run a simple constructor test, with the expected exception attribute. Anyone have a clue? Thanks!
Warning: Test Run deployment issue: Failed to deploy dependencies for test storage 'Path to the DLL goes here': System.Runtime.Serialization.SerializationException: Type 'IdeaBlade.Util.Locale' in assembly 'IdeaBlade.Util, Version=3.6.1.1, Culture=neutral, PublicKeyToken=287b5094865421c0' is not marked as serializable. at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityAttributes) at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadStrategy.GetDependentAssemblies(String path) at Microsoft.VisualStudio.TestTools.Utility.AssemblyHelper.GetDependentAssemblies(String path, DependentAssemblyOptions options, String configFile) at Microsoft.VisualStudio.TestTools.TestManagement.DeploymentManager.GetDependencies(String master, String configFile, TestRunConfiguration runConfig, DeploymentItemOrigin dependencyOrigin, List`1 dependencyDeploymentItems, Dictionary`2 missingDependentAssemblies) at Microsoft.VisualStudio.TestTools.TestManagement.DeploymentManager.ProcessNewStorage(String testStorage, DeploymentHelper helper, DeploymentItemOriginType originType, List`1 deploymentCoverageItems, TestRunConfiguration runConfig, List`1 dependencyDeploymentItems, Dictionary`2 missingDependentAssemblies) Failed to queue test run 'MyUsername@MyPC 2008-03-27 14:47:24': Type 'IdeaBlade.Util.Locale' in assembly 'IdeaBlade.Util, Version=3.6.1.1, Culture=neutral, PublicKeyToken=287b5094865421c0' is not marked as serializable.
|