반응형

Nuget을 통하여 System.Data.SqlServerCe를 받을 시에 


Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8080. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.


에러 발생함.


C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Private


C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Private


경로의 


System.Data.SqlServerCe.dll 를 참조 걸고 로컬 복사


amd64 폴더 전체를 프로젝트에 넣어서 항상 복사로 설정


x86 폴더 전체를 프로젝트에 넣어서 항상 복사로 설정


폴더 포함하여 파일 내용 

sqlceca40.dll,

sqlcecompact40.dll,

sqlceer40EN.dll,

sqlceer40KO.dll,

sqlceme40.dll,

sqlceqp40.dll,

sqlcese40.dll


bin 폴더에 

System.Data.SqlServerCe.dll 와 amd64 폴더 x86 폴더가 존재하면 에러 없이 실행됨.


반응형

+ Recent posts