Copy link to clipboard
Copied
Hi all,
While running the “DrawArt” sample project from Adobe Illustrator 2023 SDK using Visual Studio in windows system, getting error as “DrawArt.aip” is not a valid Win32 application as shown in below screenshot.
I m using,
Python 3.10
Adobe Illustartor 2023
Visual Studio 2022
Windows 10 Pro with 64-bit operating system
Can someone please help!
Copy link to clipboard
Copied
It seems you are trying to run the aip file produced by compiling the project. This is not how it works, the aip file is a plugin which is executed within the Illustrator application. So what you need to do is copy this aip file and place it within the Plugins folder of the Illustrator application installation folder and then launch Illustrator.
If you want to then debug your plugin, you can attach the debugger from Visual Studio to attach to Illustrator.
-Manan
Copy link to clipboard
Copied
Hi Manan Joshi,
Thank you for the update!
While building the “DrawArt” project in Visual Studio 2022, getting error as “DrawArt.aip is not a valid Win32 application”. But “DrawArt.aip” file will get created inside Output folder of Adobe Illustrator 2023 SDK. Then i have copy this aip file and place it within the Plugins folder of the Illustrator application installation folder. After this, if i open Illustrator at that time Illustrator was quitting.
Please let me know how can i solve this problem!
Copy link to clipboard
Copied
How do you build the project? Can you post the steps, some screenshots etc. It seems you are building and then running the project which is causing the debugger to try and launch the aip file(due to the executable path not set to the Illustrator exe) and hence the error.
What is the size of this aip file. Does any other projects output load for you. Also, make sure that you are using the recommended version of Visual Studio and the build toolset/sdk.
-Manan
Copy link to clipboard
Copied
You cannot "run" a plug-in. You have to build it, then install the plug-in to Illustrator in the usual way. Then you run Illustrator, and if you have built it correctly, your plug-in loads and can add menus etc. to Illustrator.