Compare commits

...

3 Commits

Author SHA1 Message Date
Óscar San José
67e07256b5 Merge pull request #14852 from github/aeisenberg/backport/14825
Backport PR #14825
2023-11-21 10:25:16 +01:00
Michael B. Gale
9db4f1a146 C#: Fix dotnet_test_mstest 2023-11-20 11:24:25 -08:00
Michael Nebel
2b2708d99f C#: Fix the dotnet pack integration test. 2023-11-20 11:24:25 -08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -2,10 +2,10 @@ import os
from create_database_utils import *
from diagnostics_test_utils import *
run_codeql_database_create(['dotnet pack'], db=None, lang="csharp")
run_codeql_database_create(['dotnet pack -o nugetpackage'], db=None, lang="csharp")
## Check that the NuGet package is created.
if not os.path.isfile("bin/Debug/dotnet_pack.1.0.0.nupkg"):
if not os.path.isfile("nugetpackage/dotnet_pack.1.0.0.nupkg"):
raise Exception("The NuGet package was not created.")
check_diagnostics()

View File

@@ -7,6 +7,7 @@
<IsPackable>false</IsPackable>
<OutputType>Exe</OutputType>
<SelfContained>false</SelfContained>
</PropertyGroup>
<ItemGroup>