的Visual Studio 2010速成C#,NUnit的2.5.8,0.2.0白NUnit的無法啓動我的應用程序
我想寫一些測試與NUnit的+白色框架。 我可以運行白色演示(ListBoxExample),沒有問題。
但是,當我寫我自己的應用程序(.NET 4.0)一個簡單的測試,我有2個問題:
Application.Launch( 「」): 這種說法不抱怨,但確實根本不啓動我的應用程序。路徑是正確的,因爲如果我放錯了路徑,我得到一個錯誤。正確的路徑沒有錯誤,但沒有應用程序正在啓動。
application.GetWindow(...) 該語句導致一個錯誤:
DocBackupTestSuite.Tests.StartupTest: System.IO.FileLoadException : Could not load file or assembly 'Bricks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
但Bricks.dll文件是在我的項目中引用...
謝謝爲你的幫助
戴維
OMG它是如此討厭我聽到你,因爲我有同樣的問題,以及 – Wazzz 2013-11-21 06:38:54