Hello everyone,
I am getting this error message when compiling an Add-In in 10.4 with Visual Studio 2015.
This Add-In works fine in Visual Studio 2012 with ArcGIS 10.2
ESRI.ArcGIS.ADF.Local.pdb not loaded.
Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem in 'C:\Program Files (x86)\ArcGIS\Desktop10.4\bin\ArcMap.exe'.
Additional information: A call to PInvoke function 'ESRI.ArcGIS.ADF.Local!ESRI.ArcGIS.ADF.Native::memcpy' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
'ArcMap.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'System.Xml.Xsl.CompiledQuery.1'.
Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Windows.Forms.dll
'ArcMap.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\windows\assembly\GAC_MSIL\Lucene.Net\2.9.2.1__402f1553d5c332e7\Lucene.Net.dll'. Cannot find or open the PDB file.
'ArcMap.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\windows\assembly\GAC_MSIL\Snowball.Net\2.0.0.1__402f1553d5c332e7\Snowball.Net.dll'. Module was built without symbols.
Exception thrown: 'Lucene.Net.QueryParsers.QueryParser.LookaheadSuccess' in Lucene.Net.dll
Exception thrown: 'Lucene.Net.QueryParsers.QueryParser.LookaheadSuccess' in Lucene.Net.dll
Exception thrown: 'Lucene.Net.QueryParsers.QueryParser.LookaheadSuccess' in Lucene.Net.dll
Exception thrown: 'System.IO.IOException' in Lucene.Net.dll
Exception thrown: 'Lucene.Net.QueryParsers.QueryParser.LookaheadSuccess' in Lucene.Net.dll
Exception thrown: 'Lucene.Net.QueryParsers.QueryParser.LookaheadSuccess' in Lucene.Net.dll
Exception thrown: 'Lucene.Net.QueryParsers.QueryParser.LookaheadSuccess' in Lucene.Net.dll
Exception thrown: 'System.IO.IOException' in Lucene.Net.dll
Exception thrown: 'System.IO.IOException' in Lucene.Net.dll