Install watin by Nuget today but can't run correctly and show this Popup.
After some research it easy to fix by change "Embed Interop Type" to False (Default value is True) in Properties windows.
Now can run without problem.
แสดงบทความที่มีป้ายกำกับ NUnit แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ NUnit แสดงบทความทั้งหมด
วันพฤหัสบดีที่ 16 สิงหาคม พ.ศ. 2555
วันพุธที่ 9 มิถุนายน พ.ศ. 2553
NUnit 2.5.5 and .NET 4 Testing
I have problem to load assembly .NET 4 to test
Yes compile to .NET 2 will don't have any problem but .NET 4 I can't open dll to test
To fix this we need to modified nunit.exe.config
In folder nunit.exe we used
by 2 step
1. Under <configuration> add:
<startup><requiredRuntime version="v4.0.30319" /></startup>
2. Under <runtime> add:
<loadFromRemoteSources enabled="true" />
Yes for me .NET is version 4.0.30319 (for now)
Thanks to this ref : http://beta.blogs.microsoft.co.il/blogs/dhelper/archive/2010/01/25/how-to-run-nunit-tests-created-with-vs2010-and-net-4.aspx
Yes compile to .NET 2 will don't have any problem but .NET 4 I can't open dll to test
To fix this we need to modified nunit.exe.config
In folder nunit.exe we used
by 2 step
1. Under <configuration> add:
<startup><requiredRuntime version="v4.0.30319" /></startup>
2. Under <runtime> add:
<loadFromRemoteSources enabled="true" />
Yes for me .NET is version 4.0.30319 (for now)
Thanks to this ref : http://beta.blogs.microsoft.co.il/blogs/dhelper/archive/2010/01/25/how-to-run-nunit-tests-created-with-vs2010-and-net-4.aspx
สมัครสมาชิก:
ความคิดเห็น (Atom)

