私のクライアントの1人が、私が作業するはずのVS2015ソリューションファイルを私に渡しました。しかし、私はそれをコンパイルすることができません。私はVS2015も使用しています。エラー175:不変の名前 'MySql.Data.MySqlClient'を持つADO.NETプロバイダがマシンまたはアプリケーションの設定ファイルに登録されていない
エンティティフレームワークが使用されていますが、これについてはあまり知られていません。
エラー:175:不変の名前 'MySql.Data.MySqlClient'を持つADO.NETプロバイダが、マシンまたはアプリケーションの設定ファイルに登録されていないか、読み込めませんでした。詳細については、内部例外を参照してください。
次のようであるEDMXファイルにエラーポイント:
私はどこから始めればまたはこれを解決する方法がわかりません。どんな助け?ありがとう
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="NFMTestModel.Store" Provider="MySql.Data.MySqlClient" ProviderManifestToken="5.7" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
<!--Errors Found During Generation:
warning 6002: The table/view 'def.nfm.air' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="air">
<Key>
<PropertyRef Name="DateAndTime" />
</Key>
<Property Name="DateAndTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="Air_System_Air_line_1_Service_Pressure_Value" Type="double" />
<Property Name="Air_System_Air_line_2_emergency_Pressure_Value" Type="double" />
<Property Name="Air_System_Air_Manlock_point_11_Pressure_Value" Type="double" />
<Property Name="Air_System_Air_Manlock_point_12_Pressure_Value" Type="double" />
<Property Name="Air_System_Air_Manlock_point_21_Pressure_Value" Type="double" />
<Property Name="Air_System_Air_Manlock_point_22_Pressure_Value" Type="double" />
<Property Name="Air_System_Air_Manlock_regulation_Pressure_Value" Type="double" />
<Property Name="Air_System_Air_System_Pressure_Value" Type="double" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'def.nfm.articulation' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="articulation">
<Key>
<PropertyRef Name="DateAndTime" />
</Key>
<Property Name="DateAndTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="Articulation_Angle_Horizontal_Value" Type="double" />
<Property Name="Articulation_Angle_Vertical_Value" Type="double" />
<Property Name="Articulation_Force_Value" Type="double" />
<Property Name="Articulation_Pushing_in_X_Value" Type="double" />
<Property Name="Articulation_Pushing_in_Y_Value" Type="double" />
<Property Name="Articulation_Speed_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Delta_Pressure_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Elongation_LH_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Elongation_RH_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Elongation_Setpoint_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Elongation_Start_point_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Elongation_Virtual_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Extend_Pressure_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Force_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_High_Limit_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Low_Limit_Value" Type="double" />
<Property Name="Articulation_Bottom_Side_Retract_Pressure_Value" Type="double" />
お手数ですがhttp://stackoverflow.com/questions/21954207/enity-framework-with-mysql# – Mangrio