最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Visual Studio Setup project insists that my project target is x86; it's not - Stack Overflow

programmeradmin1浏览0评论

Background: I am trying to upgrade a 15 year old project using BarTender to framework 4.8.

The problem shows up when I create a Setup project and try to compile it. This is the error that I am seeing.

ERROR: File 'Seagull.BarTender.Print.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'

I have checked everything that ChatGPT and Stack Overflow suggested. Build Configuration, project targets, framework. All set to x64.

Dependency Walker swears that all dlls and exes are 64 bit. I have removed all "Any CPU" conditions, leaving only x64 in my projects. I have created an absolutely bare-bones solution consisting of a Winform project and a library project. The library project references Seagull.BarTender.Print.dll, which I got from the 64 bit installation of BarTender from Seagull Scientific.

I have exhausted every avenue that I can find and still the Setup file seems to be insisting that my setup project's platform is x86.

Has anyone run into this problem and fixed it?

发布评论

评论列表(0)

  1. 暂无评论