Project

General

Profile

Nuget issue

Added by admin over 4 years ago

Hello there,

I am upgrading my project and also your DLL.

After using MessagingToolkit DLL's from Nuget package i get Warnings like this

Warning 102 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "MessagingToolkit.Barcode, Version=1.8.1.0, Culture=neutral, PublicKeyToken=4d44dd7196d3c1ac, processorArchitecture=AMD64", "AMD64". 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.

FYI my is default on Any CPU.

Can you place this on Any CPU please


Replies (2)

RE: Nuget issue - Added by admin over 4 years ago

Hi,

I don't seem to be able to produce this warning. Can you help to do a
check on the nuget downloaded DLLs using corflags to check if they are
having mismatch?

Thanks
Regards
admin

RE: Nuget issue - Added by dinc 4 months ago

Hi Admin,

I seem to be getting the same problem.

I've run the corflags command on MessagingToolkit.Core.dll and it outputted the following

icrosoft (R) .NET Framework CorFlags Conversion Tool.  Version  4.0.30319.33440
Copyright (c) Microsoft Corporation.  All rights reserved.

Version   : v4.0.30319
CLR Header: 2.5
PE        : PE32+
CorFlags  : 0x9
ILONLY    : 1
32BITREQ  : 0
32BITPREF : 0
Signed    : 1
    (1-2/2)