Notifications
Clear all

[Closed] Separating Dlls and xaml files?

I’m just getting started writing my own plugins for Max, and am learning C# and WPF too, so I may have some basic understandings wrong. I was wondering if there is any way to separate out the UI and the code for the plugin, mainly right now for quicker ui design testing purposes. Right now the xaml is being compiled into the dll, so everytime I change the UI design I have to close max, recompile the dll out of Visual Studio, and restart. Is there some configuration that would let me compile the dll once, load Max, and when the dll displays my window it reads the latest .xaml file upon opening? My thinking was that way I could swap out new layouts and just re-open the window without going through recompile/restart.

I’ve seen a lot of the .net via maxscript threads, and perhaps that is one way around it since I wouldn’t have to restart max to re-run the script, but right now I’m trying to get some experience writing plugins instead of scripts so that’s why I’m going the visual studio route instead of MaxScript. It’s probably not required to be a plugin for my current needs, but seemed like a good learning exercise.

Thanks for any ideas!