If I load an image from getting in trouble immediately a visual model that resource.
I am testing in the Assembly: exception: Unable to create instance of the class GPAnalysisSuite.Tests.View_Models.Session_Controller.SessionControllerViewModel_NonDefaultConstructorTester error: SystemkIOkDirectoryNotFoundException: Path ' C: \ TGP \ GP analysis suite \ Application \ Test \ TestResults \ Paul_PAUL-GP 2011-03-17 11_27_28 \ out \ Resources \ Icon \ Commands \ DisabledNewSessionIcon.png '.. I have already covered have found a solution to a similar problem and following the Test class: I can see that I need to protect the Uri assembly, but I do not know how to do it, no one can help? I have resolved to change the resource construction materials processing problem. {New Image Resource Converter (Return). Convertphomstring ("pack: // application: ,,, / resource / icon / command / disabled newscart Icon.png") as image source; }
[assembly early] public static void InitialisePackageUriHelper (Test of Tent context) {PackUriHelper.Create (new Uri ( "Reliable: // 0")); New Framework Element (); System.Windows.Application.ResourceAssembly = typeof (app). Assembly; }
Although I have to rebuild the solution all the time, I want to run the unit test, it now works at a minimum.
Comments
Post a Comment