From cc142628987cadc6e7117e8ca59f6d1c12298fd7 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Mon, 23 Oct 2023 15:35:23 +0000 Subject: [PATCH] added note on environment variables Updated wikipage Eiffel for .NET Integration. (Signed-off-by:jocelyn). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2453 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../eiffel-net-integration/index.wiki | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/documentation/23.09/solutions/dotnet/eiffel-net-language/eiffel-net-integration/index.wiki b/documentation/23.09/solutions/dotnet/eiffel-net-language/eiffel-net-integration/index.wiki index b77063bc..9f4ce5ef 100644 --- a/documentation/23.09/solutions/dotnet/eiffel-net-language/eiffel-net-integration/index.wiki +++ b/documentation/23.09/solutions/dotnet/eiffel-net-language/eiffel-net-integration/index.wiki @@ -1,4 +1,4 @@ -[[Property:modification_date|Fri, 06 Oct 2023 14:32:54 GMT]] +[[Property:modification_date|Mon, 23 Oct 2023 15:35:23 GMT]] [[Property:publication_date|Wed, 27 Sep 2023 19:33:07 GMT]] [[Property:title|Eiffel for .NET Integration]] [[Property:weight|3]] @@ -83,4 +83,14 @@ Currently the EiffelStudio debugger supports only the Eiffel .NET Framework appl For .NETCore (net6.0, net7.0, ...) it is not yet available within the EiffelStudio IDE. -{{recommended|Learn more how to publish, execute, debug, ... the Eiffel .NETCore application, with the [[Eiffel .NETCore execution]] page.}} \ No newline at end of file +{{recommended|Learn more how to publish, execute, debug, ... the Eiffel .NETCore application, with the [[Eiffel .NETCore execution]] page.}} + +== Environment variables for .NETCore == +The Eiffel compiler sets a few environment variables available in the ECF files and allows to write ECF file without hardcoded version numbers. + +* ISE_DOTNET_FRAMEWORK: location of the default .NET runtime directory (parent of System.dll, System.Runtime.dll, ...) +* ISE_DOTNET_PLATFORM: for a .NET project it contains either "framework", or "netcore" to distinguish between .NET Framework (v4.0) and .NETCore solutions (net6.0, neet7.0, ...) +* ISE_DOTNET_PACKS: location to the .NETCore "packs" directory (parent of .NETCore '''reference'' runtimes) +* ISE_DOTNET_PACKS: location to the .NETCore "shared" directory (parent of .NETCore implementation runtimes) +* ISE_DOTNET_TFM: .NETCore TFM (Target Framework Moniker) , for instance "net6", "net7", ... +* ISE_DOTNET_VERSION: .NETCore runtime precise version number (for instance 7.0.11)