

Copy the two last on your developpement machine with Windows 7 圆4. There you will see 3 dll : one named after your project, one named Photoshop.dll and another namde. Once your project is builded, go to your project folder on your VM hard drive and look for the bin\release folder. As a good mesure, you can make sure that the compile mode is set to "release" but this is not required, debug will work fine. Create a dummy function (altough it may not be required) and build your project.


This will add two new references : "Photoshop" and "PhotoshopTypeLibrary". Go to the COM tab, and search for "Adobe Photoshop CS4 type library". Once this is done, right click on the "reference" folder in the solution explorer, and select add reference. Open Visual Studio and create either a new VB.NET or C# class library. Install Visual Studio 2008 and a standalone installation of Photoshop CS4 (The whole creative suits haven't worked in my case, but your mileage may vary). You can use it to generate a dll that work on any Windows with any installation of Photoshop CS4 (standalone or the creative suite).Ĭreate a Windows XP virtual Machine with your favorite virtualisation solution (Vmware, VirtualBox, VirtualPC etc). In the end, the solution was to use a Windows XP Virtual Machine with a standalone installation of Photoshop (instead of the whole creative suite).
