Notifications
Clear all

[Closed] xaml/WPF ui via dll in max

Hey all,

We’re moving over to using WPF/xaml for all our UI work (coded & compiled inside Visual Studio).

At present, when we setup our maxscripts to interface with these we’re using the following to load the dll

dotnet.loadAssembly @“c:\blahblah\mywpf.dll”

I can launch my ui fine and I’ve got all my stuff working with it, but during the process of testing everything, if I find I need to make a change to the .dll for some reason, I have to actually close max as it seems to get a hold of the dll, meaning i cant recompile it.

Is the a way I can essential dotnt.UNloadAssembly or somethign similar?

1 Reply

Take a look at this thread.

‘[SDK] [c#] Iterating on a DLL using Visual Studio (‘unload’/‘reload’ Assemblies)’
http://forums.cgsociety.org/showthread.php?f=98&t=1158227