Runtime libraries to distribute

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Runtime libraries to distribute

Post by wriedmann »

Hi,
just a question: since there are two different macrocompilers in X# now: what is the default one that is used in the RDDs and in the code itself?
Do I need to redistribute both of them?
Wolfgang
P.S. the file XSharp.VFP.dll is both missing in the file Redist.txt and in the folder Redist (there are only the XML and the PDB file).
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Runtime libraries to distribute

Post by robert »

Wolfgang,

For 'normal' backward compatibility use you should use just the XSharp.Macrocompiler.
I will update the installer to make sure that the VFP DLL is added as well as update the redist.txt file.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Runtime libraries to distribute

Post by Chris »

Hi Wolfgang,

It's the "fast" macro compiler that it is being automatically used, which is file XSharp.MacroCompiler.dll. The "full" (but much slower) macro compiler is included in XSharp.MacroCompiler.Full.dll, you do not need to distribute this one.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Runtime libraries to distribute

Post by wriedmann »

Hi Robert, hi Chris,
thank you very much for your answer!
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am
Location: Germany

Runtime libraries to distribute

Post by Karl-Heinz »

Hi Wolfgang,

i made a test:

Code: Select all

 VAR oType := GetMacroCompiler() 
 ? oType:Assembly:Fullname
 ? oType:Assembly:Location 
 
and the results are:

XSharp.MacroCompiler, Version=2.0.3.0, Culture=neutral, PublicKeyToken=ed555a0467764586
C:WindowsMicrosoft.NetassemblyGAC_MSILXSharp.MacroCompilerv4.0_2.0.3.0__ed555a0467764586XSharp.MacroCompiler.dll

regards
Karl-Heinz
Post Reply