xlsx ファイルを読み込もうとしています。
私は例外を得た
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. c#
次に、ここからインストールしました
http://www.microsoft.com/en-us/download/details.aspx?id=13255
それから私はに変更しplatform target
ましたx64
今、私はこの例外を得ました:
BadImageFormatException was unhandeled
{"Could not load file or assembly 'LinqToExcel, Version=1.9.0.0, Culture=neutral, PublicKeyToken=9c8ea65a58f03f1f' or one of its dependencies. An attempt was made to load a program with an incorrect format."}
更新 1
私はすでにlinq_to_excelを使用してインストールしました
Install-Package LinqToExcel
次に、libファイルを参照に追加します