开发者

How to add [assembly: PexLinqPackage] to a test project

开发者 https://www.devze.com 2022-12-24 04:50 出处:网络
I am trying to get Pex to work with linq in my project.I got this explanation on what I need to do: In order for Pex to support Linq, make sure you add a reference to

I am trying to get Pex to work with linq in my project. I got this explanation on what I need to do:

In order for Pex to support Linq, make sure you add a reference to
Microsoft.Pex.Linq.dll and add the [assembly: PexLinqPackage] 
attribute to the test project. 

I have the r开发者_JAVA技巧eference added. But I have never had to add anything like [assembly: PexLinqPackage] to a project. How is this done?


Pick any file in the test project (AssemblyInfo.cs will do just fine) and add a [assembly: PexLinqPackage] line to it.

You can use absolutely any file to add assembly-level attributes, but AssemblyInfo.cs seems to be the best choice since it already contains several assembly-level attributes.

0

精彩评论

暂无评论...
验证码 换一张
取 消