I am trying to deploy my DLL and during compilation , I got the below error.
------ Build started: Project: Practice, Configuration: Debug x86 ------
vbc : warning BC40010: Possible problem detected while building assembly 'Practice': Referenced assembly 'mscorlib.dll' targets a different processor
vbc : warning BC40010: Possible problem detected while building assembly 'Practice': Referenced assembly 'System.Data.dll' targets a different processor
Practice -> C:\VBProject\Practice\Practice\bin\x86\Debug\Pract
------ Starting pre-build validation for project 'mySetup' ------
WARNING: Unable to find dependency 'ACMNUPARSER' (Signature='(null)' Version='126.96.36.199') of assembly 'AcCui.dll'
WARNING: Unable to find dependency 'MANAGEDMC3' (Signature='(null)' Version='188.8.131.52') of assembly 'AdWindows.dll'
------ Pre-build validation for project 'mySetup' completed ------
------ Build started: Project: mySetup, Configuration: Debug ------
Building file 'C:\VBProject\Practice\mySetup\Debug\mySetup.msi'.
ERROR: File 'AcTcMgd.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
WARNING: File 'AcTcMgd.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
Build process cancelled
========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped ==========
Can anybody help me in this regard? I am using Visual Studio 2010 and AutoCAD 2011. Windows 7 32-bit Operating System. Target CPU: x86. Target Framework: 3.5.
My registry settings is below:
Sorry for the delay.
Have you tried netloading the dll into AutoCAD 2011 ?
Does it load ok and can you run the commands correctly ?
But, remember to set the .Net framework version to 3.5 for AutoCAD 2011.
Also, I see a few error messages indicating a mismatch in platform.
Have you tried building your project with "Any CPU" configuration ?
If I do not misunderstand, you're trying to build a MSI.
If so, you have to exclude all AutoCAD dependencies in your setup project.
Thanks for your kind response. I have solved this issue. There was mismatching of platform. now this is working fine.
Access a broad range of knowledge to help get the most out of your products and services.