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

前端 未结 5 539
臣服心动
臣服心动 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 20:05

    Using Visual Studio 2010 I had to go to Project Properties -> Build Tab: Change "Platform target" from "Any CPU" to "x86"

    This cleared up the warning message for me.

    keywords: Referenced assembly targets a different processor than the application

提交回复
热议问题