Hello all,
I have a question, is there a possibility to let the VO code to X# porter generate one file per class and not one big file with many classes per module? In my experience Visual Studio can handle many small files much better than less big ones.
VO2X# porter to generate one file per class and not large files with many classe
Moderator: wriedmann
VO2X# porter to generate one file per class and not large files with many classe
Hi Christian,
Actually this is semi-possible already, there's a hidden option for doing exactly that, but it's porting only the code, does not port window, menu etc binaries or resources (which is why the feature is hidden). In case that's what you are after (just the code), then I can send you that special version, but if you need to also edit windows etc after porting (which most likely you do), then I'm afraid this will not work. Unfortunately it would be extremely complicated adding support also for the binaries in this feature.
Actually this is semi-possible already, there's a hidden option for doing exactly that, but it's porting only the code, does not port window, menu etc binaries or resources (which is why the feature is hidden). In case that's what you are after (just the code), then I can send you that special version, but if you need to also edit windows etc after porting (which most likely you do), then I'm afraid this will not work. Unfortunately it would be extremely complicated adding support also for the binaries in this feature.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
VO2X# porter to generate one file per class and not large files with many classe
Hello Christiaan,
Unless I misunderstand what you want: can't you just achieve that by creating 1 MEF per class within VO? In VO that is thanks to the repo structure and contrary to VS, extremely easy: create MEF's, sort existing code elsewhere on the class, select all entities of 1 class and drag them to your new empty MEF. Especially in the latest VO version(s) it works without problem I think, to be on the safe side you might want to re-enter VO and/or reindex after some moving.
When ready, the X# VO Porter will create 1 prg from 1 MEF.
Dick
Unless I misunderstand what you want: can't you just achieve that by creating 1 MEF per class within VO? In VO that is thanks to the repo structure and contrary to VS, extremely easy: create MEF's, sort existing code elsewhere on the class, select all entities of 1 class and drag them to your new empty MEF. Especially in the latest VO version(s) it works without problem I think, to be on the safe side you might want to re-enter VO and/or reindex after some moving.
When ready, the X# VO Porter will create 1 prg from 1 MEF.
Dick
VO2X# porter to generate one file per class and not large files with many classe
Hi Chris, hi Christian,
it would be a nice option to split the code part of the windows.
Personally I have done that manually in one ported project, keeping all the designer modules together and splitting up the handwritten code: Wolfgang
it would be a nice option to split the code part of the windows.
Personally I have done that manually in one ported project, keeping all the designer modules together and splitting up the handwritten code: Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
VO2X# porter to generate one file per class and not large files with many classe
Hello Chris,
I would like to test this special version, could you please provide it to me.
Thanks
I would like to test this special version, could you please provide it to me.
Thanks
Christian Schmid
VO2X# porter to generate one file per class and not large files with many classe
Hello Dick,
splitting within VO would probably work but due to the size of the application to be ported probably not practical. Thanks for the tip though.
Christian
splitting within VO would probably work but due to the size of the application to be ported probably not practical. Thanks for the tip though.
Christian
Christian Schmid
VO2X# porter to generate one file per class and not large files with many classe
Hi Christian,
I have trouble locating your email address, can you please send me (chris at xsharp eu) an email so I can reply to you?mk_schmid post=24790 userid=6786 wrote:Hello Chris,
I would like to test this special version, could you please provide it to me.
Thanks
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
VO2X# porter to generate one file per class and not large files with many classe
well, following thebold patter, dividing designrr an code by ineritance, you get that for free...
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)