使用.net 4.0,发现有2个位置有4.0的程序集,但是程序集版本有区别,想请问那个是对的?
在使用MVC3的过程中,需要引用System.ComponentModel.DataAnnotations.dll中的EmailAddressAttribute,但是System.ComponentModel.DataAnnotations.dll程序集在两个地方都有,而且都是.Net 4.0下的:
一个是: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.ComponentModel.DataAnnotations.dll
另外一个是: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ComponentModel.DataAnnotations.dll
在Microsoft.Net下的程序集中有包含EmailAddressAttribute, 但是在Program files下的则没有。
想请问这两个位置的程序集的区别,为什么他会不一样,我需要引用那一个?
谢谢