Skip to main content
ragi74
Participant
March 7, 2016
Answered

"Plug-in is either missing plug-in resource or ..." under VS2015 in Debug/x64 mode

  • March 7, 2016
  • 1 reply
  • 1499 views

I'm trying to run example: BasicDialog.

It is compiling in Debug/x64 mode by VS2015 and run with Adobe InDesign CC Debug Build 9.2(Win 64) WIN

It is last version of Indesign CC Debug downloaded from "Technology Partner Software Downloads" website.


VS2015 version:

Microsoft Visual Studio Enterprise 2015, Version 14.0.24720.00 Update 1

I get assert error:

"BASICDIALOG.SDK.PLN" Plug-in is either missing plug-in resource or the Model/UI attribute is not specified in PlugIn Version resource!

..\..\..\source\omlib\plugins\PlugInList.cpp (771)


This is my output:

1>  Performing Custom Build Tools

1>  ODFRC deleting old resources...

1>  merge_res.cmd - calling ConcatRes

1>          1 file(s) copied.

1>  ConcatRes skipped since ".\..\objDx64\BasicDialog"\BscDlg.fres is an empty file.

1>  merge_res.cmd done.

1>  Deleting old resources...

1>  18 File(s) copied

1>     Creating library ..\..\..\build\win\objDx64\BasicDialog/BasicDialog.lib and object ..\..\..\build\win\objDx64\BasicDialog/BasicDialog.exp

1>  BasicDialog.sdk.vcxproj -> C:\Indesign SDK\plugin_sdk_072_20150618\plugin\build\win\prj\..\debugx64\SDK\BasicDialog.sdk.pln

1>          1 file(s) copied.

1>  restore_res.cmd done.

========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========


In Release/x64 mode and Adobe InDesign CC 2015 everything is OK.


Where is problem?

This topic has been closed for replies.
Correct answer Manan Joshi

The Indesign plugins are not compatible across different version, which means that a plugin built with an SDK for a particular version of Indesign will not load on another version(Major version change) of Indesign.

Please verify from the SDK as to which version is it meant to be used for and then try on that version of Indesign.

-Manan

1 reply

Community Expert
March 8, 2016

Hi Rafalg,

Some pointers on your problem.

1. You are using the wrong development environment for building your CC plugin, the recommended VS version for CC is 2012 SP4. You can look at the correct version of the dev environment by referring the docs shipped with the SDK. Its highly recommended that you use the correct version of dev. env. for building the plugin as it may lead to a number of issues later like random crashes etc.

2. Now since you say that your release version of the plugin builds and loads correctly, please have a look and see that the resources are built fine in the debug target and these resource folders are being copied correctly onto the Plugins folder of Indesign.

You may refer to a previous post related to this, it might help your case. Resources not getting generated when building plugin for release/debug version of CC 2015

-Manan

-Manan
ragi74
ragi74Author
Participant
March 8, 2016

I saw this post earlier and it seems that everything is OK....

I recompiled this example in: Microsoft Visual Studio Premium 2013, Version 12.0.31101.00 Update 4

In directory: c:\Users\ragi_000\AppData\Roaming\Adobe\InDesign\Version 9.0\en_GB\ I have file: PluginConfig.txt and inside:

=Path

"c:\Indesign SDK\plugin_sdk_072_20150618\plugin\build\win\debugx64\SDK"

Properties for BscDlg.fr:

Command line: odfrc $(ODFRC_ADDITIONAL_FLAGS) "%(FullPath)" -o "$(IntDir)%(Filename).fres" -d DEBUG  -i ..\..\..\source\sdksamples\basicdialog @SDKODFRCOptions.rsp

Outputs:  $(IntDir)%(Filename).fres;%(Outputs)

AdditionalDependencies: $(IntDir)TriggerResourceDeps.obj;%(AdditionalInputs)

After recompiling project I have got (in: c:\Indesign SDK\plugin_sdk_072_20150618\plugin\build\win\debugx64\SDK\ ) such files:

(BasicDialog.sdk Resources)

   BasicDialog.tlog

   idrc_ACTD

   idrc_CLST

   idrc_CRCT

   idrc_FACT

   idrc_LOCR

   idrc_MENR

   idrc_PMST

   idrc_PNGA

   idrc_PNGR

   idrc_PVER

   idrc_VIEW

   timestamp.idrc

BasicDialog.pdb

BasicDialog.sdk.pln

When I run Indesign CC Debug I go message:

In Release x64 I have similar files and there is OK (one difference is that Release version of Indesign is from 2016, and Debug is from 2014).

SDK is probably from 2015 (plugin_sdk_072_20150618).

So problem still exists.

Manan JoshiCommunity ExpertCorrect answer
Community Expert
March 9, 2016

The Indesign plugins are not compatible across different version, which means that a plugin built with an SDK for a particular version of Indesign will not load on another version(Major version change) of Indesign.

Please verify from the SDK as to which version is it meant to be used for and then try on that version of Indesign.

-Manan

-Manan