【发布时间】:2023-07-09 22:19:02
【问题描述】:
我将 Visual Studio 用于 C# 应用程序。我有一台 64 位的机器。我安装了最新版本的 Nuget 和 Stylecop。当我构建时,我会收到警告
There was a mismatch between the processor architecture of the project
being built "MSIL" and the processor architecture of the reference
NuGet.VisualStudio", "x86". This mismatch may cause runtime failures. Please
consider changing the targeted processor architecture of your project
through the Configuration Manager so as to align the processor architectures
between your project and references, or take a dependency on references with
a processor architecture that matches the targeted processor architecture of
your project."
你知道这是什么吗?
【问题讨论】:
标签: visual-studio nuget stylecop cpu-architecture