Tamas Vajk
6da0592ab6
C#: Refactor common msbuild properties
2024-05-21 08:55:12 +02:00
Cornelius Riemenschneider
a6ce24dc39
C#: Reformat project files with paket.
...
When running `dotnet paket update` or `dotnet paket install`, `paket`
forcefully reformats the project files. This is unfortunate.
One option is to accept these changes, as they're not harmful.
They do mean that each project includes the Paket restore targets individually,
instead of doing so via `Directory.Build.targets`.
Another option would be to not merge this PR, and then I'll document that
the changes to the csproj files should be ignored when running `paket` instead.
I don't really mind either way.
2024-05-17 12:19:53 +02:00
Cornelius Riemenschneider
a158e40cc2
MSBuild: Move paket restore target inclusion to global file.
2024-05-15 14:17:02 +02:00
Cornelius Riemenschneider
45167cf9f1
C#: Switch over dependencies in msbuild files to paket.
2024-05-15 13:28:00 +02:00
Cornelius Riemenschneider
04c26056a1
C#: Commit paket-based dependency tree.
2024-05-15 13:27:58 +02:00
Tom Hvitved
a8dac17aec
Merge pull request #16016 from hvitved/csharp/remove-lgtm-autobuilder-options
...
C#: Remove support for legacy LGTM options in autobuilder
2024-04-02 10:03:10 +02:00
Tamás Vajk
d6374f65e4
Merge pull request #15957 from tamasvajk/feature/limit-message-extraction
...
C#: Limit extracted compilation and extraction messages
2024-03-25 10:30:10 +01:00
Tom Hvitved
9d124197e8
C#: Remove support for legacy LGTM options in autobuilder
2024-03-22 10:09:24 +01:00
Tamas Vajk
fa7f437e71
Code quality improvement
2024-03-22 08:16:11 +01:00
Tom Hvitved
79dc7fcc04
C#: Avoid using TRAP stack in buildless mode
2024-03-20 15:21:36 +01:00
Tamas Vajk
d749335f54
C#: Limit extracted compilation and extraction messages
2024-03-18 14:24:34 +01:00
Michael Nebel
af06202241
C#: Cleanup implementation.
2024-03-12 11:12:55 +01:00
Tom Hvitved
62382fc5a2
C#: Fetch .NET in dependency manager instead of autobuilder
2024-02-29 11:23:36 +01:00
Tamas Vajk
f8b29ad70e
Introduce environment variable to specify framework assembly locations
2024-02-16 11:54:19 +01:00
Tamas Vajk
c2c7826936
C#: Extract dependency restore telemetry data
2024-02-05 13:09:04 +01:00
Tamas Vajk
b8c8f52efc
C#: Introduce extractor option for logging verbosity
2024-01-25 17:20:47 +01:00
Tamas Vajk
bb4327294d
Rename verbosity property to legacy
2024-01-25 16:03:23 +01:00
Tamas Vajk
0e5e57dc56
Adjust 'silent' flag parsing
2024-01-25 16:00:44 +01:00
Tom Hvitved
9b043a10cc
Merge pull request #15063 from hvitved/csharp/use-scratch-dir
...
C#: Use `CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR` instead of `Path.GetTempPath`
2023-12-12 08:16:04 +01:00
Tom Hvitved
866f124a95
C#: Use CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR instead of Path.GetTempPath
2023-12-11 13:10:46 +01:00
Michael Nebel
09239ba804
C#: Update NuGet packages.
2023-12-11 10:57:43 +01:00
Michael Nebel
9ab9f2b0e6
C#: Update all project files to use .NET 8 as target framework.
2023-12-11 10:57:43 +01:00
Michael Nebel
4cc75c5bd6
Merge pull request #14564 from michaelnebel/csharp/cildefaultfalse
...
C#: Disable CIL extraction by default.
2023-11-09 13:06:54 +01:00
Michael Nebel
0cf00ebb5d
C#: Re-introduce null check in cached entity hash code calculation.
2023-11-08 10:59:06 +01:00
Michael Nebel
69e8621062
C#: Fix compiler warning of possible null de-reference.
2023-11-08 10:21:26 +01:00
Michael Nebel
9b56e83745
C#: Set CIL extraction default to false.
2023-11-08 09:40:01 +01:00
Tamas Vajk
de45a9b137
C#: Extract compilation DB entity in standalone mode
2023-10-02 12:54:49 +02:00
Tom Hvitved
2429a5383d
C#: Move NestPaths to Semmle.Util
2023-09-21 11:33:25 +02:00
Tom Hvitved
718e491800
C#: Clear TRAP stack when calling PopulateGenerics
2023-09-06 21:12:01 +02:00
Tom Hvitved
6e0ff56788
Revert "C#: Bump all dependencies"
2023-09-06 16:23:38 +02:00
Tom Hvitved
bce47fe344
C#: Bump all dependencies
2023-08-29 09:24:39 +02:00
Tom Hvitved
31738a37ae
Merge pull request #14016 from hvitved/csharp/codeql-threads
...
C#: Respect `$CODEQL_THREADS` environment variable
2023-08-22 13:04:48 +02:00
Tom Hvitved
6bb37ca465
C#: Respect $CODEQL_THREADS environment variable
2023-08-22 11:46:03 +02:00
Michael Nebel
864f60f90f
C#: Re-arrange using statements.
2023-08-21 09:41:28 +02:00
Michael Nebel
c0d1179c8a
C#: Minimal update of relevant code to minimize project dependencies and hide some implementation details behind interfaces.
2023-08-18 11:42:12 +02:00
Michael Nebel
f47e59dff1
C#: Move dependency related files into a new project.
2023-08-18 11:42:12 +02:00
Tamas Vajk
f90c5346bf
C#: Change handled exception in TrapWriter.ArchiveContents
2023-02-03 15:13:23 +01:00
Michael Nebel
3a4e5700e8
C#: Update project targets, workflows and other scripts to use .NET 7.
2023-01-31 13:20:59 +01:00
Tom Hvitved
eda028721e
C#: Update all nuget packages
2022-11-15 09:19:33 +01:00
Josh Soref
a68a61d43f
spelling: entity
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2022-10-19 03:49:16 -04:00
Michael Nebel
ea40e7b29d
C#: Use the extractor option to decide, whether CIL should be enabled.
2022-08-30 14:34:54 +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
Michael Nebel
8312fc6895
C#: Use groups and rename to trap.compression instead. Various changes to description to align with Ruby.
2022-03-01 12:01:44 +01:00
Michael Nebel
3e898a1b09
C#: Use generic TryParse method instead.
2022-02-24 16:18:42 +01:00
Michael Nebel
837b91b31e
C#: Make TrapCompression setter private.
2022-02-23 10:12:56 +01:00
Michael Nebel
68b85900b7
C#: Remove old way of providing compression parameter.
2022-02-23 09:39:13 +01:00
Michael Nebel
6176b64907
C#: Add support to the extractor for getting the compression extractor option.
2022-02-23 09:39:13 +01:00
Tom Hvitved
1c66444a61
C#: Use Brotli instead of Gzip
2022-02-10 14:30:24 +01:00
Tom Hvitved
d7eeb1fec8
C#: Use .NET 6
2022-02-02 19:25:30 +01:00
Tom Hvitved
70f4efb834
Merge pull request #7646 from hvitved/csharp/roslyn-tuple-elements-workaround
...
C#: Workaround Roslyn bug in `INamedTypeSymbol.TupleElements`
2022-01-19 19:54:29 +01:00