Closed beneton2003 closed 6 months ago
ME is a standlong app therefore if it is open it will lock the assemblies no workaround. However u may add a script in your project to kill it before build e.g.
<Project Sdk="Microsoft.NET.Sdk">
<!-- ... existing content ... -->
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="taskkill /F /IM "XpandMEProcessName.exe" /T" />
</Target>
<!-- ... existing content ... -->
</Project>
note xpand has 2 processes one for parsing the solution and one for open the model replace with the latter, do not remember the name right now, use the task manager to get it
So do you think that I can close it on build or rebuild and also open it again after rebuilding is completed?
open it again when u need it that what i meant, I see no reason to spent your time to do that, but in but it is possible. As I said there are 2 processes the one parse the solution and list the projects. The second runs when u double click a project. You can see test command line args at
can i post command like: <Target Name="PreBuild" AfterTargets="PreBuildEvent">
how do you think if it work or not?
sorry I am not a compiler :) without testing can only guess and software is not build on guessing but on testing
Thank you very much for your answers my friend!
Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.
Hello guys. I want to say thank you for everything you done. I have a problem. I am using MS visual studio. I installed Xpand model editor through Extention market using instructions When Xpand.XAF.ModelEditor is opened it's blocked a lot of files when i try to (re)build project. If i close ModelEditor everything work fine. How to use model editor and not to close it every time when i need to rebuild or compile the project?