Cornelius Riemenschneider
027c7d0d43
C#: Add fallback for branch detection.
...
Apparently, when building a release build, we're getting `no-git`
as first part o the version string for the submodule.
If we do, fall back to the internal repo's branch name.
For releases, that's the same anyways.
Luckily, the commit SHA is correct.
2024-06-10 12:14:03 +02:00
Tamas Vajk
5f98f2aec9
Add assembly attributes to bazel build script
2024-06-07 15:42:12 +02:00
Cornelius Riemenschneider
6731bccc92
C#: Provide skeleton to generate an assemblyInfo file.
...
Each unit gets a unique assemblyInfo file, on top
of the ones for entrypoints that also gets the git info embedded.
2024-06-07 15:24:53 +02:00
Cornelius Riemenschneider
576ea325e8
Merge remote-tracking branch 'origin/main' into criemen/bazel-csharp
2024-05-23 10:21:19 +02:00
Cornelius Riemenschneider
767d427c1b
C#: Re-implement the git version logic using an attribute.
2024-05-21 17:28:31 +02:00
Tamas Vajk
cecaa0de3a
C#: Clear possibly inherited Directory.Build.props and Directory.Build.targets in stub generator
2024-05-21 08:55:19 +02:00
Cornelius Riemenschneider
8f207e7a06
Add dotnet tool restore to local CI.
2024-05-15 14:16:47 +02:00
Michael Nebel
9a6751a6dd
C#: Update the RuntimeFrameworkVersion to 8.0.1.
2024-01-31 09:27:37 +01:00
Henti Smith
612256b760
Updated dotnet to 8.0.101
...
This is a corresponding PR to https://github.com/github/semmle-code/pull/48786
2024-01-30 16:23:07 +00:00
Michael Nebel
37b510cac0
C#: Add stubs for entity framework.
2023-12-19 11:52:59 +01:00
Michael Nebel
7cb758a61b
C#: Add stubs for System.Data.OleDb.
2023-12-19 11:37:32 +01:00
Michael Nebel
b10137c24c
C#: Pick the first version number encountered.
2023-12-18 11:02:49 +01:00
Michael Nebel
82784b4364
C#: Add a script for generating stubs for all packages needed for testing.
2023-12-14 16:11:17 +01:00
Michael Nebel
3d012cd35f
C#: Move the generator class to a helper file.
2023-12-14 14:11:59 +01:00
Michael Nebel
8343ce0754
C#: Re-factor the make_stubs_nuget script to more easily allow multiple nuget references.
2023-12-14 14:11:59 +01:00
Michael Nebel
89f0abe3a0
C#: Update the target framework in the create extractor pack script.
2023-12-11 10:57:43 +01:00
Michael Nebel
01c65e83a0
C#: Update the stub generator to .NET 8.
2023-12-11 10:57:43 +01:00
Michael Nebel
5ba0e0ffce
C#: Adjust the relative path to the stub generator project file.
2023-10-23 15:09:38 +02:00
Michael Nebel
d4af05cbf9
C#: Move stub generator script.
2023-10-23 15:09:38 +02:00
Michael B. Gale
75c75ea49c
Correctly select dotnet platform on arm-based macs
2023-02-16 11:07:37 +00: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
313767539a
C#: Add workflow for running QL tests
2022-11-22 09:32:44 +01:00