MSTest run fails because source assembly is not trusted

前端 未结 10 1449
谎友^
谎友^ 2020-12-23 11:18

I just added xUnit to our test project (for the Asserts, we\'re still using MSTest as the framework) and immediately the test runs refused to execute any of the tests. This

10条回答
  •  感情败类
    2020-12-23 11:37

    In my team we had the same problem.

    Your solution didn't work, but this post by Charles Sterling did help.

    We used the following line:

    caspol -machine -addgroup 1 -url file://\\server/share/* FullTrust -name DevShare
    

提交回复
热议问题