3F / DllExport

.NET DllExport with .NET Core support (aka 3F/DllExport aka DllExport.bat)
MIT License
961 stars 133 forks source link

Is DllExport not supported outside of Windows OS and/or Visual Studio? #63

Open wixyer opened 6 years ago

wixyer commented 6 years ago

With v1.6 release, now I have a tricky question. You see, "Batch" (*.bat) file is Windows-only version of command-line scripting. Visual Studio starts to support macOS. (Windows and macOS are very different in their nature.) If we also add Linux to that (since it is also capable of compiling and running C# code, because thanks to Mono & .NET Core), we have all 3 major operating systems of today, and all of them can be used to develop C# (they all have IDE as well).

Since I highly doubt that this is actually working on all 3 operating systems, my question is the following: Is DllExport (latest version) cross-platform? In other words, does DllExport support all 3 major operating systems?

(If it is supported outside of Windows, please answer "how so?")

p.s. Happy New Year!

wixyer commented 6 years ago

Possible duplicate of #45. Let's focus on cross-platform support on this one?

3F commented 6 years ago

With v1.6 release, now I have a tricky question.

1.6 provides same features as for 1.5.x versions. We did not break any compatibility from this.

However, now we finally changed distribution of packages with adding of embeddable manager.

You see, "Batch" (*.bat) file is Windows-only version of command-line scripting.

DllExport.bat mainly is a wrapper that's based on GetNuTool core. Finally it just aggregates calling to Wizard that's based on MvsSln.

msbuild gnt.core /p:ngpackages="DllExport"

v

msbuild net.r_eg.DllExport.Wizard.targets ...

All around msbuild and we just need to add same an wrapper for bash (it's much easier than it was for batch), or simply call it manually via GetNuTool & msbuild etc.

But, what about cross-platforms today: -> https://github.com/3F/DllExport/issues/17#issuecomment-335001440

p.s. Happy New Year!

:) Happy New Year ! and thanks for using !