How to solve warning “Referenced assembly targets a different processor than the application”

前端 未结 5 485
臣服心动
臣服心动 2021-01-03 19:06

I have been able to build my windows form application that access databases in SQL Server. All parts of the application are able to access the server apart from the part whe

5条回答
  •  离开以前
    2021-01-03 19:46

    it's been a year since you've asked this question.. but i just want to give the solution for this question...

    if you using VS2010, go to your Project Properties, go to Compile, Advanced Compile Option, then set your target CPU to x86 or x64... cannot be both... choose one...

    hope this solved.. :)

提交回复
热议问题