Michael Nebel
e24fa4705a
C#: Introduce caching or detecting the newest runtimes and fetching all file names in the source dir.
2023-08-14 11:18:19 +02:00
Michael Nebel
ca7fa2e7c8
C#: Use ASP.NET dlls when needed and available.
2023-08-14 11:18:19 +02:00
Michael Nebel
b71c41018c
C#: Re-factor the GetRuntime method.
2023-08-14 11:18:19 +02:00
Michael Nebel
1942ea8396
C#: Paths can contain whitespace (this is indeed common on windows).
2023-08-14 10:40:00 +02:00
Michael Nebel
6bb9e6d122
C#: Address review comments.
2023-08-07 13:40:37 +02:00
Michael Nebel
ab4e643bf8
C#: Turn RuntimeVersion into a record type.
2023-08-01 12:54:55 +02:00
Michael Nebel
e4aaa43c43
C#: Also support alpha, beta, rc candidates.
2023-07-07 14:06:11 +02:00
Michael Nebel
f065ba9aa1
C#: Add unit tests for runtime version fetching.
2023-07-07 13:21:02 +02:00
Michael Nebel
4270425f14
C#: Cater for preview versions.
2023-07-07 13:16:35 +02:00
Michael Nebel
bffdbbcf95
C#: Address review comments.
2023-07-07 13:16:34 +02:00
Michael Nebel
6a87755ff1
C#: Use dotnet --list-runtimes to find runtime locations.
2023-07-06 13:27:22 +02:00
Tom Hvitved
c463dc9d1a
C#: Remove legacy odasa support
...
The following environment variables are no longer supported:
```
ODASA_BUILD_ERROR_DIR
ODASA_CSHARP_LAYOUT
ODASA_SNAPSHOT
SEMMLE_DIST
SEMMLE_EXTRACTOR_OPTIONS
SEMMLE_PLATFORM_TOOLS
SEMMLE_PRESERVE_SYMLINKS
SOURCE_ARCHIVE
TRAP_FOLDER
```
2022-03-09 09:19:37 +01:00
Tom Hvitved
63686b5c4e
C#: Use is [not] null throughout in the extractor
2021-03-05 16:28:12 +01:00
Tamas Vajk
7d544e34af
C#: Add declaration visibility modifiers
2020-10-13 14:45:37 +02:00
Tamas Vajk
412b87c5c7
C#: Fix loop that iterates only once
2020-10-13 13:27:45 +02:00
Tamás Vajk
dfb8761bdc
C#: Add flag to Standalone extractor to use the self contained .Net framework ( #4233 )
2020-09-09 16:12:48 +02:00
Tom Hvitved
c962f55cd0
C#: Address review comments
2019-01-04 11:32:23 +01:00
Tom Hvitved
412248c77f
C#: Address review comments
2019-01-02 10:42:08 +01:00
Tom Hvitved
9f375de716
C#: Improve logic for looking up .NET runtime in standalone mode
...
Instead of only considering a fixed set of paths for `dotnet` and `mono`,
first attempt to lookup the paths based on the `PATH` environment variable.
This change also fixes a potential `System.IO.DirectoryNotFoundException` exception,
which could be thrown when the `shared/Microsoft.NETCore.App` folder was not
present.
2018-12-20 15:34:15 +01:00
calum
103d140e71
C#: Migrate extractor to this repository.
2018-10-10 14:40:52 +01:00