Dlm plugin deploy issue


#1

Hi folks, Ive built a plugin for 3ds max 2014 that we run in studio. Ive done a release build out of VS and cant get it working on any other machine. Ive copied the dlm as usual into each plugins folder. What am I missing? It wont show up in the modifier list.


#2

Ok just figured out its not showing a name and the UI is missing. Not sure why.


#3

If you created your project with the plugin wizard, it will have placed the following line in the ‘post-build event’ property within your project’s property pages in MSVS:

"$([System.IO.Path]::GetFullPath('$(MaxSdkDir)/tools/RunMUIRCT.exe'))" -o "$([System.IO.Path]::GetFullPath('$(TargetDir)'))\" -f $(TargetFileName) -t "$([System.IO.Path]::GetFullPath('$(IntDir)'))\"

Clear that line out, and your plugin will load on non-dev machines. Who knows what it does…all I know is that it breaks things.


#4

This completely fixed it!! thanks so much ivanisavich. I was banging my head against the wall getting the dlm to work on the farm and workstations :smile:

I have another issue for general workflow, I cant seem to work interactively with max in debug mode. VS wont let me apply code changes. Error is edits were made that cannot be compiled.


#5

I’ve never been able to get live code editing working myself. I always do a re-compile after changing c++ code.