Build/Test Issues

VerificationException while running tests

Started by cyplo on 6,230 views

When running NHibernate: Iesi.Collections.Tests
Probably when code is using some IL-generation features on the fly, like emit()
Probably connected with this issue : https://github.com/sawilde/partcover.net4/issues/52
Hi, thanks for posting!

The tests in this project seem to be working for me, although my snapshot of the NHibernate source may be out of date.

Which test specifically causes the problem for you? Is it all of them?

Also, are you able to submit a bug report just after you finish running the test?


Thanks!

Remco
Remco wrote:Hi, thanks for posting!

The tests in this project seem to be working for me, although my snapshot of the NHibernate source may be out of date.

Which test specifically causes the problem for you? Is it all of them?

Also, are you able to submit a bug report just after you finish running the test?



I'm trying to compile NHibernate.Search for .net4, updating the dependencies on the way.
The code is under https://github.com/cyplo/NHibernate.Search
The problem appeared in all of the Iesi.Collections tests, when compiling for .net4

Adding [assembly: SecurityRules(SecurityRuleSet.Level1, SkipVerificationInFullTrust = true)] to each AssemblyInfo made the problem go away,

The github readme states links for all of the original sources.
I might have time for more tests on weekend, for now I had AssemblyInfo patched and moved on.

Thanks

Post a reply

Log in to reply.