diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 2b9bdc1..18f4771 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -23,7 +23,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/Directory.Build.props b/Directory.Build.props index bb0658b..b6c4a44 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - net6.0 + net8.0 enable \ No newline at end of file diff --git a/README.md b/README.md index 9e4a1b1..4798d7f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ For clients with straightforward needs one high level API client is provided in ### Requirements -- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) or later +- [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later - A registered app on the [Forge Developer Portal](http://forge.autodesk.com). ### Dependencies diff --git a/nuget.targets b/nuget.targets deleted file mode 100644 index cfec44d..0000000 --- a/nuget.targets +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Autodesk.Forge.DesignAutomation/Autodesk.Forge.DesignAutomation.csproj b/src/Autodesk.Forge.DesignAutomation/Autodesk.Forge.DesignAutomation.csproj index e4e278b..8bc6c82 100644 --- a/src/Autodesk.Forge.DesignAutomation/Autodesk.Forge.DesignAutomation.csproj +++ b/src/Autodesk.Forge.DesignAutomation/Autodesk.Forge.DesignAutomation.csproj @@ -1,34 +1,14 @@ - + - true - Autodesk Forge - Autodesk Forge - Autodesk - Autodesk Forge Client sdk for Forge DesignAutomation API - Autodesk Inc. - 5.1.2 - Autodesk.Forge.DesignAutomation - Apache-2.0 - https://github.com/Autodesk-Forge/forge-api-dotnet-design.automation - logo_forge-2-line.png - For full release notes see https://github.com/Autodesk-Forge/forge-api-dotnet-design.automation/blob/master/CHANGELOG.md - true - true - snupkg + 6.0.0 - - - - - - + - diff --git a/tests/e2e/E2eTests.csproj b/tests/e2e/E2eTests.csproj index c7fdeb4..56523c0 100644 --- a/tests/e2e/E2eTests.csproj +++ b/tests/e2e/E2eTests.csproj @@ -1,4 +1,4 @@ - + false @@ -18,11 +18,11 @@ - + - - - + + + all runtime; build; native; contentfiles; analyzers diff --git a/tests/e2e/TestActivities.cs b/tests/e2e/TestActivities.cs index d1755eb..94d321b 100644 --- a/tests/e2e/TestActivities.cs +++ b/tests/e2e/TestActivities.cs @@ -49,7 +49,7 @@ public partial class Tests [Fact] [Order(Weight = 2.0)] - public async void Activities_Create() + public async Task Activities_Create() { using (Fixture.StartTestScope()) { @@ -59,7 +59,7 @@ public async void Activities_Create() [Fact] [Order(Weight = 2.1)] - public async void Activities_GetAll() + public async Task Activities_GetAll() { using (Fixture.StartTestScope()) { diff --git a/tests/e2e/TestAppBundlesApi.cs b/tests/e2e/TestAppBundlesApi.cs index c9cca92..0c4688a 100644 --- a/tests/e2e/TestAppBundlesApi.cs +++ b/tests/e2e/TestAppBundlesApi.cs @@ -33,7 +33,7 @@ public partial class Tests [Fact] [Order(Weight = 1.0)] - public async void AppBundles_Create() + public async Task AppBundles_Create() { using (Fixture.StartTestScope()) { @@ -44,7 +44,7 @@ public async void AppBundles_Create() [Fact] [Order(Weight = 1.1)] - public async void AppBundles_Update() + public async Task AppBundles_Update() { using (Fixture.StartTestScope()) { @@ -58,7 +58,7 @@ public async void AppBundles_Update() [Fact] [Order(Weight = 1.2)] - public async void AppBundles_GetAll() + public async Task AppBundles_GetAll() { using (Fixture.StartTestScope()) { @@ -73,7 +73,7 @@ public async void AppBundles_GetAll() [Fact] [Order(Weight = 1.3)] - public async void AppBundles_GetAllAlias() + public async Task AppBundles_GetAllAlias() { using (Fixture.StartTestScope()) { @@ -86,7 +86,7 @@ public async void AppBundles_GetAllAlias() [Fact] [Order(Weight = 1.4)] - public async void AppBundles_GetAllVersion() + public async Task AppBundles_GetAllVersion() { using (Fixture.StartTestScope()) { diff --git a/tests/e2e/TestForgeAppsApi.cs b/tests/e2e/TestForgeAppsApi.cs index f982dac..6dbac8e 100644 --- a/tests/e2e/TestForgeAppsApi.cs +++ b/tests/e2e/TestForgeAppsApi.cs @@ -30,7 +30,7 @@ public partial class Tests [Fact] [Order(Weight = 0.0)] - public async void ForgeApps_Delete() + public async Task ForgeApps_Delete() { using (var scope = Fixture.StartTestScope()) { @@ -44,7 +44,7 @@ public async void ForgeApps_Delete() [Fact] [Order(Weight = 0.1)] - public async void ForgeApps_CreateNickname() + public async Task ForgeApps_CreateNickname() { using (Fixture.StartTestScope()) { @@ -54,7 +54,7 @@ public async void ForgeApps_CreateNickname() [Fact] [Order(Weight = 0.2)] - public async void ForgeApps_GetNickname() + public async Task ForgeApps_GetNickname() { using (Fixture.StartTestScope()) { @@ -65,7 +65,7 @@ public async void ForgeApps_GetNickname() [Fact] [Order(Weight = 0.3)] - public async void ForgeApps_CreateNicknameRecord() + public async Task ForgeApps_CreateNicknameRecord() { using (Fixture.StartTestScope()) { @@ -75,7 +75,7 @@ public async void ForgeApps_CreateNicknameRecord() [Fact] [Order(Weight = 0.4)] - public async void ForgeApps_GetNicknameRecord() + public async Task ForgeApps_GetNicknameRecord() { using (Fixture.StartTestScope()) { diff --git a/tests/e2e/TestServiceLimits.cs b/tests/e2e/TestServiceLimits.cs index e9c181e..3e0a3e2 100644 --- a/tests/e2e/TestServiceLimits.cs +++ b/tests/e2e/TestServiceLimits.cs @@ -27,7 +27,7 @@ public partial class Tests { [Fact] [Order(Weight = 3.0)] - public async void ServiceLimits_Get() + public async Task ServiceLimits_Get() { using (Fixture.StartTestScope()) { @@ -37,7 +37,7 @@ public async void ServiceLimits_Get() [Fact] [Order(Weight = 3.1)] - public async void ServiceLimits_Update() + public async Task ServiceLimits_Update() { using (Fixture.StartTestScope()) { diff --git a/tests/e2e/TestWorkitems.cs b/tests/e2e/TestWorkitems.cs index 499f654..9f0203d 100644 --- a/tests/e2e/TestWorkitems.cs +++ b/tests/e2e/TestWorkitems.cs @@ -28,7 +28,7 @@ public partial class Tests { [Fact] [Order(Weight = 3.0)] - public async void WorkItems_Create() + public async Task WorkItems_Create() { using (var testScope = Fixture.StartTestScope()) { @@ -60,7 +60,7 @@ public async void WorkItems_Create() [Fact] [Order(Weight = 3.0)] - public async void WorkItems_CreateWithStringPayload() + public async Task WorkItems_CreateWithStringPayload() { using (var testScope = Fixture.StartTestScope()) {