VS 2012を開いて、クラスライブラリプロジェクトを作成しました。その後ADO.NET Entity Data Model
、ソリューションに新しいアイテムを追加しました。
EntityFramework5.0というアセンブリとSystem.Data.Entity4.0という別のアセンブリの両方があることに気付きました。たった1つではないですか?
ボーナスの問題として、ファイルをクリックするとデザイナーがクラッシュします。
Error 2 Error 6039: warning CS1701: Assuming assembly reference 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' matches 'System.Data.Entity, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', you may need to supply runtime policy
c:\Users\andre_pena\AppData\Local\Temp\5srvr0ge.0.cs(465,29) : error CS1061: 'System.Data.Metadata.Edm.EdmFunction' does not contain a definition for 'IsComposableAttribute' and no extension method 'IsComposableAttribute' accepting a first argument of type 'System.Data.Metadata.Edm.EdmFunction' could be found (are you missing a using directive or an assembly reference?) c:\users\andre_pena\documents\visual studio 2012\Projects\ClassLibrary2\ClassLibrary2\Model1.edmx 1 1 ClassLibrary2
私のシステムはすべて大丈夫ですか?両方のファイルの存在は正常ですか?なぜこのエラーが発生するのですか?