We have just tried to upgrade to Aspose.Cells V22.1 but we are having a compile issue when using the dll in a C++CLI application.
1>src\CExcelConvHost.cpp(120): error C2365: ‘Aspose::Cells::WorksheetCollection::’: redefinition; previous definition was ‘property’
1>src\CExcelConvHost.cpp(120): note: see declaration of ‘Aspose::Cells::WorksheetCollection::’
1>src\CExcelConvHost.cpp(120): note: This diagnostic occurred while importing type 'Aspose::Cells::WorksheetCollection ’ from assembly ‘Aspose.Cells, Version=22.1.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’.
A very similar issue was already reported for Aspose.Words. please see
I downloaded your project and extracted to some folder. I opened the project into VS.NET 2019 and tried to build and run but it gives an error, see the screenshot attached. sc_shot1.png (63.2 KB)
it looks some SDKs/API is missing on my end, could you elaborate on it. Alternatively, you may provide runnable sample project. We will look into your issue soon.
@eandres
Hi,we have located the reason, it is the problem of the obfuscation tool, we will fix it in the next release version 22.3.Thank you for your patience.