Skip to content

Commit 4f9e34a

Browse files
author
claudiamurialdo
committed
Update test project files to target .NET 8.0.
1 parent f1bbfc6 commit 4f9e34a

File tree

20 files changed

+23
-23
lines changed

20 files changed

+23
-23
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
# Initializes the CodeQL tools for scanning.
4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@v2
48+
uses: github/codeql-action/init@v3
4949
with:
5050
debug: true
5151
languages: ${{ matrix.language }}
@@ -64,10 +64,10 @@ jobs:
6464
run: |
6565
$TempSolution = "CodeqlSolution"
6666
dotnet new sln --name $TempSolution --output dotnet --force
67-
dotnet msbuild dotnet\DotNetStandardClasses.sln /t:DumpProjects -p:DumpSolutionName=$TempSolution /m:1 -p:DumpSolutionTargetFrameworkDefault=net6
67+
dotnet msbuild dotnet\DotNetStandardClasses.sln /t:DumpProjects -p:DumpSolutionName=$TempSolution /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
6868
6969
- name: Build temporary solution
70-
run: dotnet build dotnet\CodeqlSolution.sln --framework net6.0
70+
run: dotnet build dotnet\CodeqlSolution.sln --framework net8.0
7171

7272
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
7373
# If this step fails, then you should remove it and run the build manually (see below)
@@ -86,6 +86,6 @@ jobs:
8686
# make release
8787

8888
- name: Perform CodeQL Analysis
89-
uses: github/codeql-action/analyze@v2
89+
uses: github/codeql-action/analyze@v3
9090
with:
9191
category: "/language:${{matrix.language}}"

dotnet/src/extensions/Azure/test/GeneXus.Programs.Common/GeneXus.Programs.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

dotnet/src/extensions/Azure/test/amyprocedurehandler/amyprochandler.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<AssemblyName>amyprochandler</AssemblyName>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

dotnet/src/extensions/Azure/test/apiattractions/apiattractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

dotnet/src/extensions/SecurityAPI/test/dotnetcore/SecurityAPITestNetCore/SecurityAPITestNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
44
<IsPublishable>false</IsPublishable>
55
<NoWarn>CS0618,CA1707</NoWarn>
66
<IsPackable>false</IsPackable>

dotnet/src/extensions/mocking/src/MockDBAccess/MockDBAccess.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net462</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net462</TargetFrameworks>
55
<TargetFramework Condition="'$(Publishing)' == 'true'">net462</TargetFramework>
66
<NoWarn>618;1607;1698</NoWarn>
77
<IsPackable>false</IsPackable>

dotnet/src/extensions/mocking/test/TestMockDBAccess/TestMockDBAccess.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

dotnet/test/DotNetCoreAttackMitigationTest/DotNetCoreAttackMitigationTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
44
<NoWarn>CS8032;1701;1702;NU1701</NoWarn>
55
<RollForward>Major</RollForward>
66
</PropertyGroup>

dotnet/test/DotNetCoreChunkedTest/DotNetCoreChunkedTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
44
<NoWarn>CS8032;1701;1702;NU1701</NoWarn>
55
<RollForward>Major</RollForward>
66
</PropertyGroup>

dotnet/test/DotNetCoreCmdTest/DotNetCoreCmdTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0</TargetFrameworks>
44
<NoWarn>CS8032;1701;1702;NU1701</NoWarn>
55
<RollForward>Major</RollForward>
66
</PropertyGroup>

0 commit comments

Comments
 (0)