eXpand
eXpand copied to clipboard
How to open the editor from the terminal?
At the moment I get a lot of exceptions after installing Xpand.XAF.ModelEditor from NuGet. Is there a way to just use the model editor from cli or something as the package is installed at C:\Users\thomas\.nuget\packages\xpand.xaf.modeleditor\1.201.6\build
the nuget package unfortunately aims to help Rider users or those advanced that want to do it without VS. If you are not one of the consider the Xpand.VSIX VS plaugin, the Xpand.ModelEditor is embeded no need to do anything

check the releases page to get the Xpand.VSIX package
but if you are one of them consider putting all Xpand assemblies from all nuget packages in the same folder and have DX installed in the Gac.
But I do intent to use it with Rider :)
but if you are one of them consider putting all Xpand assemblies from all nuget packages in the same folder and have DX installed in the Gac.
Failing the first suggestion, u can compile the Reactive.XAF repository using the scripts on the root and the XpandModelEditor will be in the bin folder. Unfortunately distribution is a bit uncomplete the editor should work however having all dependecies in place. So to achieve as a Rider (advanced) user my instructions should help. You wish me to test and make sure it works for you or even improve the disctibution so all your team can use it effortless consider one of my subscriptions https://github.com/sponsors/apobekiaris
what VSIX does mre is that copies the same Xpand.ModelEditor used for Rider in the bin folder of your project where all dependecis already exist, sonsider that also an option for make it work for u
Yes I just tried the distributed nuget version, but now I will build the application myself. I will let you know if that fixes it. For now it has dependencies that have hard references to not-included assemblies. I think that might be room for improvement?
i have no idea what even the problem yet, but the ME does not use anything extra than XAF so having it in a folder that all xaf assemblies are along with your assemblies should work fine
what ME does is loads xaf assemblies and your assemblies along with their dependecies Xpand or other dependecncies, to resolve everything safely u just need them in the same folder
and that folder must be your bin cause u constanly update your assemblies, or have a script on post build event that copies everything to a global dir should work fine also
Things that go wrong:
When downloading the ME from nuget you instantly get a lot of exceptions. There is no ModelEditor.bat because of this. When cloning this repo yourself there are hard path and dll references that are not present on the machine, so they have to be changed around. Even after fixing this the code still breaks during runtime.
Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.
