1
我想让Pex在我的项目中使用linq。我得到了这个解释,我需要做什么:如何将[assembly:PexLinqPackage]添加到测试项目中
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.
我已经添加了参考。但我从来不需要在项目中添加任何类似[assembly:PexLinqPackage]。这是如何完成的?
我同意Anton的意见,但我会走得更远,并建议将AssemblyInfo.cs放在任何文件中 - 将所有装配属性装饰保留在一个位置,以便更易于查找和管理。 – JMarsch 2010-03-24 16:17:50