Paolo Tranquilli
7b8c11379d
Javascript: use `codeql_pack` for javascript extractor
2024-06-03 23:14:44 +02:00
Cornelius Riemenschneider
576ea325e8
Merge remote-tracking branch 'origin/main' into criemen/bazel-csharp
2024-05-23 10:21:19 +02:00
Tom Hvitved
621de2b977
C#: Avoid process creation indirection in auto-builder
2024-05-22 20:05:16 +02:00
Cornelius Riemenschneider
71372bc74c
C#: Add Bazel-based build system.
...
This commits a bazel-based build system for C#
using `rules_dotnet`. External dependencies are managed
via `paket`, and updates to the generated bazel files
are done via `./update-deps.sh`.
We're providing our own (minimal) test runner for `xunit`
tests.
2024-05-21 09:14:13 +02:00
Michael Nebel
07fc84de8c
C#: Don't inject compiler flags when dotnet is used to execute an application.
2024-03-01 13:24:04 +01:00
Michael Nebel
7ea8f88d47
C#: Allow exe and dll files for dotnet test to start with any character.
2023-11-07 14:52:37 +01:00
Michael Nebel
8768b9e3dd
C#: Fix tracer issue with dotnet dotnet.
2023-09-14 14:49:57 +02:00
Michael Nebel
d4a1c297aa
C#: Quote arguments containing whitespaces on windows in the tracer.
2023-09-11 11:18:27 +02:00
Michael Nebel
8475464fbe
C#: Cleanup hotfix version of quoting.
2023-09-11 11:18:27 +02:00
Michael Nebel
9691100138
C#: Poor mans quoting of arguments on windows.
2023-09-08 15:09:24 +02:00
Tamas Vajk
d391246f27
C#: Generate source files from `.cshtml` files in standalone
2023-08-21 10:38:21 +02:00
Michael B. Gale
ac389067fe
C#: Limit detection of sub-command names
2023-07-21 19:05:22 +01:00
Michael Nebel
65e651506c
C#: Address review comments.
2023-06-08 08:51:21 +02:00
Michael Nebel
f9c890be35
C#: Address review comments.
2023-06-07 14:53:41 +02:00
Michael Nebel
5c9b0b9b76
C#: Address review comments.
2023-06-07 12:43:31 +02:00
Michael Nebel
4dae7ad35a
C#: Only inject the shared compilation flag, if argument is not exe or dll.
2023-06-06 17:22:52 +02:00
Tamas Vajk
74a585222c
C#: Extract source files generated by source generators
2023-05-26 09:13:41 +02:00
erik-krogh
dcc1c3d487
add --working-dir=. to pre-finalize for c#
2023-01-16 18:09:00 +01:00
Tom Hvitved
01830904ff
C#: Recognize options to `dotnet run` in tracer when injecting `-p:UseSharedCompilation=false`
2022-10-04 09:54:48 +02:00
Tom Hvitved
cc09a79cfa
C#: Prepend `-p:UseSharedCompilation=false` instead of append for `dotnet run`
2022-09-21 19:42:58 +02:00
Andrew Eisenberg
58e4861b45
Merge branch 'main' into rc/3.7
2022-09-20 12:43:20 -07:00
Michael Nebel
d0c6837a79
C#: Do not recognize 'run' as supported dotnet command for tracing.
2022-09-19 11:37:46 +02:00
Tom Hvitved
0353b3ebfc
Merge pull request #10308 from github/rc/3.7
...
Merge `rc/3.7` into `main`
2022-09-06 13:32:00 +02:00
Tom Hvitved
d8b352c2e6
C#: Use `-p:` instead of `/p:` with `dotnet`
...
Makes a difference for `dotnet run` where the option will otherwise be considered
an argument to the program that is run.
2022-09-05 10:40:00 +02:00
Tom Hvitved
623ba7926f
C#: Fix `/p:UseSharedCompilation=false` tracer injection for `dotnet run`
2022-09-04 09:54:21 +02:00
Tom Hvitved
99d9fe14c8
C#: Also inject `dotnet (pack|test|run)`
2022-09-02 14:17:23 +02:00
Tom Hvitved
7c12139c9e
C#: Also inject `/p:UseSharedCompilation=false` into `dotnet publish`
2022-09-02 13:51:22 +02:00
Tom Hvitved
18b5ab0862
C#: Remove legacy tracer support
2022-08-31 16:57:59 +02:00
Tom Hvitved
c75c489707
C#: Inject `/p:MvcBuildViews=true` using tracer instead of auto-builder
2022-08-31 16:57:59 +02:00
Tom Hvitved
914b9680c0
C#: Also inject `/p:UseSharedCompilation=false` to `(x|ms)build.exe` (Windows)
2022-08-31 16:57:59 +02:00
Michael Nebel
27d1008171
C#: Update tracer arguments.
2022-08-30 14:34:54 +02:00
Tom Hvitved
2bb9e4859f
C#: Handle `dotnet exec csc.dll` and the likes in the Lua tracer
2022-08-10 12:52:18 +02:00
Tom Hvitved
400071091c
C#: Also disable shared compilation in the tracer for `dotnet msbuild`
2022-08-05 14:17:16 +02:00
Cornelius Riemenschneider
e9e5d948b3
C#: Implement proper `dotnet build` handling in the Lua tracing config.
...
For proper C# tracing, `dotnet build` needs the parameter
/p:UseSharedCompilation=false. However, we can't pass that to the other
subcommands of `dotnet`, therefore we need to figure out which subcommand
of `dotnet` is being invoked.
2022-07-20 10:11:36 +00:00
Cornelius Riemenschneider
3836d1550a
Update Lua tracing configs.
2022-05-17 13:18:28 +00:00
Cornelius Riemenschneider
7c10f3e76b
C#: Lua tracing config: Use API function.
2022-05-10 14:38:53 +00:00
Cornelius Riemenschneider
40503aa368
Address review.
2022-05-10 08:06:25 +00:00
Cornelius Riemenschneider
bf0e32ae82
C#: Port the existing compiler-tracing.spec files to Lua.
2022-05-09 14:45:34 +00:00
Cornelius Riemenschneider
03ff2c622a
Remove macos compatibility stanzas from tracing config.
2021-11-08 11:30:31 +01:00
Tom Hvitved
af0b9abab7
C#: Handle `dotnet exec csc.dll` compiler calls on Windows
2021-09-10 11:26:43 +02:00
Tom Hvitved
5b5ed97421
C#: Silence XML extraction commands
2021-08-05 15:24:01 +02:00
Tom Hvitved
131a05563a
C#: Disable shared compilation when building with Mono+MSBuild
2020-11-04 14:16:25 +01:00
Tom Hvitved
8de57c7d19
C#: Move ASP extraction from auto builder to `pre-finalize.{sh,cmd}`
2020-09-22 11:55:02 +02:00
Tom Hvitved
d3ea20cd2c
Merge pull request #4271 from github/matt-gretton-dann/csharp-dont-trace-macos-pkill
...
Don't trace through pkill or pgrep on macOS.
2020-09-21 15:44:48 +02:00
Matthew Gretton-Dann
99fd323ded
Don't trace through pkill or pgrep on macOS.
2020-09-15 13:37:22 +01:00
Tom Hvitved
9629f1c2f4
C#: Also propagate exit code in `pre-finalize.cmd`
2020-09-10 11:09:38 +02:00
Tom Hvitved
a32db3de4b
Simplify exit code logic
...
Co-authored-by: Arthur Baars <aibaars@github.com>
2020-09-10 10:22:02 +02:00
Tom Hvitved
4cc1e4d1f1
C#: Correctly propagate exit code in `autobuild.cmd`
2020-09-10 10:01:43 +02:00
Tom Hvitved
d1db7b350f
C#: Add CodeQL extractor pack files
2020-08-03 14:36:06 +02:00