diff --git a/fern/pages/changelogs/csharp-sdk/2024-11-26.mdx b/fern/pages/changelogs/csharp-sdk/2024-11-26.mdx
new file mode 100644
index 00000000000..a347226a031
--- /dev/null
+++ b/fern/pages/changelogs/csharp-sdk/2024-11-26.mdx
@@ -0,0 +1,9 @@
+## 1.9.12
+**`(feat):`** Optimize the GitHub Actions workflow and update its dependencies.
+- Merge build, test, and publish into a single job to avoid redoing the same work three times.
+- Break up the job into more steps to make it clearer where errors occur.
+- Update GitHub Actions actions to the latest version.
+- Using the .NET 9 SDK for building, testing, and publishing.
+- Reduce irrelevant logs.
+
+
diff --git a/generators/csharp/codegen/src/asIs/github-ci.yml b/generators/csharp/codegen/src/asIs/github-ci.yml
index ed7bec9283b..bbbe9cb56e9 100644
--- a/generators/csharp/codegen/src/asIs/github-ci.yml
+++ b/generators/csharp/codegen/src/asIs/github-ci.yml
@@ -1,70 +1,50 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
-
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
+ dotnet-version: |
+ 9.x
+ 8.x
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
+ run: dotnet tool restore
- - name: Run Tests
- run: |
- dotnet test src
+ - name: Restore dependencies
+ run: dotnet restore src
-<% if (shouldWritePublishBlock) { %>
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Publish
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
+<% if (shouldWritePublishBlock) { %>
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: $\{{ secrets.<%= nugetTokenEnvvar%> }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/<%= projectName%> --no-build --no-restore -c Release
dotnet nuget push src/<%= projectName%>/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
<% } %>
\ No newline at end of file
diff --git a/generators/csharp/codegen/src/asIs/test/Template.Test.csproj b/generators/csharp/codegen/src/asIs/test/Template.Test.csproj
index 79750a6a8de..9a98f24344e 100644
--- a/generators/csharp/codegen/src/asIs/test/Template.Test.csproj
+++ b/generators/csharp/codegen/src/asIs/test/Template.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/generators/csharp/sdk/versions.yml b/generators/csharp/sdk/versions.yml
index 35940573cb5..95817672174 100644
--- a/generators/csharp/sdk/versions.yml
+++ b/generators/csharp/sdk/versions.yml
@@ -6,6 +6,19 @@
# The C# SDK now uses forward-compatible enums which are not compatible with the previously generated enums.
# Set `enable-forward-compatible-enums` to `false` in the configuration to generate the old enums.
# irVersion: 53
+- version: 1.9.12
+ createdAt: "2024-11-26"
+ changelogEntry:
+ - type: feat
+ summary: |
+ Optimize the GitHub Actions workflow and update its dependencies.
+ - Merge build, test, and publish into a single job to avoid redoing the same work three times.
+ - Break up the job into more steps to make it clearer where errors occur.
+ - Update GitHub Actions actions to the latest version.
+ - Using the .NET 9 SDK for building, testing, and publishing.
+ This won't affect the TFM outputs, and tests still execute on .NET 8 runtime.
+ - Reduce irrelevant logs.
+ irVersion: 53
- version: 1.9.11
createdAt: "2024-11-25"
changelogEntry:
diff --git a/seed/csharp-model/alias-extends/.github/workflows/ci.yml b/seed/csharp-model/alias-extends/.github/workflows/ci.yml
index f8bba989fb0..d2b69d7a23b 100644
--- a/seed/csharp-model/alias-extends/.github/workflows/ci.yml
+++ b/seed/csharp-model/alias-extends/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAliasExtends --no-build --no-restore -c Release
dotnet nuget push src/SeedAliasExtends/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj b/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj
index a096140ec2c..16169a21187 100644
--- a/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj
+++ b/seed/csharp-model/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/alias-extends/src/SeedAliasExtends.sln b/seed/csharp-model/alias-extends/src/SeedAliasExtends.sln
index 9d4a0d7ce26..0c924b0b09a 100644
--- a/seed/csharp-model/alias-extends/src/SeedAliasExtends.sln
+++ b/seed/csharp-model/alias-extends/src/SeedAliasExtends.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends", "SeedAliasExtends\SeedAliasExtends.csproj", "{111D0935-08E8-4171-85B1-1C5EBFC9B523}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends", "SeedAliasExtends\SeedAliasExtends.csproj", "{0A199D44-6C75-43D2-B659-EFA276BFA5F3}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends.Test", "SeedAliasExtends.Test\SeedAliasExtends.Test.csproj", "{88526FC1-4A42-42B2-AFF8-DF67B9B699CB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends.Test", "SeedAliasExtends.Test\SeedAliasExtends.Test.csproj", "{56AAC7E0-D96B-4DB8-93C5-031C327C99DB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {111D0935-08E8-4171-85B1-1C5EBFC9B523}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {111D0935-08E8-4171-85B1-1C5EBFC9B523}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {111D0935-08E8-4171-85B1-1C5EBFC9B523}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {111D0935-08E8-4171-85B1-1C5EBFC9B523}.Release|Any CPU.Build.0 = Release|Any CPU
- {88526FC1-4A42-42B2-AFF8-DF67B9B699CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {88526FC1-4A42-42B2-AFF8-DF67B9B699CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {88526FC1-4A42-42B2-AFF8-DF67B9B699CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {88526FC1-4A42-42B2-AFF8-DF67B9B699CB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0A199D44-6C75-43D2-B659-EFA276BFA5F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0A199D44-6C75-43D2-B659-EFA276BFA5F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0A199D44-6C75-43D2-B659-EFA276BFA5F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0A199D44-6C75-43D2-B659-EFA276BFA5F3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {56AAC7E0-D96B-4DB8-93C5-031C327C99DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {56AAC7E0-D96B-4DB8-93C5-031C327C99DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {56AAC7E0-D96B-4DB8-93C5-031C327C99DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {56AAC7E0-D96B-4DB8-93C5-031C327C99DB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/alias/.github/workflows/ci.yml b/seed/csharp-model/alias/.github/workflows/ci.yml
index 2af8b595fd8..736231316e9 100644
--- a/seed/csharp-model/alias/.github/workflows/ci.yml
+++ b/seed/csharp-model/alias/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAlias --no-build --no-restore -c Release
dotnet nuget push src/SeedAlias/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj b/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj
index 4c80df47000..bba05ac6963 100644
--- a/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj
+++ b/seed/csharp-model/alias/src/SeedAlias.Test/SeedAlias.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/alias/src/SeedAlias.sln b/seed/csharp-model/alias/src/SeedAlias.sln
index b713e62b29d..b43abffba2c 100644
--- a/seed/csharp-model/alias/src/SeedAlias.sln
+++ b/seed/csharp-model/alias/src/SeedAlias.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias", "SeedAlias\SeedAlias.csproj", "{716C6252-042A-495A-A46C-3F1AD6CB49E0}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias", "SeedAlias\SeedAlias.csproj", "{AEA3538F-3D3E-4BF1-BCA7-C00DA4DEA619}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias.Test", "SeedAlias.Test\SeedAlias.Test.csproj", "{8AE7A86B-62A7-4953-B440-92444E3F73CE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias.Test", "SeedAlias.Test\SeedAlias.Test.csproj", "{2788A3C0-A78A-4538-BEC6-A382C211B5A8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {716C6252-042A-495A-A46C-3F1AD6CB49E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {716C6252-042A-495A-A46C-3F1AD6CB49E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {716C6252-042A-495A-A46C-3F1AD6CB49E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {716C6252-042A-495A-A46C-3F1AD6CB49E0}.Release|Any CPU.Build.0 = Release|Any CPU
- {8AE7A86B-62A7-4953-B440-92444E3F73CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8AE7A86B-62A7-4953-B440-92444E3F73CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8AE7A86B-62A7-4953-B440-92444E3F73CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8AE7A86B-62A7-4953-B440-92444E3F73CE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {AEA3538F-3D3E-4BF1-BCA7-C00DA4DEA619}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {AEA3538F-3D3E-4BF1-BCA7-C00DA4DEA619}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {AEA3538F-3D3E-4BF1-BCA7-C00DA4DEA619}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {AEA3538F-3D3E-4BF1-BCA7-C00DA4DEA619}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2788A3C0-A78A-4538-BEC6-A382C211B5A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2788A3C0-A78A-4538-BEC6-A382C211B5A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2788A3C0-A78A-4538-BEC6-A382C211B5A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2788A3C0-A78A-4538-BEC6-A382C211B5A8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/any-auth/.github/workflows/ci.yml b/seed/csharp-model/any-auth/.github/workflows/ci.yml
index 5efe00fff75..387e45422ee 100644
--- a/seed/csharp-model/any-auth/.github/workflows/ci.yml
+++ b/seed/csharp-model/any-auth/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAnyAuth --no-build --no-restore -c Release
dotnet nuget push src/SeedAnyAuth/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj b/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj
index cb2298c52d3..77cbc4f14b8 100644
--- a/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj
+++ b/seed/csharp-model/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/any-auth/src/SeedAnyAuth.sln b/seed/csharp-model/any-auth/src/SeedAnyAuth.sln
index 0568e63113f..64415fcdbc7 100644
--- a/seed/csharp-model/any-auth/src/SeedAnyAuth.sln
+++ b/seed/csharp-model/any-auth/src/SeedAnyAuth.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth", "SeedAnyAuth\SeedAnyAuth.csproj", "{A3ACFF2B-E6C2-4F97-9E71-EC050BD15234}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth", "SeedAnyAuth\SeedAnyAuth.csproj", "{C82AF77D-B16E-468E-859A-BC6A75F60D4B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth.Test", "SeedAnyAuth.Test\SeedAnyAuth.Test.csproj", "{EC2BBDCD-9269-4733-8DF0-532666900CD4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth.Test", "SeedAnyAuth.Test\SeedAnyAuth.Test.csproj", "{3DB0A5C4-351F-4230-97D1-288130CF5E77}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {A3ACFF2B-E6C2-4F97-9E71-EC050BD15234}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A3ACFF2B-E6C2-4F97-9E71-EC050BD15234}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A3ACFF2B-E6C2-4F97-9E71-EC050BD15234}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A3ACFF2B-E6C2-4F97-9E71-EC050BD15234}.Release|Any CPU.Build.0 = Release|Any CPU
- {EC2BBDCD-9269-4733-8DF0-532666900CD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {EC2BBDCD-9269-4733-8DF0-532666900CD4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EC2BBDCD-9269-4733-8DF0-532666900CD4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EC2BBDCD-9269-4733-8DF0-532666900CD4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C82AF77D-B16E-468E-859A-BC6A75F60D4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C82AF77D-B16E-468E-859A-BC6A75F60D4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C82AF77D-B16E-468E-859A-BC6A75F60D4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C82AF77D-B16E-468E-859A-BC6A75F60D4B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3DB0A5C4-351F-4230-97D1-288130CF5E77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3DB0A5C4-351F-4230-97D1-288130CF5E77}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3DB0A5C4-351F-4230-97D1-288130CF5E77}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3DB0A5C4-351F-4230-97D1-288130CF5E77}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/api-wide-base-path/.github/workflows/ci.yml b/seed/csharp-model/api-wide-base-path/.github/workflows/ci.yml
index 572bdfbbaae..d25109bdcc1 100644
--- a/seed/csharp-model/api-wide-base-path/.github/workflows/ci.yml
+++ b/seed/csharp-model/api-wide-base-path/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApiWideBasePath --no-build --no-restore -c Release
dotnet nuget push src/SeedApiWideBasePath/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj
index 330a9298b0a..8709dc0c54e 100644
--- a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj
+++ b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.sln b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.sln
index 5704df97e39..ac5df1f2e9f 100644
--- a/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.sln
+++ b/seed/csharp-model/api-wide-base-path/src/SeedApiWideBasePath.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath", "SeedApiWideBasePath\SeedApiWideBasePath.csproj", "{767E9776-9CE5-42C8-9267-D367E9F3E7E4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath", "SeedApiWideBasePath\SeedApiWideBasePath.csproj", "{B5BED4E8-29DD-4858-A499-093BFB2067B4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath.Test", "SeedApiWideBasePath.Test\SeedApiWideBasePath.Test.csproj", "{E61478F8-5229-479A-9F51-6D50151F6D5E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath.Test", "SeedApiWideBasePath.Test\SeedApiWideBasePath.Test.csproj", "{96B8FD93-8339-4659-A959-8AA64A332F1A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {767E9776-9CE5-42C8-9267-D367E9F3E7E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {767E9776-9CE5-42C8-9267-D367E9F3E7E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {767E9776-9CE5-42C8-9267-D367E9F3E7E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {767E9776-9CE5-42C8-9267-D367E9F3E7E4}.Release|Any CPU.Build.0 = Release|Any CPU
- {E61478F8-5229-479A-9F51-6D50151F6D5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E61478F8-5229-479A-9F51-6D50151F6D5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E61478F8-5229-479A-9F51-6D50151F6D5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E61478F8-5229-479A-9F51-6D50151F6D5E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B5BED4E8-29DD-4858-A499-093BFB2067B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B5BED4E8-29DD-4858-A499-093BFB2067B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B5BED4E8-29DD-4858-A499-093BFB2067B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B5BED4E8-29DD-4858-A499-093BFB2067B4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {96B8FD93-8339-4659-A959-8AA64A332F1A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {96B8FD93-8339-4659-A959-8AA64A332F1A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {96B8FD93-8339-4659-A959-8AA64A332F1A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {96B8FD93-8339-4659-A959-8AA64A332F1A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/audiences/.github/workflows/ci.yml b/seed/csharp-model/audiences/.github/workflows/ci.yml
index f77efefc305..fe6a1399cb4 100644
--- a/seed/csharp-model/audiences/.github/workflows/ci.yml
+++ b/seed/csharp-model/audiences/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAudiences --no-build --no-restore -c Release
dotnet nuget push src/SeedAudiences/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj b/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj
index efb76afe36f..4dc2e6aa9fd 100644
--- a/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj
+++ b/seed/csharp-model/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/audiences/src/SeedAudiences.sln b/seed/csharp-model/audiences/src/SeedAudiences.sln
index 3987e5ad70c..54074307ade 100644
--- a/seed/csharp-model/audiences/src/SeedAudiences.sln
+++ b/seed/csharp-model/audiences/src/SeedAudiences.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences", "SeedAudiences\SeedAudiences.csproj", "{C040DBFD-052A-4932-BF27-F6A718E2933F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences", "SeedAudiences\SeedAudiences.csproj", "{A5B385B9-343B-4E6B-80E5-8C0337AB0B0E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences.Test", "SeedAudiences.Test\SeedAudiences.Test.csproj", "{9175BF7E-5F09-4DE2-876B-29E47F07FA33}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences.Test", "SeedAudiences.Test\SeedAudiences.Test.csproj", "{5F8132AB-E4CE-4632-8ECC-756CCDF246E3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C040DBFD-052A-4932-BF27-F6A718E2933F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C040DBFD-052A-4932-BF27-F6A718E2933F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C040DBFD-052A-4932-BF27-F6A718E2933F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C040DBFD-052A-4932-BF27-F6A718E2933F}.Release|Any CPU.Build.0 = Release|Any CPU
- {9175BF7E-5F09-4DE2-876B-29E47F07FA33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9175BF7E-5F09-4DE2-876B-29E47F07FA33}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9175BF7E-5F09-4DE2-876B-29E47F07FA33}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9175BF7E-5F09-4DE2-876B-29E47F07FA33}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A5B385B9-343B-4E6B-80E5-8C0337AB0B0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A5B385B9-343B-4E6B-80E5-8C0337AB0B0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A5B385B9-343B-4E6B-80E5-8C0337AB0B0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A5B385B9-343B-4E6B-80E5-8C0337AB0B0E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5F8132AB-E4CE-4632-8ECC-756CCDF246E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5F8132AB-E4CE-4632-8ECC-756CCDF246E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5F8132AB-E4CE-4632-8ECC-756CCDF246E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5F8132AB-E4CE-4632-8ECC-756CCDF246E3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/auth-environment-variables/.github/workflows/ci.yml b/seed/csharp-model/auth-environment-variables/.github/workflows/ci.yml
index 5328734c97c..450acb6427d 100644
--- a/seed/csharp-model/auth-environment-variables/.github/workflows/ci.yml
+++ b/seed/csharp-model/auth-environment-variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAuthEnvironmentVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedAuthEnvironmentVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj
index 20f810ff4fd..63967e31329 100644
--- a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj
+++ b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln
index 400f5feb210..972d376d85e 100644
--- a/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln
+++ b/seed/csharp-model/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables", "SeedAuthEnvironmentVariables\SeedAuthEnvironmentVariables.csproj", "{ADEEEAA5-31E9-4C2E-86F6-3A62692A6F83}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables", "SeedAuthEnvironmentVariables\SeedAuthEnvironmentVariables.csproj", "{ADB7FC98-D353-4CE8-9DAD-5FA350555CFA}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables.Test", "SeedAuthEnvironmentVariables.Test\SeedAuthEnvironmentVariables.Test.csproj", "{8BAA0A3F-990A-4CB4-A41B-17F2974B04D9}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables.Test", "SeedAuthEnvironmentVariables.Test\SeedAuthEnvironmentVariables.Test.csproj", "{CF0368DB-4396-415B-9256-47A379815A3F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADEEEAA5-31E9-4C2E-86F6-3A62692A6F83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ADEEEAA5-31E9-4C2E-86F6-3A62692A6F83}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ADEEEAA5-31E9-4C2E-86F6-3A62692A6F83}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ADEEEAA5-31E9-4C2E-86F6-3A62692A6F83}.Release|Any CPU.Build.0 = Release|Any CPU
- {8BAA0A3F-990A-4CB4-A41B-17F2974B04D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8BAA0A3F-990A-4CB4-A41B-17F2974B04D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8BAA0A3F-990A-4CB4-A41B-17F2974B04D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8BAA0A3F-990A-4CB4-A41B-17F2974B04D9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ADB7FC98-D353-4CE8-9DAD-5FA350555CFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ADB7FC98-D353-4CE8-9DAD-5FA350555CFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ADB7FC98-D353-4CE8-9DAD-5FA350555CFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ADB7FC98-D353-4CE8-9DAD-5FA350555CFA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CF0368DB-4396-415B-9256-47A379815A3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CF0368DB-4396-415B-9256-47A379815A3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CF0368DB-4396-415B-9256-47A379815A3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CF0368DB-4396-415B-9256-47A379815A3F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/basic-auth-environment-variables/.github/workflows/ci.yml b/seed/csharp-model/basic-auth-environment-variables/.github/workflows/ci.yml
index b3d186a5e1f..35af64e185a 100644
--- a/seed/csharp-model/basic-auth-environment-variables/.github/workflows/ci.yml
+++ b/seed/csharp-model/basic-auth-environment-variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBasicAuthEnvironmentVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedBasicAuthEnvironmentVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj
index 1c5ab5dcbfd..8053a8f9341 100644
--- a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj
+++ b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln
index 1b38773efd2..09628803fa7 100644
--- a/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln
+++ b/seed/csharp-model/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables", "SeedBasicAuthEnvironmentVariables\SeedBasicAuthEnvironmentVariables.csproj", "{B4A7D432-F3D2-427F-A5E7-76CE85C808AB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables", "SeedBasicAuthEnvironmentVariables\SeedBasicAuthEnvironmentVariables.csproj", "{80FA92E6-066A-4034-99BF-7A5459A3D2E0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables.Test", "SeedBasicAuthEnvironmentVariables.Test\SeedBasicAuthEnvironmentVariables.Test.csproj", "{3EAA8324-C9CA-41E8-959B-9C64B6BE58FC}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables.Test", "SeedBasicAuthEnvironmentVariables.Test\SeedBasicAuthEnvironmentVariables.Test.csproj", "{5604D5B7-E8EE-4C3B-8095-0CC76BD670E4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {B4A7D432-F3D2-427F-A5E7-76CE85C808AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B4A7D432-F3D2-427F-A5E7-76CE85C808AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B4A7D432-F3D2-427F-A5E7-76CE85C808AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B4A7D432-F3D2-427F-A5E7-76CE85C808AB}.Release|Any CPU.Build.0 = Release|Any CPU
- {3EAA8324-C9CA-41E8-959B-9C64B6BE58FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3EAA8324-C9CA-41E8-959B-9C64B6BE58FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3EAA8324-C9CA-41E8-959B-9C64B6BE58FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3EAA8324-C9CA-41E8-959B-9C64B6BE58FC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {80FA92E6-066A-4034-99BF-7A5459A3D2E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {80FA92E6-066A-4034-99BF-7A5459A3D2E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {80FA92E6-066A-4034-99BF-7A5459A3D2E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {80FA92E6-066A-4034-99BF-7A5459A3D2E0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5604D5B7-E8EE-4C3B-8095-0CC76BD670E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5604D5B7-E8EE-4C3B-8095-0CC76BD670E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5604D5B7-E8EE-4C3B-8095-0CC76BD670E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5604D5B7-E8EE-4C3B-8095-0CC76BD670E4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/basic-auth/.github/workflows/ci.yml b/seed/csharp-model/basic-auth/.github/workflows/ci.yml
index fba2a1ba991..3d1a74f6238 100644
--- a/seed/csharp-model/basic-auth/.github/workflows/ci.yml
+++ b/seed/csharp-model/basic-auth/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBasicAuth --no-build --no-restore -c Release
dotnet nuget push src/SeedBasicAuth/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj b/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj
index 33244ffe96a..713c85dae3c 100644
--- a/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj
+++ b/seed/csharp-model/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/basic-auth/src/SeedBasicAuth.sln b/seed/csharp-model/basic-auth/src/SeedBasicAuth.sln
index 4d4f12b0f02..6532b9686d0 100644
--- a/seed/csharp-model/basic-auth/src/SeedBasicAuth.sln
+++ b/seed/csharp-model/basic-auth/src/SeedBasicAuth.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth", "SeedBasicAuth\SeedBasicAuth.csproj", "{CE0F99C4-FBF1-479A-A23D-71E55AF4658B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth", "SeedBasicAuth\SeedBasicAuth.csproj", "{9EF41391-1E04-43F5-A6D1-2801034A6063}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth.Test", "SeedBasicAuth.Test\SeedBasicAuth.Test.csproj", "{2292CEDA-51B0-4627-B9C5-A2BCF3563A35}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth.Test", "SeedBasicAuth.Test\SeedBasicAuth.Test.csproj", "{04C43634-647D-4629-AC0C-3C777F6D5957}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {CE0F99C4-FBF1-479A-A23D-71E55AF4658B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CE0F99C4-FBF1-479A-A23D-71E55AF4658B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CE0F99C4-FBF1-479A-A23D-71E55AF4658B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CE0F99C4-FBF1-479A-A23D-71E55AF4658B}.Release|Any CPU.Build.0 = Release|Any CPU
- {2292CEDA-51B0-4627-B9C5-A2BCF3563A35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2292CEDA-51B0-4627-B9C5-A2BCF3563A35}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2292CEDA-51B0-4627-B9C5-A2BCF3563A35}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2292CEDA-51B0-4627-B9C5-A2BCF3563A35}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9EF41391-1E04-43F5-A6D1-2801034A6063}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9EF41391-1E04-43F5-A6D1-2801034A6063}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9EF41391-1E04-43F5-A6D1-2801034A6063}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9EF41391-1E04-43F5-A6D1-2801034A6063}.Release|Any CPU.Build.0 = Release|Any CPU
+ {04C43634-647D-4629-AC0C-3C777F6D5957}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {04C43634-647D-4629-AC0C-3C777F6D5957}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {04C43634-647D-4629-AC0C-3C777F6D5957}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {04C43634-647D-4629-AC0C-3C777F6D5957}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/bearer-token-environment-variable/.github/workflows/ci.yml b/seed/csharp-model/bearer-token-environment-variable/.github/workflows/ci.yml
index cab5f0c4ac3..89890eb4b97 100644
--- a/seed/csharp-model/bearer-token-environment-variable/.github/workflows/ci.yml
+++ b/seed/csharp-model/bearer-token-environment-variable/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBearerTokenEnvironmentVariable --no-build --no-restore -c Release
dotnet nuget push src/SeedBearerTokenEnvironmentVariable/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj
index c66ac7c4081..bff1ec52cda 100644
--- a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj
+++ b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln
index e4d3f820e08..21a94fd5fbe 100644
--- a/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln
+++ b/seed/csharp-model/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable", "SeedBearerTokenEnvironmentVariable\SeedBearerTokenEnvironmentVariable.csproj", "{8147352A-413A-48FC-BFB6-3816E9B914B7}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable", "SeedBearerTokenEnvironmentVariable\SeedBearerTokenEnvironmentVariable.csproj", "{0CE8EB4E-9043-4979-8BA5-E52309834A07}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable.Test", "SeedBearerTokenEnvironmentVariable.Test\SeedBearerTokenEnvironmentVariable.Test.csproj", "{E4D7D9A5-F11D-409C-A1E9-96137DD35068}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable.Test", "SeedBearerTokenEnvironmentVariable.Test\SeedBearerTokenEnvironmentVariable.Test.csproj", "{EA90C037-D13E-480E-8846-A98603C19683}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {8147352A-413A-48FC-BFB6-3816E9B914B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8147352A-413A-48FC-BFB6-3816E9B914B7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8147352A-413A-48FC-BFB6-3816E9B914B7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8147352A-413A-48FC-BFB6-3816E9B914B7}.Release|Any CPU.Build.0 = Release|Any CPU
- {E4D7D9A5-F11D-409C-A1E9-96137DD35068}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E4D7D9A5-F11D-409C-A1E9-96137DD35068}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E4D7D9A5-F11D-409C-A1E9-96137DD35068}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E4D7D9A5-F11D-409C-A1E9-96137DD35068}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0CE8EB4E-9043-4979-8BA5-E52309834A07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0CE8EB4E-9043-4979-8BA5-E52309834A07}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0CE8EB4E-9043-4979-8BA5-E52309834A07}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0CE8EB4E-9043-4979-8BA5-E52309834A07}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EA90C037-D13E-480E-8846-A98603C19683}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EA90C037-D13E-480E-8846-A98603C19683}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EA90C037-D13E-480E-8846-A98603C19683}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EA90C037-D13E-480E-8846-A98603C19683}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/bytes/.github/workflows/ci.yml b/seed/csharp-model/bytes/.github/workflows/ci.yml
index 40ff011f6e0..9cad38b7656 100644
--- a/seed/csharp-model/bytes/.github/workflows/ci.yml
+++ b/seed/csharp-model/bytes/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBytes --no-build --no-restore -c Release
dotnet nuget push src/SeedBytes/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj b/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj
index 40490560dbd..588580d0066 100644
--- a/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj
+++ b/seed/csharp-model/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/bytes/src/SeedBytes.sln b/seed/csharp-model/bytes/src/SeedBytes.sln
index d00e908b308..091629dd09e 100644
--- a/seed/csharp-model/bytes/src/SeedBytes.sln
+++ b/seed/csharp-model/bytes/src/SeedBytes.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes", "SeedBytes\SeedBytes.csproj", "{C5109E3E-7062-4D68-8045-8D8365CB3667}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes", "SeedBytes\SeedBytes.csproj", "{0886463B-3EA4-43CC-9A95-0E5C6D76E5CA}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes.Test", "SeedBytes.Test\SeedBytes.Test.csproj", "{766017B7-A7CF-4B18-93B0-E8E580541042}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes.Test", "SeedBytes.Test\SeedBytes.Test.csproj", "{EA74D839-7089-4F37-8E8B-513C5D65D748}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C5109E3E-7062-4D68-8045-8D8365CB3667}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C5109E3E-7062-4D68-8045-8D8365CB3667}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C5109E3E-7062-4D68-8045-8D8365CB3667}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C5109E3E-7062-4D68-8045-8D8365CB3667}.Release|Any CPU.Build.0 = Release|Any CPU
- {766017B7-A7CF-4B18-93B0-E8E580541042}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {766017B7-A7CF-4B18-93B0-E8E580541042}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {766017B7-A7CF-4B18-93B0-E8E580541042}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {766017B7-A7CF-4B18-93B0-E8E580541042}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0886463B-3EA4-43CC-9A95-0E5C6D76E5CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0886463B-3EA4-43CC-9A95-0E5C6D76E5CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0886463B-3EA4-43CC-9A95-0E5C6D76E5CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0886463B-3EA4-43CC-9A95-0E5C6D76E5CA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EA74D839-7089-4F37-8E8B-513C5D65D748}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EA74D839-7089-4F37-8E8B-513C5D65D748}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EA74D839-7089-4F37-8E8B-513C5D65D748}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EA74D839-7089-4F37-8E8B-513C5D65D748}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/circular-references-advanced/.github/workflows/ci.yml b/seed/csharp-model/circular-references-advanced/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-model/circular-references-advanced/.github/workflows/ci.yml
+++ b/seed/csharp-model/circular-references-advanced/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-model/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/circular-references-advanced/src/SeedApi.sln b/seed/csharp-model/circular-references-advanced/src/SeedApi.sln
index efb2c7401eb..0cfe115f6f5 100644
--- a/seed/csharp-model/circular-references-advanced/src/SeedApi.sln
+++ b/seed/csharp-model/circular-references-advanced/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{C4D179F1-7877-4959-9203-7EA2062A983F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{4898CB69-4274-4813-B3B4-96A6B5F0897F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{FF9A4C5D-AD67-48C5-ABAA-C21AE3A76F4B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{6093D851-BFAD-4C11-B855-A18B582489BE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C4D179F1-7877-4959-9203-7EA2062A983F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C4D179F1-7877-4959-9203-7EA2062A983F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C4D179F1-7877-4959-9203-7EA2062A983F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C4D179F1-7877-4959-9203-7EA2062A983F}.Release|Any CPU.Build.0 = Release|Any CPU
- {FF9A4C5D-AD67-48C5-ABAA-C21AE3A76F4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FF9A4C5D-AD67-48C5-ABAA-C21AE3A76F4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FF9A4C5D-AD67-48C5-ABAA-C21AE3A76F4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FF9A4C5D-AD67-48C5-ABAA-C21AE3A76F4B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4898CB69-4274-4813-B3B4-96A6B5F0897F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4898CB69-4274-4813-B3B4-96A6B5F0897F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4898CB69-4274-4813-B3B4-96A6B5F0897F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4898CB69-4274-4813-B3B4-96A6B5F0897F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6093D851-BFAD-4C11-B855-A18B582489BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6093D851-BFAD-4C11-B855-A18B582489BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6093D851-BFAD-4C11-B855-A18B582489BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6093D851-BFAD-4C11-B855-A18B582489BE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/circular-references/.github/workflows/ci.yml b/seed/csharp-model/circular-references/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-model/circular-references/.github/workflows/ci.yml
+++ b/seed/csharp-model/circular-references/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-model/circular-references/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/circular-references/src/SeedApi.sln b/seed/csharp-model/circular-references/src/SeedApi.sln
index 70e4f48591f..a210fdd0928 100644
--- a/seed/csharp-model/circular-references/src/SeedApi.sln
+++ b/seed/csharp-model/circular-references/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{A28FD6FB-2FB9-402C-9A2E-C8ADD0D90AB2}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{2E96BDC3-5265-40AA-BCCE-DD602F2C7D40}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{B8DF6682-50F8-438E-A03F-E7B0C841A873}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{104BE172-15C0-4204-AA04-A96DD73D3120}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {A28FD6FB-2FB9-402C-9A2E-C8ADD0D90AB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A28FD6FB-2FB9-402C-9A2E-C8ADD0D90AB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A28FD6FB-2FB9-402C-9A2E-C8ADD0D90AB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A28FD6FB-2FB9-402C-9A2E-C8ADD0D90AB2}.Release|Any CPU.Build.0 = Release|Any CPU
- {B8DF6682-50F8-438E-A03F-E7B0C841A873}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B8DF6682-50F8-438E-A03F-E7B0C841A873}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B8DF6682-50F8-438E-A03F-E7B0C841A873}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B8DF6682-50F8-438E-A03F-E7B0C841A873}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2E96BDC3-5265-40AA-BCCE-DD602F2C7D40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2E96BDC3-5265-40AA-BCCE-DD602F2C7D40}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2E96BDC3-5265-40AA-BCCE-DD602F2C7D40}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2E96BDC3-5265-40AA-BCCE-DD602F2C7D40}.Release|Any CPU.Build.0 = Release|Any CPU
+ {104BE172-15C0-4204-AA04-A96DD73D3120}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {104BE172-15C0-4204-AA04-A96DD73D3120}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {104BE172-15C0-4204-AA04-A96DD73D3120}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {104BE172-15C0-4204-AA04-A96DD73D3120}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/cross-package-type-names/.github/workflows/ci.yml b/seed/csharp-model/cross-package-type-names/.github/workflows/ci.yml
index 614f312532c..45ff842fbaa 100644
--- a/seed/csharp-model/cross-package-type-names/.github/workflows/ci.yml
+++ b/seed/csharp-model/cross-package-type-names/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedCrossPackageTypeNames --no-build --no-restore -c Release
dotnet nuget push src/SeedCrossPackageTypeNames/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj
index 7b7fe7b3690..2601655391b 100644
--- a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj
+++ b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.sln b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.sln
index 9c1866e89be..28845b3f019 100644
--- a/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.sln
+++ b/seed/csharp-model/cross-package-type-names/src/SeedCrossPackageTypeNames.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames", "SeedCrossPackageTypeNames\SeedCrossPackageTypeNames.csproj", "{56426A53-89B0-4ECD-A002-98B6A52159C4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames", "SeedCrossPackageTypeNames\SeedCrossPackageTypeNames.csproj", "{F1817293-A968-4190-AA09-7666682A79F9}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames.Test", "SeedCrossPackageTypeNames.Test\SeedCrossPackageTypeNames.Test.csproj", "{A88D2EEE-3D08-446B-8CF0-0AD5DC642F3E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames.Test", "SeedCrossPackageTypeNames.Test\SeedCrossPackageTypeNames.Test.csproj", "{0DBDC092-B511-4F74-A4DF-963D796A7A80}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {56426A53-89B0-4ECD-A002-98B6A52159C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {56426A53-89B0-4ECD-A002-98B6A52159C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {56426A53-89B0-4ECD-A002-98B6A52159C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {56426A53-89B0-4ECD-A002-98B6A52159C4}.Release|Any CPU.Build.0 = Release|Any CPU
- {A88D2EEE-3D08-446B-8CF0-0AD5DC642F3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A88D2EEE-3D08-446B-8CF0-0AD5DC642F3E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A88D2EEE-3D08-446B-8CF0-0AD5DC642F3E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A88D2EEE-3D08-446B-8CF0-0AD5DC642F3E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F1817293-A968-4190-AA09-7666682A79F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F1817293-A968-4190-AA09-7666682A79F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F1817293-A968-4190-AA09-7666682A79F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F1817293-A968-4190-AA09-7666682A79F9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0DBDC092-B511-4F74-A4DF-963D796A7A80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0DBDC092-B511-4F74-A4DF-963D796A7A80}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0DBDC092-B511-4F74-A4DF-963D796A7A80}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0DBDC092-B511-4F74-A4DF-963D796A7A80}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml b/seed/csharp-model/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-model/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml
+++ b/seed/csharp-model/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.sln b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.sln
index 165b1d00c35..060dcbe93a1 100644
--- a/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.sln
+++ b/seed/csharp-model/csharp-grpc-proto-exhaustive/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{DB10066E-891B-41AA-BA78-666C1409F9FA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{0F164F8E-ECD1-4F23-8C8D-A513C6D1DA0E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{A6AA020C-500E-45B5-9825-B418AD88EF91}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{BB57EAE6-2F1E-428B-AB26-BFDA04438727}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {DB10066E-891B-41AA-BA78-666C1409F9FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DB10066E-891B-41AA-BA78-666C1409F9FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DB10066E-891B-41AA-BA78-666C1409F9FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DB10066E-891B-41AA-BA78-666C1409F9FA}.Release|Any CPU.Build.0 = Release|Any CPU
- {A6AA020C-500E-45B5-9825-B418AD88EF91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A6AA020C-500E-45B5-9825-B418AD88EF91}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A6AA020C-500E-45B5-9825-B418AD88EF91}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A6AA020C-500E-45B5-9825-B418AD88EF91}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0F164F8E-ECD1-4F23-8C8D-A513C6D1DA0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0F164F8E-ECD1-4F23-8C8D-A513C6D1DA0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0F164F8E-ECD1-4F23-8C8D-A513C6D1DA0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0F164F8E-ECD1-4F23-8C8D-A513C6D1DA0E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BB57EAE6-2F1E-428B-AB26-BFDA04438727}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BB57EAE6-2F1E-428B-AB26-BFDA04438727}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BB57EAE6-2F1E-428B-AB26-BFDA04438727}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BB57EAE6-2F1E-428B-AB26-BFDA04438727}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/csharp-grpc-proto/.github/workflows/ci.yml b/seed/csharp-model/csharp-grpc-proto/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-model/csharp-grpc-proto/.github/workflows/ci.yml
+++ b/seed/csharp-model/csharp-grpc-proto/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.sln b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.sln
index 3e683b26c5a..3859c8b431c 100644
--- a/seed/csharp-model/csharp-grpc-proto/src/SeedApi.sln
+++ b/seed/csharp-model/csharp-grpc-proto/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{F1FAE48E-4136-4E77-A90F-94911794009E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{2FB2FE21-3809-45CB-8765-5EBFE48B1501}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{0439F39A-FE7B-4B83-AC1F-458CFDF523EB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{40E43C30-1BD0-4939-AF06-157B697A3CBF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F1FAE48E-4136-4E77-A90F-94911794009E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F1FAE48E-4136-4E77-A90F-94911794009E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F1FAE48E-4136-4E77-A90F-94911794009E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F1FAE48E-4136-4E77-A90F-94911794009E}.Release|Any CPU.Build.0 = Release|Any CPU
- {0439F39A-FE7B-4B83-AC1F-458CFDF523EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0439F39A-FE7B-4B83-AC1F-458CFDF523EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0439F39A-FE7B-4B83-AC1F-458CFDF523EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0439F39A-FE7B-4B83-AC1F-458CFDF523EB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2FB2FE21-3809-45CB-8765-5EBFE48B1501}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2FB2FE21-3809-45CB-8765-5EBFE48B1501}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2FB2FE21-3809-45CB-8765-5EBFE48B1501}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2FB2FE21-3809-45CB-8765-5EBFE48B1501}.Release|Any CPU.Build.0 = Release|Any CPU
+ {40E43C30-1BD0-4939-AF06-157B697A3CBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {40E43C30-1BD0-4939-AF06-157B697A3CBF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {40E43C30-1BD0-4939-AF06-157B697A3CBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {40E43C30-1BD0-4939-AF06-157B697A3CBF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/csharp-namespace-conflict/.github/workflows/ci.yml b/seed/csharp-model/csharp-namespace-conflict/.github/workflows/ci.yml
index 04fb7b48275..def7ccdcb5e 100644
--- a/seed/csharp-model/csharp-namespace-conflict/.github/workflows/ci.yml
+++ b/seed/csharp-model/csharp-namespace-conflict/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedCsharpNamespaceConflict --no-build --no-restore -c Release
dotnet nuget push src/SeedCsharpNamespaceConflict/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj
index 653ea9acc8e..07eaa6b3d15 100644
--- a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj
+++ b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln
index 35425aaa102..0a10f8aa634 100644
--- a/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln
+++ b/seed/csharp-model/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict", "SeedCsharpNamespaceConflict\SeedCsharpNamespaceConflict.csproj", "{7F730939-7691-4FAB-82DC-77EE0149583A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict", "SeedCsharpNamespaceConflict\SeedCsharpNamespaceConflict.csproj", "{0DBE93DC-F555-4257-B285-56FB53C5B7CA}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict.Test", "SeedCsharpNamespaceConflict.Test\SeedCsharpNamespaceConflict.Test.csproj", "{73E805EA-C549-4FFC-9E7F-E24FCD804F2B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict.Test", "SeedCsharpNamespaceConflict.Test\SeedCsharpNamespaceConflict.Test.csproj", "{81799ECE-EFF5-4FCC-9912-EFBB3F9836FA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7F730939-7691-4FAB-82DC-77EE0149583A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7F730939-7691-4FAB-82DC-77EE0149583A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7F730939-7691-4FAB-82DC-77EE0149583A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7F730939-7691-4FAB-82DC-77EE0149583A}.Release|Any CPU.Build.0 = Release|Any CPU
- {73E805EA-C549-4FFC-9E7F-E24FCD804F2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {73E805EA-C549-4FFC-9E7F-E24FCD804F2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {73E805EA-C549-4FFC-9E7F-E24FCD804F2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {73E805EA-C549-4FFC-9E7F-E24FCD804F2B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0DBE93DC-F555-4257-B285-56FB53C5B7CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0DBE93DC-F555-4257-B285-56FB53C5B7CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0DBE93DC-F555-4257-B285-56FB53C5B7CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0DBE93DC-F555-4257-B285-56FB53C5B7CA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {81799ECE-EFF5-4FCC-9912-EFBB3F9836FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {81799ECE-EFF5-4FCC-9912-EFBB3F9836FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {81799ECE-EFF5-4FCC-9912-EFBB3F9836FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {81799ECE-EFF5-4FCC-9912-EFBB3F9836FA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/custom-auth/.github/workflows/ci.yml b/seed/csharp-model/custom-auth/.github/workflows/ci.yml
index 585de470c45..ba61f590381 100644
--- a/seed/csharp-model/custom-auth/.github/workflows/ci.yml
+++ b/seed/csharp-model/custom-auth/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedCustomAuth --no-build --no-restore -c Release
dotnet nuget push src/SeedCustomAuth/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj b/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj
index 1138d192410..0bd30cb0b56 100644
--- a/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj
+++ b/seed/csharp-model/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/custom-auth/src/SeedCustomAuth.sln b/seed/csharp-model/custom-auth/src/SeedCustomAuth.sln
index 5b62037f62a..7b773efba83 100644
--- a/seed/csharp-model/custom-auth/src/SeedCustomAuth.sln
+++ b/seed/csharp-model/custom-auth/src/SeedCustomAuth.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth", "SeedCustomAuth\SeedCustomAuth.csproj", "{63EF239A-C65B-498E-B0A6-D5470527F772}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth", "SeedCustomAuth\SeedCustomAuth.csproj", "{5E76D928-426D-4DCC-81AB-D1427E84798B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth.Test", "SeedCustomAuth.Test\SeedCustomAuth.Test.csproj", "{87F8E6F2-7570-4B2C-B2C6-50AD539AD112}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth.Test", "SeedCustomAuth.Test\SeedCustomAuth.Test.csproj", "{02EA1C1A-9CAE-492D-B684-396ED7C74C35}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {63EF239A-C65B-498E-B0A6-D5470527F772}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {63EF239A-C65B-498E-B0A6-D5470527F772}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {63EF239A-C65B-498E-B0A6-D5470527F772}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {63EF239A-C65B-498E-B0A6-D5470527F772}.Release|Any CPU.Build.0 = Release|Any CPU
- {87F8E6F2-7570-4B2C-B2C6-50AD539AD112}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {87F8E6F2-7570-4B2C-B2C6-50AD539AD112}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {87F8E6F2-7570-4B2C-B2C6-50AD539AD112}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {87F8E6F2-7570-4B2C-B2C6-50AD539AD112}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5E76D928-426D-4DCC-81AB-D1427E84798B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5E76D928-426D-4DCC-81AB-D1427E84798B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5E76D928-426D-4DCC-81AB-D1427E84798B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5E76D928-426D-4DCC-81AB-D1427E84798B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {02EA1C1A-9CAE-492D-B684-396ED7C74C35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {02EA1C1A-9CAE-492D-B684-396ED7C74C35}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {02EA1C1A-9CAE-492D-B684-396ED7C74C35}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {02EA1C1A-9CAE-492D-B684-396ED7C74C35}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/enum/forward-compatible-enums/.github/workflows/ci.yml b/seed/csharp-model/enum/forward-compatible-enums/.github/workflows/ci.yml
index 93b0b62c5cb..b3658e2d252 100644
--- a/seed/csharp-model/enum/forward-compatible-enums/.github/workflows/ci.yml
+++ b/seed/csharp-model/enum/forward-compatible-enums/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedEnum --no-build --no-restore -c Release
dotnet nuget push src/SeedEnum/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
index d6faf892575..956e59cf3da 100644
--- a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
+++ b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.sln b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.sln
index 902e31f5326..860ee973b69 100644
--- a/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.sln
+++ b/seed/csharp-model/enum/forward-compatible-enums/src/SeedEnum.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{CD45017C-F142-4776-845A-3561A709FEF6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{AD9F69DF-E1A1-4D8A-A33F-3A9399E57F8B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{B540CD58-DA63-4017-BBF4-C108EE1085E1}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{71609BCB-B88C-45F5-89AC-10C20AE120BE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {CD45017C-F142-4776-845A-3561A709FEF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CD45017C-F142-4776-845A-3561A709FEF6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CD45017C-F142-4776-845A-3561A709FEF6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CD45017C-F142-4776-845A-3561A709FEF6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B540CD58-DA63-4017-BBF4-C108EE1085E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B540CD58-DA63-4017-BBF4-C108EE1085E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B540CD58-DA63-4017-BBF4-C108EE1085E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B540CD58-DA63-4017-BBF4-C108EE1085E1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {AD9F69DF-E1A1-4D8A-A33F-3A9399E57F8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {AD9F69DF-E1A1-4D8A-A33F-3A9399E57F8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {AD9F69DF-E1A1-4D8A-A33F-3A9399E57F8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {AD9F69DF-E1A1-4D8A-A33F-3A9399E57F8B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {71609BCB-B88C-45F5-89AC-10C20AE120BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {71609BCB-B88C-45F5-89AC-10C20AE120BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {71609BCB-B88C-45F5-89AC-10C20AE120BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {71609BCB-B88C-45F5-89AC-10C20AE120BE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/enum/plain-enums/.github/workflows/ci.yml b/seed/csharp-model/enum/plain-enums/.github/workflows/ci.yml
index 93b0b62c5cb..b3658e2d252 100644
--- a/seed/csharp-model/enum/plain-enums/.github/workflows/ci.yml
+++ b/seed/csharp-model/enum/plain-enums/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedEnum --no-build --no-restore -c Release
dotnet nuget push src/SeedEnum/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
index d6faf892575..956e59cf3da 100644
--- a/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
+++ b/seed/csharp-model/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/enum/plain-enums/src/SeedEnum.sln b/seed/csharp-model/enum/plain-enums/src/SeedEnum.sln
index 50a6d6fd3ba..78e11a1a80d 100644
--- a/seed/csharp-model/enum/plain-enums/src/SeedEnum.sln
+++ b/seed/csharp-model/enum/plain-enums/src/SeedEnum.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{C46D2E55-A86E-487D-9786-61D4A59DBBCD}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{091FCEB8-BE26-4800-A771-D032A9EF0A60}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{9B8B7AEE-C011-4468-B9D2-0351B933CFCF}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{C6330007-5D1C-49A7-9998-FCF06BC51631}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C46D2E55-A86E-487D-9786-61D4A59DBBCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C46D2E55-A86E-487D-9786-61D4A59DBBCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C46D2E55-A86E-487D-9786-61D4A59DBBCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C46D2E55-A86E-487D-9786-61D4A59DBBCD}.Release|Any CPU.Build.0 = Release|Any CPU
- {9B8B7AEE-C011-4468-B9D2-0351B933CFCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9B8B7AEE-C011-4468-B9D2-0351B933CFCF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9B8B7AEE-C011-4468-B9D2-0351B933CFCF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9B8B7AEE-C011-4468-B9D2-0351B933CFCF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {091FCEB8-BE26-4800-A771-D032A9EF0A60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {091FCEB8-BE26-4800-A771-D032A9EF0A60}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {091FCEB8-BE26-4800-A771-D032A9EF0A60}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {091FCEB8-BE26-4800-A771-D032A9EF0A60}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C6330007-5D1C-49A7-9998-FCF06BC51631}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C6330007-5D1C-49A7-9998-FCF06BC51631}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C6330007-5D1C-49A7-9998-FCF06BC51631}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C6330007-5D1C-49A7-9998-FCF06BC51631}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/error-property/.github/workflows/ci.yml b/seed/csharp-model/error-property/.github/workflows/ci.yml
index c4310403e6f..b3d2c947a54 100644
--- a/seed/csharp-model/error-property/.github/workflows/ci.yml
+++ b/seed/csharp-model/error-property/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedErrorProperty --no-build --no-restore -c Release
dotnet nuget push src/SeedErrorProperty/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj b/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj
index 0afa998e413..f1d21a1c016 100644
--- a/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj
+++ b/seed/csharp-model/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/error-property/src/SeedErrorProperty.sln b/seed/csharp-model/error-property/src/SeedErrorProperty.sln
index b6ccdbea25b..a0ff0e5b1af 100644
--- a/seed/csharp-model/error-property/src/SeedErrorProperty.sln
+++ b/seed/csharp-model/error-property/src/SeedErrorProperty.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty", "SeedErrorProperty\SeedErrorProperty.csproj", "{CDD8F608-B565-4BA5-8C64-D1EC8A5C6BC4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty", "SeedErrorProperty\SeedErrorProperty.csproj", "{98121454-B27F-4E75-930E-C57733A2CE48}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty.Test", "SeedErrorProperty.Test\SeedErrorProperty.Test.csproj", "{B1D4F8EE-825C-469D-9E92-656EA0A2FF54}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty.Test", "SeedErrorProperty.Test\SeedErrorProperty.Test.csproj", "{CEE97199-CE56-4ACE-A3A2-BDE66BBCA074}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {CDD8F608-B565-4BA5-8C64-D1EC8A5C6BC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CDD8F608-B565-4BA5-8C64-D1EC8A5C6BC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CDD8F608-B565-4BA5-8C64-D1EC8A5C6BC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CDD8F608-B565-4BA5-8C64-D1EC8A5C6BC4}.Release|Any CPU.Build.0 = Release|Any CPU
- {B1D4F8EE-825C-469D-9E92-656EA0A2FF54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B1D4F8EE-825C-469D-9E92-656EA0A2FF54}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B1D4F8EE-825C-469D-9E92-656EA0A2FF54}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B1D4F8EE-825C-469D-9E92-656EA0A2FF54}.Release|Any CPU.Build.0 = Release|Any CPU
+ {98121454-B27F-4E75-930E-C57733A2CE48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {98121454-B27F-4E75-930E-C57733A2CE48}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {98121454-B27F-4E75-930E-C57733A2CE48}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {98121454-B27F-4E75-930E-C57733A2CE48}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CEE97199-CE56-4ACE-A3A2-BDE66BBCA074}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CEE97199-CE56-4ACE-A3A2-BDE66BBCA074}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CEE97199-CE56-4ACE-A3A2-BDE66BBCA074}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CEE97199-CE56-4ACE-A3A2-BDE66BBCA074}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/examples/.github/workflows/ci.yml b/seed/csharp-model/examples/.github/workflows/ci.yml
index 94bf9667b74..21a051ead69 100644
--- a/seed/csharp-model/examples/.github/workflows/ci.yml
+++ b/seed/csharp-model/examples/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExamples --no-build --no-restore -c Release
dotnet nuget push src/SeedExamples/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj b/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj
index dbba8aeb890..c70f3450b69 100644
--- a/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj
+++ b/seed/csharp-model/examples/src/SeedExamples.Test/SeedExamples.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/examples/src/SeedExamples.sln b/seed/csharp-model/examples/src/SeedExamples.sln
index ec81cd85115..22449dbf69d 100644
--- a/seed/csharp-model/examples/src/SeedExamples.sln
+++ b/seed/csharp-model/examples/src/SeedExamples.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{F001B9AB-3E8A-449F-8AFB-0853D7C7E8E8}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{3DC25CF0-C785-4B28-B55F-5A5E0D973DD8}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{08101335-86D9-4D95-BCC7-07C2D0A9D7CA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{39659A67-2076-45DD-8F9A-A954FDD7F2F3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F001B9AB-3E8A-449F-8AFB-0853D7C7E8E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F001B9AB-3E8A-449F-8AFB-0853D7C7E8E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F001B9AB-3E8A-449F-8AFB-0853D7C7E8E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F001B9AB-3E8A-449F-8AFB-0853D7C7E8E8}.Release|Any CPU.Build.0 = Release|Any CPU
- {08101335-86D9-4D95-BCC7-07C2D0A9D7CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {08101335-86D9-4D95-BCC7-07C2D0A9D7CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {08101335-86D9-4D95-BCC7-07C2D0A9D7CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {08101335-86D9-4D95-BCC7-07C2D0A9D7CA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3DC25CF0-C785-4B28-B55F-5A5E0D973DD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3DC25CF0-C785-4B28-B55F-5A5E0D973DD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3DC25CF0-C785-4B28-B55F-5A5E0D973DD8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3DC25CF0-C785-4B28-B55F-5A5E0D973DD8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {39659A67-2076-45DD-8F9A-A954FDD7F2F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {39659A67-2076-45DD-8F9A-A954FDD7F2F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {39659A67-2076-45DD-8F9A-A954FDD7F2F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {39659A67-2076-45DD-8F9A-A954FDD7F2F3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/exhaustive/.github/workflows/ci.yml b/seed/csharp-model/exhaustive/.github/workflows/ci.yml
index f57a57e3b37..a64072390fc 100644
--- a/seed/csharp-model/exhaustive/.github/workflows/ci.yml
+++ b/seed/csharp-model/exhaustive/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExhaustive --no-build --no-restore -c Release
dotnet nuget push src/SeedExhaustive/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
index cc628bfe61c..8d7336d4a48 100644
--- a/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
+++ b/seed/csharp-model/exhaustive/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/exhaustive/src/SeedExhaustive.sln b/seed/csharp-model/exhaustive/src/SeedExhaustive.sln
index 0476223b761..68aeeb12286 100644
--- a/seed/csharp-model/exhaustive/src/SeedExhaustive.sln
+++ b/seed/csharp-model/exhaustive/src/SeedExhaustive.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{7A15C171-7CAC-4B6B-B360-C403A46EAC2B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{A0495864-23E3-4D39-B198-E8731CD90590}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{A072C902-9A9A-4235-87FA-D5F980E5FA06}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{67BDD7C9-B85E-4133-9B2C-A9CB2B33D894}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7A15C171-7CAC-4B6B-B360-C403A46EAC2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7A15C171-7CAC-4B6B-B360-C403A46EAC2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7A15C171-7CAC-4B6B-B360-C403A46EAC2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7A15C171-7CAC-4B6B-B360-C403A46EAC2B}.Release|Any CPU.Build.0 = Release|Any CPU
- {A072C902-9A9A-4235-87FA-D5F980E5FA06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A072C902-9A9A-4235-87FA-D5F980E5FA06}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A072C902-9A9A-4235-87FA-D5F980E5FA06}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A072C902-9A9A-4235-87FA-D5F980E5FA06}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A0495864-23E3-4D39-B198-E8731CD90590}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A0495864-23E3-4D39-B198-E8731CD90590}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A0495864-23E3-4D39-B198-E8731CD90590}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A0495864-23E3-4D39-B198-E8731CD90590}.Release|Any CPU.Build.0 = Release|Any CPU
+ {67BDD7C9-B85E-4133-9B2C-A9CB2B33D894}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {67BDD7C9-B85E-4133-9B2C-A9CB2B33D894}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {67BDD7C9-B85E-4133-9B2C-A9CB2B33D894}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {67BDD7C9-B85E-4133-9B2C-A9CB2B33D894}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/extends/.github/workflows/ci.yml b/seed/csharp-model/extends/.github/workflows/ci.yml
index 483737e786b..2e9b3726064 100644
--- a/seed/csharp-model/extends/.github/workflows/ci.yml
+++ b/seed/csharp-model/extends/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExtends --no-build --no-restore -c Release
dotnet nuget push src/SeedExtends/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj b/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj
index b460424eab6..b50dbcc0334 100644
--- a/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj
+++ b/seed/csharp-model/extends/src/SeedExtends.Test/SeedExtends.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/extends/src/SeedExtends.sln b/seed/csharp-model/extends/src/SeedExtends.sln
index a0908487199..c9ba37b226c 100644
--- a/seed/csharp-model/extends/src/SeedExtends.sln
+++ b/seed/csharp-model/extends/src/SeedExtends.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends", "SeedExtends\SeedExtends.csproj", "{185687E5-D206-43B3-9CF7-655858719241}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends", "SeedExtends\SeedExtends.csproj", "{488D414C-75F6-4B45-BDDB-FE1C1A6857D1}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends.Test", "SeedExtends.Test\SeedExtends.Test.csproj", "{84B9D328-EF70-4DD8-B38D-26B5C5F01B17}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends.Test", "SeedExtends.Test\SeedExtends.Test.csproj", "{D48B8500-82BB-4CB5-8697-EC2162087E3D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {185687E5-D206-43B3-9CF7-655858719241}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {185687E5-D206-43B3-9CF7-655858719241}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {185687E5-D206-43B3-9CF7-655858719241}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {185687E5-D206-43B3-9CF7-655858719241}.Release|Any CPU.Build.0 = Release|Any CPU
- {84B9D328-EF70-4DD8-B38D-26B5C5F01B17}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {84B9D328-EF70-4DD8-B38D-26B5C5F01B17}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {84B9D328-EF70-4DD8-B38D-26B5C5F01B17}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {84B9D328-EF70-4DD8-B38D-26B5C5F01B17}.Release|Any CPU.Build.0 = Release|Any CPU
+ {488D414C-75F6-4B45-BDDB-FE1C1A6857D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {488D414C-75F6-4B45-BDDB-FE1C1A6857D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {488D414C-75F6-4B45-BDDB-FE1C1A6857D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {488D414C-75F6-4B45-BDDB-FE1C1A6857D1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D48B8500-82BB-4CB5-8697-EC2162087E3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D48B8500-82BB-4CB5-8697-EC2162087E3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D48B8500-82BB-4CB5-8697-EC2162087E3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D48B8500-82BB-4CB5-8697-EC2162087E3D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/extra-properties/.github/workflows/ci.yml b/seed/csharp-model/extra-properties/.github/workflows/ci.yml
index 21572861810..0f3868de75c 100644
--- a/seed/csharp-model/extra-properties/.github/workflows/ci.yml
+++ b/seed/csharp-model/extra-properties/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExtraProperties --no-build --no-restore -c Release
dotnet nuget push src/SeedExtraProperties/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj b/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj
index 4b6eae5a36b..d5f9a81971d 100644
--- a/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj
+++ b/seed/csharp-model/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/extra-properties/src/SeedExtraProperties.sln b/seed/csharp-model/extra-properties/src/SeedExtraProperties.sln
index c300a628c95..1292e8c1715 100644
--- a/seed/csharp-model/extra-properties/src/SeedExtraProperties.sln
+++ b/seed/csharp-model/extra-properties/src/SeedExtraProperties.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties", "SeedExtraProperties\SeedExtraProperties.csproj", "{F766A520-C4E5-462C-A97A-6A4AA8BBBC5D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties", "SeedExtraProperties\SeedExtraProperties.csproj", "{A241C453-0833-47A5-94C3-6AB1EA763D76}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties.Test", "SeedExtraProperties.Test\SeedExtraProperties.Test.csproj", "{39C952C5-5798-462C-AA03-B8884E0D0667}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties.Test", "SeedExtraProperties.Test\SeedExtraProperties.Test.csproj", "{7B4FA6A9-11F3-419E-8251-C014C39ABAC8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F766A520-C4E5-462C-A97A-6A4AA8BBBC5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F766A520-C4E5-462C-A97A-6A4AA8BBBC5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F766A520-C4E5-462C-A97A-6A4AA8BBBC5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F766A520-C4E5-462C-A97A-6A4AA8BBBC5D}.Release|Any CPU.Build.0 = Release|Any CPU
- {39C952C5-5798-462C-AA03-B8884E0D0667}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {39C952C5-5798-462C-AA03-B8884E0D0667}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {39C952C5-5798-462C-AA03-B8884E0D0667}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {39C952C5-5798-462C-AA03-B8884E0D0667}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A241C453-0833-47A5-94C3-6AB1EA763D76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A241C453-0833-47A5-94C3-6AB1EA763D76}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A241C453-0833-47A5-94C3-6AB1EA763D76}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A241C453-0833-47A5-94C3-6AB1EA763D76}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7B4FA6A9-11F3-419E-8251-C014C39ABAC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7B4FA6A9-11F3-419E-8251-C014C39ABAC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7B4FA6A9-11F3-419E-8251-C014C39ABAC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7B4FA6A9-11F3-419E-8251-C014C39ABAC8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/file-download/.github/workflows/ci.yml b/seed/csharp-model/file-download/.github/workflows/ci.yml
index b29f5e4f38f..8bbd51a2a0c 100644
--- a/seed/csharp-model/file-download/.github/workflows/ci.yml
+++ b/seed/csharp-model/file-download/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedFileDownload --no-build --no-restore -c Release
dotnet nuget push src/SeedFileDownload/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj b/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj
index 92f414fcfb7..f14e9bb2987 100644
--- a/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj
+++ b/seed/csharp-model/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/file-download/src/SeedFileDownload.sln b/seed/csharp-model/file-download/src/SeedFileDownload.sln
index 9ef2340c822..c8b6ed5c0b2 100644
--- a/seed/csharp-model/file-download/src/SeedFileDownload.sln
+++ b/seed/csharp-model/file-download/src/SeedFileDownload.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload", "SeedFileDownload\SeedFileDownload.csproj", "{EC496168-D9E3-49D2-BFF6-8095AD36AC00}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload", "SeedFileDownload\SeedFileDownload.csproj", "{930ED2B1-3E38-4E98-9A5F-2600716F1FB0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload.Test", "SeedFileDownload.Test\SeedFileDownload.Test.csproj", "{F962DC9D-20E0-44A6-B964-AF14882A2F0F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload.Test", "SeedFileDownload.Test\SeedFileDownload.Test.csproj", "{B4F5D2A1-BF9C-475F-B024-C1D542DC09A5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {EC496168-D9E3-49D2-BFF6-8095AD36AC00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {EC496168-D9E3-49D2-BFF6-8095AD36AC00}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EC496168-D9E3-49D2-BFF6-8095AD36AC00}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EC496168-D9E3-49D2-BFF6-8095AD36AC00}.Release|Any CPU.Build.0 = Release|Any CPU
- {F962DC9D-20E0-44A6-B964-AF14882A2F0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F962DC9D-20E0-44A6-B964-AF14882A2F0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F962DC9D-20E0-44A6-B964-AF14882A2F0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F962DC9D-20E0-44A6-B964-AF14882A2F0F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {930ED2B1-3E38-4E98-9A5F-2600716F1FB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {930ED2B1-3E38-4E98-9A5F-2600716F1FB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {930ED2B1-3E38-4E98-9A5F-2600716F1FB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {930ED2B1-3E38-4E98-9A5F-2600716F1FB0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B4F5D2A1-BF9C-475F-B024-C1D542DC09A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B4F5D2A1-BF9C-475F-B024-C1D542DC09A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B4F5D2A1-BF9C-475F-B024-C1D542DC09A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B4F5D2A1-BF9C-475F-B024-C1D542DC09A5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/file-upload/.github/workflows/ci.yml b/seed/csharp-model/file-upload/.github/workflows/ci.yml
index 8c932fd6e05..23c2a1b9d90 100644
--- a/seed/csharp-model/file-upload/.github/workflows/ci.yml
+++ b/seed/csharp-model/file-upload/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedFileUpload --no-build --no-restore -c Release
dotnet nuget push src/SeedFileUpload/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj b/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj
index e17786a850b..160242f54f5 100644
--- a/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj
+++ b/seed/csharp-model/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/file-upload/src/SeedFileUpload.sln b/seed/csharp-model/file-upload/src/SeedFileUpload.sln
index 07ea7308566..77b9f1829e2 100644
--- a/seed/csharp-model/file-upload/src/SeedFileUpload.sln
+++ b/seed/csharp-model/file-upload/src/SeedFileUpload.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload", "SeedFileUpload\SeedFileUpload.csproj", "{6990DE37-A5FD-4356-A00C-74FB6F7D68EE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload", "SeedFileUpload\SeedFileUpload.csproj", "{DE5B5ECE-94D2-43E1-8E03-CBD36337C853}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload.Test", "SeedFileUpload.Test\SeedFileUpload.Test.csproj", "{19818722-5353-43EA-932A-704714BB439B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload.Test", "SeedFileUpload.Test\SeedFileUpload.Test.csproj", "{54795103-784E-460B-827F-F6D07689FE93}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6990DE37-A5FD-4356-A00C-74FB6F7D68EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6990DE37-A5FD-4356-A00C-74FB6F7D68EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6990DE37-A5FD-4356-A00C-74FB6F7D68EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6990DE37-A5FD-4356-A00C-74FB6F7D68EE}.Release|Any CPU.Build.0 = Release|Any CPU
- {19818722-5353-43EA-932A-704714BB439B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {19818722-5353-43EA-932A-704714BB439B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {19818722-5353-43EA-932A-704714BB439B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {19818722-5353-43EA-932A-704714BB439B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DE5B5ECE-94D2-43E1-8E03-CBD36337C853}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DE5B5ECE-94D2-43E1-8E03-CBD36337C853}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DE5B5ECE-94D2-43E1-8E03-CBD36337C853}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DE5B5ECE-94D2-43E1-8E03-CBD36337C853}.Release|Any CPU.Build.0 = Release|Any CPU
+ {54795103-784E-460B-827F-F6D07689FE93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {54795103-784E-460B-827F-F6D07689FE93}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {54795103-784E-460B-827F-F6D07689FE93}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {54795103-784E-460B-827F-F6D07689FE93}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/folders/.github/workflows/ci.yml b/seed/csharp-model/folders/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-model/folders/.github/workflows/ci.yml
+++ b/seed/csharp-model/folders/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-model/folders/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/folders/src/SeedApi.sln b/seed/csharp-model/folders/src/SeedApi.sln
index 178600ead4a..a92121a41df 100644
--- a/seed/csharp-model/folders/src/SeedApi.sln
+++ b/seed/csharp-model/folders/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{E31B3462-42C0-4A79-B72C-E26AAD5E4494}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{F7072FC9-09F0-45F1-A137-176ACA62B14E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{62F52778-4D28-42F5-8505-C9C3E7DC4986}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{9DB55729-CFE4-4CCE-9BAA-ADE12913FAE1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E31B3462-42C0-4A79-B72C-E26AAD5E4494}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E31B3462-42C0-4A79-B72C-E26AAD5E4494}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E31B3462-42C0-4A79-B72C-E26AAD5E4494}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E31B3462-42C0-4A79-B72C-E26AAD5E4494}.Release|Any CPU.Build.0 = Release|Any CPU
- {62F52778-4D28-42F5-8505-C9C3E7DC4986}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {62F52778-4D28-42F5-8505-C9C3E7DC4986}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {62F52778-4D28-42F5-8505-C9C3E7DC4986}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {62F52778-4D28-42F5-8505-C9C3E7DC4986}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F7072FC9-09F0-45F1-A137-176ACA62B14E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F7072FC9-09F0-45F1-A137-176ACA62B14E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F7072FC9-09F0-45F1-A137-176ACA62B14E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F7072FC9-09F0-45F1-A137-176ACA62B14E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9DB55729-CFE4-4CCE-9BAA-ADE12913FAE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9DB55729-CFE4-4CCE-9BAA-ADE12913FAE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9DB55729-CFE4-4CCE-9BAA-ADE12913FAE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9DB55729-CFE4-4CCE-9BAA-ADE12913FAE1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/idempotency-headers/.github/workflows/ci.yml b/seed/csharp-model/idempotency-headers/.github/workflows/ci.yml
index 9f1af88a865..61ca0797b5b 100644
--- a/seed/csharp-model/idempotency-headers/.github/workflows/ci.yml
+++ b/seed/csharp-model/idempotency-headers/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedIdempotencyHeaders --no-build --no-restore -c Release
dotnet nuget push src/SeedIdempotencyHeaders/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj
index 3178b30c679..83cec645bf9 100644
--- a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj
+++ b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.sln b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.sln
index 19533ba534e..5673e7c4485 100644
--- a/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.sln
+++ b/seed/csharp-model/idempotency-headers/src/SeedIdempotencyHeaders.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders", "SeedIdempotencyHeaders\SeedIdempotencyHeaders.csproj", "{7D961EA8-34A6-4C92-922A-C5A6267F2913}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders", "SeedIdempotencyHeaders\SeedIdempotencyHeaders.csproj", "{9BBEBF76-F017-4856-91E3-11BDEECD6FBA}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders.Test", "SeedIdempotencyHeaders.Test\SeedIdempotencyHeaders.Test.csproj", "{BC65A32A-303E-490C-94C9-A2FA86B4ED6A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders.Test", "SeedIdempotencyHeaders.Test\SeedIdempotencyHeaders.Test.csproj", "{3BC2A79E-3BE1-44F7-B9CF-CFA72B040F9D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7D961EA8-34A6-4C92-922A-C5A6267F2913}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7D961EA8-34A6-4C92-922A-C5A6267F2913}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7D961EA8-34A6-4C92-922A-C5A6267F2913}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7D961EA8-34A6-4C92-922A-C5A6267F2913}.Release|Any CPU.Build.0 = Release|Any CPU
- {BC65A32A-303E-490C-94C9-A2FA86B4ED6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BC65A32A-303E-490C-94C9-A2FA86B4ED6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BC65A32A-303E-490C-94C9-A2FA86B4ED6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BC65A32A-303E-490C-94C9-A2FA86B4ED6A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9BBEBF76-F017-4856-91E3-11BDEECD6FBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9BBEBF76-F017-4856-91E3-11BDEECD6FBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9BBEBF76-F017-4856-91E3-11BDEECD6FBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9BBEBF76-F017-4856-91E3-11BDEECD6FBA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3BC2A79E-3BE1-44F7-B9CF-CFA72B040F9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3BC2A79E-3BE1-44F7-B9CF-CFA72B040F9D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3BC2A79E-3BE1-44F7-B9CF-CFA72B040F9D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3BC2A79E-3BE1-44F7-B9CF-CFA72B040F9D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/imdb/.github/workflows/ci.yml b/seed/csharp-model/imdb/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-model/imdb/.github/workflows/ci.yml
+++ b/seed/csharp-model/imdb/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-model/imdb/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/imdb/src/SeedApi.sln b/seed/csharp-model/imdb/src/SeedApi.sln
index e6578be2a95..5c3be242170 100644
--- a/seed/csharp-model/imdb/src/SeedApi.sln
+++ b/seed/csharp-model/imdb/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{D4DC3805-9AEE-4C8F-9402-847FB4CD8566}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{18AC8DBE-B2B1-47FD-950D-CBE848E2D71F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{30EB9BA6-BECB-465C-B02A-4B85E57C4981}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{E087D78D-8A73-47E8-A837-381DB660FF4F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D4DC3805-9AEE-4C8F-9402-847FB4CD8566}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D4DC3805-9AEE-4C8F-9402-847FB4CD8566}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D4DC3805-9AEE-4C8F-9402-847FB4CD8566}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D4DC3805-9AEE-4C8F-9402-847FB4CD8566}.Release|Any CPU.Build.0 = Release|Any CPU
- {30EB9BA6-BECB-465C-B02A-4B85E57C4981}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {30EB9BA6-BECB-465C-B02A-4B85E57C4981}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {30EB9BA6-BECB-465C-B02A-4B85E57C4981}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {30EB9BA6-BECB-465C-B02A-4B85E57C4981}.Release|Any CPU.Build.0 = Release|Any CPU
+ {18AC8DBE-B2B1-47FD-950D-CBE848E2D71F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {18AC8DBE-B2B1-47FD-950D-CBE848E2D71F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {18AC8DBE-B2B1-47FD-950D-CBE848E2D71F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {18AC8DBE-B2B1-47FD-950D-CBE848E2D71F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E087D78D-8A73-47E8-A837-381DB660FF4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E087D78D-8A73-47E8-A837-381DB660FF4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E087D78D-8A73-47E8-A837-381DB660FF4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E087D78D-8A73-47E8-A837-381DB660FF4F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/license/.github/workflows/ci.yml b/seed/csharp-model/license/.github/workflows/ci.yml
index c7ff4320422..e892343af92 100644
--- a/seed/csharp-model/license/.github/workflows/ci.yml
+++ b/seed/csharp-model/license/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedLicense --no-build --no-restore -c Release
dotnet nuget push src/SeedLicense/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj b/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj
index 48c2149242c..c0fc70bbe68 100644
--- a/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj
+++ b/seed/csharp-model/license/src/SeedLicense.Test/SeedLicense.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/license/src/SeedLicense.sln b/seed/csharp-model/license/src/SeedLicense.sln
index b448427b523..2af200ee3ea 100644
--- a/seed/csharp-model/license/src/SeedLicense.sln
+++ b/seed/csharp-model/license/src/SeedLicense.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{9D755904-69AF-4FF5-9C0F-E9458B144E19}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{6793F76E-7FC4-42A1-81E6-21910550C21C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{ABCA5868-3540-4048-A9B4-7873A8291630}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{D03F5094-14DC-4999-AD6A-E33BC2C1A57A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {9D755904-69AF-4FF5-9C0F-E9458B144E19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9D755904-69AF-4FF5-9C0F-E9458B144E19}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9D755904-69AF-4FF5-9C0F-E9458B144E19}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9D755904-69AF-4FF5-9C0F-E9458B144E19}.Release|Any CPU.Build.0 = Release|Any CPU
- {ABCA5868-3540-4048-A9B4-7873A8291630}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ABCA5868-3540-4048-A9B4-7873A8291630}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ABCA5868-3540-4048-A9B4-7873A8291630}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ABCA5868-3540-4048-A9B4-7873A8291630}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6793F76E-7FC4-42A1-81E6-21910550C21C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6793F76E-7FC4-42A1-81E6-21910550C21C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6793F76E-7FC4-42A1-81E6-21910550C21C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6793F76E-7FC4-42A1-81E6-21910550C21C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D03F5094-14DC-4999-AD6A-E33BC2C1A57A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D03F5094-14DC-4999-AD6A-E33BC2C1A57A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D03F5094-14DC-4999-AD6A-E33BC2C1A57A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D03F5094-14DC-4999-AD6A-E33BC2C1A57A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/literal/.github/workflows/ci.yml b/seed/csharp-model/literal/.github/workflows/ci.yml
index 53f2d6d2058..174c34e41ca 100644
--- a/seed/csharp-model/literal/.github/workflows/ci.yml
+++ b/seed/csharp-model/literal/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedLiteral --no-build --no-restore -c Release
dotnet nuget push src/SeedLiteral/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj b/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj
index 9acd0732fca..1fab1078c57 100644
--- a/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj
+++ b/seed/csharp-model/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/literal/src/SeedLiteral.sln b/seed/csharp-model/literal/src/SeedLiteral.sln
index 919ae382981..0371f2de5e4 100644
--- a/seed/csharp-model/literal/src/SeedLiteral.sln
+++ b/seed/csharp-model/literal/src/SeedLiteral.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral", "SeedLiteral\SeedLiteral.csproj", "{C9F41BE3-F39D-4461-A415-A1017F7DF687}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral", "SeedLiteral\SeedLiteral.csproj", "{C7962EAD-8A57-4E60-B86A-DD7CE930546E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral.Test", "SeedLiteral.Test\SeedLiteral.Test.csproj", "{5C86DA11-D716-4DD8-A0B5-3794E94AE7A2}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral.Test", "SeedLiteral.Test\SeedLiteral.Test.csproj", "{02A45F33-4878-4154-9C46-A47FB9BF4F17}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C9F41BE3-F39D-4461-A415-A1017F7DF687}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C9F41BE3-F39D-4461-A415-A1017F7DF687}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C9F41BE3-F39D-4461-A415-A1017F7DF687}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C9F41BE3-F39D-4461-A415-A1017F7DF687}.Release|Any CPU.Build.0 = Release|Any CPU
- {5C86DA11-D716-4DD8-A0B5-3794E94AE7A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5C86DA11-D716-4DD8-A0B5-3794E94AE7A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5C86DA11-D716-4DD8-A0B5-3794E94AE7A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5C86DA11-D716-4DD8-A0B5-3794E94AE7A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C7962EAD-8A57-4E60-B86A-DD7CE930546E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C7962EAD-8A57-4E60-B86A-DD7CE930546E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C7962EAD-8A57-4E60-B86A-DD7CE930546E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C7962EAD-8A57-4E60-B86A-DD7CE930546E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {02A45F33-4878-4154-9C46-A47FB9BF4F17}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {02A45F33-4878-4154-9C46-A47FB9BF4F17}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {02A45F33-4878-4154-9C46-A47FB9BF4F17}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {02A45F33-4878-4154-9C46-A47FB9BF4F17}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/mixed-case/.github/workflows/ci.yml b/seed/csharp-model/mixed-case/.github/workflows/ci.yml
index 25632637edc..b2215bd43d2 100644
--- a/seed/csharp-model/mixed-case/.github/workflows/ci.yml
+++ b/seed/csharp-model/mixed-case/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMixedCase --no-build --no-restore -c Release
dotnet nuget push src/SeedMixedCase/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj b/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj
index 0cd79747a61..3a2bc5c4fa7 100644
--- a/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj
+++ b/seed/csharp-model/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/mixed-case/src/SeedMixedCase.sln b/seed/csharp-model/mixed-case/src/SeedMixedCase.sln
index 888c61d81e3..edc4dfa1989 100644
--- a/seed/csharp-model/mixed-case/src/SeedMixedCase.sln
+++ b/seed/csharp-model/mixed-case/src/SeedMixedCase.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase", "SeedMixedCase\SeedMixedCase.csproj", "{10923792-1BE3-4280-A5EC-B9F35D163B53}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase", "SeedMixedCase\SeedMixedCase.csproj", "{753B18A5-6902-42FB-8ABE-FF33160A19EE}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase.Test", "SeedMixedCase.Test\SeedMixedCase.Test.csproj", "{04529318-D8D7-48C0-B89C-D0FEC4B5021B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase.Test", "SeedMixedCase.Test\SeedMixedCase.Test.csproj", "{3018A023-8793-4504-A13F-202E37B77ED8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {10923792-1BE3-4280-A5EC-B9F35D163B53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {10923792-1BE3-4280-A5EC-B9F35D163B53}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {10923792-1BE3-4280-A5EC-B9F35D163B53}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {10923792-1BE3-4280-A5EC-B9F35D163B53}.Release|Any CPU.Build.0 = Release|Any CPU
- {04529318-D8D7-48C0-B89C-D0FEC4B5021B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {04529318-D8D7-48C0-B89C-D0FEC4B5021B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {04529318-D8D7-48C0-B89C-D0FEC4B5021B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {04529318-D8D7-48C0-B89C-D0FEC4B5021B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {753B18A5-6902-42FB-8ABE-FF33160A19EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {753B18A5-6902-42FB-8ABE-FF33160A19EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {753B18A5-6902-42FB-8ABE-FF33160A19EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {753B18A5-6902-42FB-8ABE-FF33160A19EE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3018A023-8793-4504-A13F-202E37B77ED8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3018A023-8793-4504-A13F-202E37B77ED8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3018A023-8793-4504-A13F-202E37B77ED8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3018A023-8793-4504-A13F-202E37B77ED8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/mixed-file-directory/.github/workflows/ci.yml b/seed/csharp-model/mixed-file-directory/.github/workflows/ci.yml
index 38549d48d01..b730cb58bb6 100644
--- a/seed/csharp-model/mixed-file-directory/.github/workflows/ci.yml
+++ b/seed/csharp-model/mixed-file-directory/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMixedFileDirectory --no-build --no-restore -c Release
dotnet nuget push src/SeedMixedFileDirectory/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj
index e2d88fb3556..e4066aa0842 100644
--- a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj
+++ b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.sln b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.sln
index 6a7f902b04c..a0d9960c772 100644
--- a/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.sln
+++ b/seed/csharp-model/mixed-file-directory/src/SeedMixedFileDirectory.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory", "SeedMixedFileDirectory\SeedMixedFileDirectory.csproj", "{355238E2-D4EC-456B-8745-F07BB0F30695}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory", "SeedMixedFileDirectory\SeedMixedFileDirectory.csproj", "{14A2E3F1-6A46-4868-94C9-4D91C340C979}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory.Test", "SeedMixedFileDirectory.Test\SeedMixedFileDirectory.Test.csproj", "{40F0733B-E4E6-48F8-898C-22BAE352FF40}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory.Test", "SeedMixedFileDirectory.Test\SeedMixedFileDirectory.Test.csproj", "{B5CF0E6F-3477-4DD2-ACD6-B8CCCFE1AEA5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {355238E2-D4EC-456B-8745-F07BB0F30695}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {355238E2-D4EC-456B-8745-F07BB0F30695}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {355238E2-D4EC-456B-8745-F07BB0F30695}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {355238E2-D4EC-456B-8745-F07BB0F30695}.Release|Any CPU.Build.0 = Release|Any CPU
- {40F0733B-E4E6-48F8-898C-22BAE352FF40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {40F0733B-E4E6-48F8-898C-22BAE352FF40}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {40F0733B-E4E6-48F8-898C-22BAE352FF40}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {40F0733B-E4E6-48F8-898C-22BAE352FF40}.Release|Any CPU.Build.0 = Release|Any CPU
+ {14A2E3F1-6A46-4868-94C9-4D91C340C979}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {14A2E3F1-6A46-4868-94C9-4D91C340C979}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {14A2E3F1-6A46-4868-94C9-4D91C340C979}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {14A2E3F1-6A46-4868-94C9-4D91C340C979}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B5CF0E6F-3477-4DD2-ACD6-B8CCCFE1AEA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B5CF0E6F-3477-4DD2-ACD6-B8CCCFE1AEA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B5CF0E6F-3477-4DD2-ACD6-B8CCCFE1AEA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B5CF0E6F-3477-4DD2-ACD6-B8CCCFE1AEA5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/multi-line-docs/.github/workflows/ci.yml b/seed/csharp-model/multi-line-docs/.github/workflows/ci.yml
index b792713a1b6..8dd18c52b90 100644
--- a/seed/csharp-model/multi-line-docs/.github/workflows/ci.yml
+++ b/seed/csharp-model/multi-line-docs/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMultiLineDocs --no-build --no-restore -c Release
dotnet nuget push src/SeedMultiLineDocs/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj
index 3c47b405159..4282d6fc192 100644
--- a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj
+++ b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.sln b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.sln
index b6caaf7d679..c9908f4a3df 100644
--- a/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.sln
+++ b/seed/csharp-model/multi-line-docs/src/SeedMultiLineDocs.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs", "SeedMultiLineDocs\SeedMultiLineDocs.csproj", "{B4567904-2D24-4B14-800E-4924E9EEC312}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs", "SeedMultiLineDocs\SeedMultiLineDocs.csproj", "{0EE358A4-A0F8-4591-8E11-998100627DAB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs.Test", "SeedMultiLineDocs.Test\SeedMultiLineDocs.Test.csproj", "{500C8785-B0D2-4246-9A1D-45243C6C7927}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs.Test", "SeedMultiLineDocs.Test\SeedMultiLineDocs.Test.csproj", "{CD9212DB-06A0-4072-ABC6-4CE4B51C67DB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {B4567904-2D24-4B14-800E-4924E9EEC312}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B4567904-2D24-4B14-800E-4924E9EEC312}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B4567904-2D24-4B14-800E-4924E9EEC312}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B4567904-2D24-4B14-800E-4924E9EEC312}.Release|Any CPU.Build.0 = Release|Any CPU
- {500C8785-B0D2-4246-9A1D-45243C6C7927}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {500C8785-B0D2-4246-9A1D-45243C6C7927}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {500C8785-B0D2-4246-9A1D-45243C6C7927}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {500C8785-B0D2-4246-9A1D-45243C6C7927}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0EE358A4-A0F8-4591-8E11-998100627DAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0EE358A4-A0F8-4591-8E11-998100627DAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0EE358A4-A0F8-4591-8E11-998100627DAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0EE358A4-A0F8-4591-8E11-998100627DAB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CD9212DB-06A0-4072-ABC6-4CE4B51C67DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CD9212DB-06A0-4072-ABC6-4CE4B51C67DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CD9212DB-06A0-4072-ABC6-4CE4B51C67DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CD9212DB-06A0-4072-ABC6-4CE4B51C67DB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/multi-url-environment-no-default/.github/workflows/ci.yml b/seed/csharp-model/multi-url-environment-no-default/.github/workflows/ci.yml
index 911ee52d6e4..4b50bed978d 100644
--- a/seed/csharp-model/multi-url-environment-no-default/.github/workflows/ci.yml
+++ b/seed/csharp-model/multi-url-environment-no-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMultiUrlEnvironmentNoDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedMultiUrlEnvironmentNoDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj
index f2a46ae0ca2..ce691fef937 100644
--- a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj
+++ b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln
index 63a86c6b95c..8361e212611 100644
--- a/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln
+++ b/seed/csharp-model/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault", "SeedMultiUrlEnvironmentNoDefault\SeedMultiUrlEnvironmentNoDefault.csproj", "{D133FBE5-B247-4F10-B0FC-B879D4A1DFD5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault", "SeedMultiUrlEnvironmentNoDefault\SeedMultiUrlEnvironmentNoDefault.csproj", "{F12EF74B-9C95-4EFE-A10D-4BE662BAAD93}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault.Test", "SeedMultiUrlEnvironmentNoDefault.Test\SeedMultiUrlEnvironmentNoDefault.Test.csproj", "{D9F58694-4C20-4FC7-8196-CA0E9827A690}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault.Test", "SeedMultiUrlEnvironmentNoDefault.Test\SeedMultiUrlEnvironmentNoDefault.Test.csproj", "{EAF2E097-B889-4676-B420-0B762A6C45E6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D133FBE5-B247-4F10-B0FC-B879D4A1DFD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D133FBE5-B247-4F10-B0FC-B879D4A1DFD5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D133FBE5-B247-4F10-B0FC-B879D4A1DFD5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D133FBE5-B247-4F10-B0FC-B879D4A1DFD5}.Release|Any CPU.Build.0 = Release|Any CPU
- {D9F58694-4C20-4FC7-8196-CA0E9827A690}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D9F58694-4C20-4FC7-8196-CA0E9827A690}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D9F58694-4C20-4FC7-8196-CA0E9827A690}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D9F58694-4C20-4FC7-8196-CA0E9827A690}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F12EF74B-9C95-4EFE-A10D-4BE662BAAD93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F12EF74B-9C95-4EFE-A10D-4BE662BAAD93}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F12EF74B-9C95-4EFE-A10D-4BE662BAAD93}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F12EF74B-9C95-4EFE-A10D-4BE662BAAD93}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EAF2E097-B889-4676-B420-0B762A6C45E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EAF2E097-B889-4676-B420-0B762A6C45E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EAF2E097-B889-4676-B420-0B762A6C45E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EAF2E097-B889-4676-B420-0B762A6C45E6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/multi-url-environment/.github/workflows/ci.yml b/seed/csharp-model/multi-url-environment/.github/workflows/ci.yml
index a7ac9d4ae02..3012c5fc4da 100644
--- a/seed/csharp-model/multi-url-environment/.github/workflows/ci.yml
+++ b/seed/csharp-model/multi-url-environment/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMultiUrlEnvironment --no-build --no-restore -c Release
dotnet nuget push src/SeedMultiUrlEnvironment/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj
index 7ae35da5d41..4b0e992d4e1 100644
--- a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj
+++ b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.sln b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.sln
index 5eb86b3d25a..31f62e07e14 100644
--- a/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.sln
+++ b/seed/csharp-model/multi-url-environment/src/SeedMultiUrlEnvironment.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment", "SeedMultiUrlEnvironment\SeedMultiUrlEnvironment.csproj", "{A2EF5186-4564-4730-A63E-93FAB01EDDE6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment", "SeedMultiUrlEnvironment\SeedMultiUrlEnvironment.csproj", "{8783D730-1A7A-4A2C-A719-3364FFECADE6}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment.Test", "SeedMultiUrlEnvironment.Test\SeedMultiUrlEnvironment.Test.csproj", "{538A32BC-DE74-43E0-A4BD-9E3284414068}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment.Test", "SeedMultiUrlEnvironment.Test\SeedMultiUrlEnvironment.Test.csproj", "{44D341FE-4BD7-4DB3-B5A9-7D64E7F4B78B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {A2EF5186-4564-4730-A63E-93FAB01EDDE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A2EF5186-4564-4730-A63E-93FAB01EDDE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A2EF5186-4564-4730-A63E-93FAB01EDDE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A2EF5186-4564-4730-A63E-93FAB01EDDE6}.Release|Any CPU.Build.0 = Release|Any CPU
- {538A32BC-DE74-43E0-A4BD-9E3284414068}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {538A32BC-DE74-43E0-A4BD-9E3284414068}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {538A32BC-DE74-43E0-A4BD-9E3284414068}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {538A32BC-DE74-43E0-A4BD-9E3284414068}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8783D730-1A7A-4A2C-A719-3364FFECADE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8783D730-1A7A-4A2C-A719-3364FFECADE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8783D730-1A7A-4A2C-A719-3364FFECADE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8783D730-1A7A-4A2C-A719-3364FFECADE6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {44D341FE-4BD7-4DB3-B5A9-7D64E7F4B78B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {44D341FE-4BD7-4DB3-B5A9-7D64E7F4B78B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {44D341FE-4BD7-4DB3-B5A9-7D64E7F4B78B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {44D341FE-4BD7-4DB3-B5A9-7D64E7F4B78B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/no-environment/.github/workflows/ci.yml b/seed/csharp-model/no-environment/.github/workflows/ci.yml
index 56a926e2396..b806bbf5f43 100644
--- a/seed/csharp-model/no-environment/.github/workflows/ci.yml
+++ b/seed/csharp-model/no-environment/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedNoEnvironment --no-build --no-restore -c Release
dotnet nuget push src/SeedNoEnvironment/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj b/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj
index 9c5b00fd83a..4edb11f9e0c 100644
--- a/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj
+++ b/seed/csharp-model/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/no-environment/src/SeedNoEnvironment.sln b/seed/csharp-model/no-environment/src/SeedNoEnvironment.sln
index 4602e2f69eb..160fb3312b8 100644
--- a/seed/csharp-model/no-environment/src/SeedNoEnvironment.sln
+++ b/seed/csharp-model/no-environment/src/SeedNoEnvironment.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment", "SeedNoEnvironment\SeedNoEnvironment.csproj", "{E879CF2F-5F91-42C5-A700-714BBF6BC1E7}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment", "SeedNoEnvironment\SeedNoEnvironment.csproj", "{7A97DB6F-44CD-4326-965E-422446C24280}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment.Test", "SeedNoEnvironment.Test\SeedNoEnvironment.Test.csproj", "{8A1AC0F0-489F-4CA9-9419-AAC9876E8E6F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment.Test", "SeedNoEnvironment.Test\SeedNoEnvironment.Test.csproj", "{B9157843-EDA8-4329-83D2-6E54C0FCCA3B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E879CF2F-5F91-42C5-A700-714BBF6BC1E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E879CF2F-5F91-42C5-A700-714BBF6BC1E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E879CF2F-5F91-42C5-A700-714BBF6BC1E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E879CF2F-5F91-42C5-A700-714BBF6BC1E7}.Release|Any CPU.Build.0 = Release|Any CPU
- {8A1AC0F0-489F-4CA9-9419-AAC9876E8E6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8A1AC0F0-489F-4CA9-9419-AAC9876E8E6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8A1AC0F0-489F-4CA9-9419-AAC9876E8E6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8A1AC0F0-489F-4CA9-9419-AAC9876E8E6F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7A97DB6F-44CD-4326-965E-422446C24280}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7A97DB6F-44CD-4326-965E-422446C24280}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7A97DB6F-44CD-4326-965E-422446C24280}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7A97DB6F-44CD-4326-965E-422446C24280}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B9157843-EDA8-4329-83D2-6E54C0FCCA3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B9157843-EDA8-4329-83D2-6E54C0FCCA3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B9157843-EDA8-4329-83D2-6E54C0FCCA3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B9157843-EDA8-4329-83D2-6E54C0FCCA3B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/oauth-client-credentials-default/.github/workflows/ci.yml b/seed/csharp-model/oauth-client-credentials-default/.github/workflows/ci.yml
index db254c682d0..6b34911aed6 100644
--- a/seed/csharp-model/oauth-client-credentials-default/.github/workflows/ci.yml
+++ b/seed/csharp-model/oauth-client-credentials-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentialsDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentialsDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj
index 0b8603958fd..e07af8e708a 100644
--- a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj
+++ b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln
index 6a94012ecca..b09d3e97617 100644
--- a/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln
+++ b/seed/csharp-model/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault", "SeedOauthClientCredentialsDefault\SeedOauthClientCredentialsDefault.csproj", "{713E0E32-EC03-448C-95DF-B7158ECBDA8C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault", "SeedOauthClientCredentialsDefault\SeedOauthClientCredentialsDefault.csproj", "{3493FE37-3CAD-40E4-8A00-E3A37ED0E89A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault.Test", "SeedOauthClientCredentialsDefault.Test\SeedOauthClientCredentialsDefault.Test.csproj", "{B135EF01-815F-4B0C-A4CF-AD6100EA65DC}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault.Test", "SeedOauthClientCredentialsDefault.Test\SeedOauthClientCredentialsDefault.Test.csproj", "{4C2623C5-D359-46B4-9602-F056B63940EB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {713E0E32-EC03-448C-95DF-B7158ECBDA8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {713E0E32-EC03-448C-95DF-B7158ECBDA8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {713E0E32-EC03-448C-95DF-B7158ECBDA8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {713E0E32-EC03-448C-95DF-B7158ECBDA8C}.Release|Any CPU.Build.0 = Release|Any CPU
- {B135EF01-815F-4B0C-A4CF-AD6100EA65DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B135EF01-815F-4B0C-A4CF-AD6100EA65DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B135EF01-815F-4B0C-A4CF-AD6100EA65DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B135EF01-815F-4B0C-A4CF-AD6100EA65DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3493FE37-3CAD-40E4-8A00-E3A37ED0E89A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3493FE37-3CAD-40E4-8A00-E3A37ED0E89A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3493FE37-3CAD-40E4-8A00-E3A37ED0E89A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3493FE37-3CAD-40E4-8A00-E3A37ED0E89A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4C2623C5-D359-46B4-9602-F056B63940EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4C2623C5-D359-46B4-9602-F056B63940EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4C2623C5-D359-46B4-9602-F056B63940EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4C2623C5-D359-46B4-9602-F056B63940EB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/oauth-client-credentials-environment-variables/.github/workflows/ci.yml b/seed/csharp-model/oauth-client-credentials-environment-variables/.github/workflows/ci.yml
index b28a95299c2..42f4fa5139b 100644
--- a/seed/csharp-model/oauth-client-credentials-environment-variables/.github/workflows/ci.yml
+++ b/seed/csharp-model/oauth-client-credentials-environment-variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentialsEnvironmentVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentialsEnvironmentVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj
index 8b98b4fafd6..1a3abba739e 100644
--- a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj
+++ b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln
index 7f2ce34ebec..b66ddb043fe 100644
--- a/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln
+++ b/seed/csharp-model/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables", "SeedOauthClientCredentialsEnvironmentVariables\SeedOauthClientCredentialsEnvironmentVariables.csproj", "{D33A90C1-5A26-4476-944A-9ADDE5036B2D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables", "SeedOauthClientCredentialsEnvironmentVariables\SeedOauthClientCredentialsEnvironmentVariables.csproj", "{518CDE69-2EDD-47A4-96D0-2D47ECF8C259}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables.Test", "SeedOauthClientCredentialsEnvironmentVariables.Test\SeedOauthClientCredentialsEnvironmentVariables.Test.csproj", "{ACA9DEB0-D8F2-4835-9E5C-08E328BC5CE5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables.Test", "SeedOauthClientCredentialsEnvironmentVariables.Test\SeedOauthClientCredentialsEnvironmentVariables.Test.csproj", "{EBE44E8C-45E8-44E6-9D3B-D59651A6903F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D33A90C1-5A26-4476-944A-9ADDE5036B2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D33A90C1-5A26-4476-944A-9ADDE5036B2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D33A90C1-5A26-4476-944A-9ADDE5036B2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D33A90C1-5A26-4476-944A-9ADDE5036B2D}.Release|Any CPU.Build.0 = Release|Any CPU
- {ACA9DEB0-D8F2-4835-9E5C-08E328BC5CE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ACA9DEB0-D8F2-4835-9E5C-08E328BC5CE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ACA9DEB0-D8F2-4835-9E5C-08E328BC5CE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ACA9DEB0-D8F2-4835-9E5C-08E328BC5CE5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {518CDE69-2EDD-47A4-96D0-2D47ECF8C259}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {518CDE69-2EDD-47A4-96D0-2D47ECF8C259}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {518CDE69-2EDD-47A4-96D0-2D47ECF8C259}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {518CDE69-2EDD-47A4-96D0-2D47ECF8C259}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EBE44E8C-45E8-44E6-9D3B-D59651A6903F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EBE44E8C-45E8-44E6-9D3B-D59651A6903F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EBE44E8C-45E8-44E6-9D3B-D59651A6903F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EBE44E8C-45E8-44E6-9D3B-D59651A6903F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/oauth-client-credentials-nested-root/.github/workflows/ci.yml b/seed/csharp-model/oauth-client-credentials-nested-root/.github/workflows/ci.yml
index 90e159e5029..a14c5306acc 100644
--- a/seed/csharp-model/oauth-client-credentials-nested-root/.github/workflows/ci.yml
+++ b/seed/csharp-model/oauth-client-credentials-nested-root/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentials --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentials/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
index fd48c7fec2f..8168b894054 100644
--- a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
+++ b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln
index 59ed7108bc5..38ce07f0845 100644
--- a/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln
+++ b/seed/csharp-model/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{3ADC5479-8004-46B8-87C1-53122A02E99C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{BE70D382-B833-4976-8DFC-A72B0A9E2C8E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{3FB000ED-C83F-4662-A758-068E8E2522A8}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{1433A735-5060-438F-8435-37B275BC6391}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3ADC5479-8004-46B8-87C1-53122A02E99C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3ADC5479-8004-46B8-87C1-53122A02E99C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3ADC5479-8004-46B8-87C1-53122A02E99C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3ADC5479-8004-46B8-87C1-53122A02E99C}.Release|Any CPU.Build.0 = Release|Any CPU
- {3FB000ED-C83F-4662-A758-068E8E2522A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3FB000ED-C83F-4662-A758-068E8E2522A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3FB000ED-C83F-4662-A758-068E8E2522A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3FB000ED-C83F-4662-A758-068E8E2522A8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BE70D382-B833-4976-8DFC-A72B0A9E2C8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BE70D382-B833-4976-8DFC-A72B0A9E2C8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BE70D382-B833-4976-8DFC-A72B0A9E2C8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BE70D382-B833-4976-8DFC-A72B0A9E2C8E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1433A735-5060-438F-8435-37B275BC6391}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1433A735-5060-438F-8435-37B275BC6391}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1433A735-5060-438F-8435-37B275BC6391}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1433A735-5060-438F-8435-37B275BC6391}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/oauth-client-credentials/.github/workflows/ci.yml b/seed/csharp-model/oauth-client-credentials/.github/workflows/ci.yml
index 90e159e5029..a14c5306acc 100644
--- a/seed/csharp-model/oauth-client-credentials/.github/workflows/ci.yml
+++ b/seed/csharp-model/oauth-client-credentials/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentials --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentials/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
index fd48c7fec2f..8168b894054 100644
--- a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
+++ b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.sln b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.sln
index b4859701e98..474990223c2 100644
--- a/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.sln
+++ b/seed/csharp-model/oauth-client-credentials/src/SeedOauthClientCredentials.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{44C1788F-1A2B-4EA6-B2D5-6627742FCCEA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{E4335D5D-6BAE-4314-A5CF-C41DA083AD95}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{F3648CDD-5394-4232-A1F3-BD8D1E75538B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{40EC4AD4-88F4-48A5-A52F-4CF2EBF7C769}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {44C1788F-1A2B-4EA6-B2D5-6627742FCCEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {44C1788F-1A2B-4EA6-B2D5-6627742FCCEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {44C1788F-1A2B-4EA6-B2D5-6627742FCCEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {44C1788F-1A2B-4EA6-B2D5-6627742FCCEA}.Release|Any CPU.Build.0 = Release|Any CPU
- {F3648CDD-5394-4232-A1F3-BD8D1E75538B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F3648CDD-5394-4232-A1F3-BD8D1E75538B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F3648CDD-5394-4232-A1F3-BD8D1E75538B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F3648CDD-5394-4232-A1F3-BD8D1E75538B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E4335D5D-6BAE-4314-A5CF-C41DA083AD95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E4335D5D-6BAE-4314-A5CF-C41DA083AD95}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E4335D5D-6BAE-4314-A5CF-C41DA083AD95}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E4335D5D-6BAE-4314-A5CF-C41DA083AD95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {40EC4AD4-88F4-48A5-A52F-4CF2EBF7C769}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {40EC4AD4-88F4-48A5-A52F-4CF2EBF7C769}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {40EC4AD4-88F4-48A5-A52F-4CF2EBF7C769}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {40EC4AD4-88F4-48A5-A52F-4CF2EBF7C769}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/object/.github/workflows/ci.yml b/seed/csharp-model/object/.github/workflows/ci.yml
index 304921ae0cf..99145d38661 100644
--- a/seed/csharp-model/object/.github/workflows/ci.yml
+++ b/seed/csharp-model/object/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedObject --no-build --no-restore -c Release
dotnet nuget push src/SeedObject/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj b/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj
index be19774f42e..8b6d2d307bc 100644
--- a/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj
+++ b/seed/csharp-model/object/src/SeedObject.Test/SeedObject.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/object/src/SeedObject.sln b/seed/csharp-model/object/src/SeedObject.sln
index 253d8ac0356..2b5826993fe 100644
--- a/seed/csharp-model/object/src/SeedObject.sln
+++ b/seed/csharp-model/object/src/SeedObject.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject", "SeedObject\SeedObject.csproj", "{E13A1EBA-5961-498E-ADBA-2F74144788D7}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject", "SeedObject\SeedObject.csproj", "{842DDF57-34AA-493B-B0D6-C18D93CFA780}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject.Test", "SeedObject.Test\SeedObject.Test.csproj", "{BC153607-500D-46E1-9EFF-8373EAC86DCA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject.Test", "SeedObject.Test\SeedObject.Test.csproj", "{8B519EA6-F0D2-4D2F-B951-E9A99D5E4F06}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E13A1EBA-5961-498E-ADBA-2F74144788D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E13A1EBA-5961-498E-ADBA-2F74144788D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E13A1EBA-5961-498E-ADBA-2F74144788D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E13A1EBA-5961-498E-ADBA-2F74144788D7}.Release|Any CPU.Build.0 = Release|Any CPU
- {BC153607-500D-46E1-9EFF-8373EAC86DCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BC153607-500D-46E1-9EFF-8373EAC86DCA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BC153607-500D-46E1-9EFF-8373EAC86DCA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BC153607-500D-46E1-9EFF-8373EAC86DCA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {842DDF57-34AA-493B-B0D6-C18D93CFA780}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {842DDF57-34AA-493B-B0D6-C18D93CFA780}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {842DDF57-34AA-493B-B0D6-C18D93CFA780}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {842DDF57-34AA-493B-B0D6-C18D93CFA780}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8B519EA6-F0D2-4D2F-B951-E9A99D5E4F06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8B519EA6-F0D2-4D2F-B951-E9A99D5E4F06}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8B519EA6-F0D2-4D2F-B951-E9A99D5E4F06}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8B519EA6-F0D2-4D2F-B951-E9A99D5E4F06}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/objects-with-imports/.github/workflows/ci.yml b/seed/csharp-model/objects-with-imports/.github/workflows/ci.yml
index 9ea29786a3d..db413fd559a 100644
--- a/seed/csharp-model/objects-with-imports/.github/workflows/ci.yml
+++ b/seed/csharp-model/objects-with-imports/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedObjectsWithImports --no-build --no-restore -c Release
dotnet nuget push src/SeedObjectsWithImports/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
index db71b5887ed..eed53428352 100644
--- a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
+++ b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.sln b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.sln
index 23d1ad5a679..0d283f3c9ae 100644
--- a/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.sln
+++ b/seed/csharp-model/objects-with-imports/src/SeedObjectsWithImports.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{666446E1-815B-43CE-BAD2-496D79283DEC}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{3E336CAF-916E-46B0-9A0D-9C34D5EE4C26}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{0E823FB9-E1A5-46A9-924D-1E394C81C0FE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{91FD3F1B-544B-4937-A221-A6A873B6791C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {666446E1-815B-43CE-BAD2-496D79283DEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {666446E1-815B-43CE-BAD2-496D79283DEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {666446E1-815B-43CE-BAD2-496D79283DEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {666446E1-815B-43CE-BAD2-496D79283DEC}.Release|Any CPU.Build.0 = Release|Any CPU
- {0E823FB9-E1A5-46A9-924D-1E394C81C0FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0E823FB9-E1A5-46A9-924D-1E394C81C0FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0E823FB9-E1A5-46A9-924D-1E394C81C0FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0E823FB9-E1A5-46A9-924D-1E394C81C0FE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3E336CAF-916E-46B0-9A0D-9C34D5EE4C26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3E336CAF-916E-46B0-9A0D-9C34D5EE4C26}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3E336CAF-916E-46B0-9A0D-9C34D5EE4C26}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3E336CAF-916E-46B0-9A0D-9C34D5EE4C26}.Release|Any CPU.Build.0 = Release|Any CPU
+ {91FD3F1B-544B-4937-A221-A6A873B6791C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {91FD3F1B-544B-4937-A221-A6A873B6791C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {91FD3F1B-544B-4937-A221-A6A873B6791C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {91FD3F1B-544B-4937-A221-A6A873B6791C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/optional/.github/workflows/ci.yml b/seed/csharp-model/optional/.github/workflows/ci.yml
index 9ea29786a3d..db413fd559a 100644
--- a/seed/csharp-model/optional/.github/workflows/ci.yml
+++ b/seed/csharp-model/optional/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedObjectsWithImports --no-build --no-restore -c Release
dotnet nuget push src/SeedObjectsWithImports/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
index db71b5887ed..eed53428352 100644
--- a/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
+++ b/seed/csharp-model/optional/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/optional/src/SeedObjectsWithImports.sln b/seed/csharp-model/optional/src/SeedObjectsWithImports.sln
index 0c19d2c7525..b3b51f4f829 100644
--- a/seed/csharp-model/optional/src/SeedObjectsWithImports.sln
+++ b/seed/csharp-model/optional/src/SeedObjectsWithImports.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{263C2C25-B6A5-45D6-9106-87F9F8C4F482}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{A8A955F8-87E1-487C-B3DC-6CF4A032E7F1}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{A3471B04-2E18-4B60-8D67-C5516A63FC06}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{2B0713DA-4246-47C2-9BEC-234DFDE5999B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {263C2C25-B6A5-45D6-9106-87F9F8C4F482}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {263C2C25-B6A5-45D6-9106-87F9F8C4F482}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {263C2C25-B6A5-45D6-9106-87F9F8C4F482}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {263C2C25-B6A5-45D6-9106-87F9F8C4F482}.Release|Any CPU.Build.0 = Release|Any CPU
- {A3471B04-2E18-4B60-8D67-C5516A63FC06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A3471B04-2E18-4B60-8D67-C5516A63FC06}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A3471B04-2E18-4B60-8D67-C5516A63FC06}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A3471B04-2E18-4B60-8D67-C5516A63FC06}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A8A955F8-87E1-487C-B3DC-6CF4A032E7F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A8A955F8-87E1-487C-B3DC-6CF4A032E7F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A8A955F8-87E1-487C-B3DC-6CF4A032E7F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A8A955F8-87E1-487C-B3DC-6CF4A032E7F1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2B0713DA-4246-47C2-9BEC-234DFDE5999B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2B0713DA-4246-47C2-9BEC-234DFDE5999B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2B0713DA-4246-47C2-9BEC-234DFDE5999B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2B0713DA-4246-47C2-9BEC-234DFDE5999B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/package-yml/.github/workflows/ci.yml b/seed/csharp-model/package-yml/.github/workflows/ci.yml
index 4183baf5d35..7a029144d47 100644
--- a/seed/csharp-model/package-yml/.github/workflows/ci.yml
+++ b/seed/csharp-model/package-yml/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPackageYml --no-build --no-restore -c Release
dotnet nuget push src/SeedPackageYml/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj b/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj
index 81c7d862247..31decc05166 100644
--- a/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj
+++ b/seed/csharp-model/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/package-yml/src/SeedPackageYml.sln b/seed/csharp-model/package-yml/src/SeedPackageYml.sln
index 8d859935d0b..70e16c4580b 100644
--- a/seed/csharp-model/package-yml/src/SeedPackageYml.sln
+++ b/seed/csharp-model/package-yml/src/SeedPackageYml.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml", "SeedPackageYml\SeedPackageYml.csproj", "{232AFC0E-9AD1-4836-9132-8D639A5B0744}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml", "SeedPackageYml\SeedPackageYml.csproj", "{180AEAC5-B381-4DED-8223-AD2CB3D660E1}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml.Test", "SeedPackageYml.Test\SeedPackageYml.Test.csproj", "{4CE378AF-E9C9-417F-AAC6-A6B515ADA2E7}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml.Test", "SeedPackageYml.Test\SeedPackageYml.Test.csproj", "{B961457D-395D-4363-A478-222E3E00FB84}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {232AFC0E-9AD1-4836-9132-8D639A5B0744}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {232AFC0E-9AD1-4836-9132-8D639A5B0744}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {232AFC0E-9AD1-4836-9132-8D639A5B0744}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {232AFC0E-9AD1-4836-9132-8D639A5B0744}.Release|Any CPU.Build.0 = Release|Any CPU
- {4CE378AF-E9C9-417F-AAC6-A6B515ADA2E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4CE378AF-E9C9-417F-AAC6-A6B515ADA2E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4CE378AF-E9C9-417F-AAC6-A6B515ADA2E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4CE378AF-E9C9-417F-AAC6-A6B515ADA2E7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {180AEAC5-B381-4DED-8223-AD2CB3D660E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {180AEAC5-B381-4DED-8223-AD2CB3D660E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {180AEAC5-B381-4DED-8223-AD2CB3D660E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {180AEAC5-B381-4DED-8223-AD2CB3D660E1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B961457D-395D-4363-A478-222E3E00FB84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B961457D-395D-4363-A478-222E3E00FB84}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B961457D-395D-4363-A478-222E3E00FB84}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B961457D-395D-4363-A478-222E3E00FB84}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/pagination/.github/workflows/ci.yml b/seed/csharp-model/pagination/.github/workflows/ci.yml
index ca60d518a76..feff74b5a74 100644
--- a/seed/csharp-model/pagination/.github/workflows/ci.yml
+++ b/seed/csharp-model/pagination/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPagination --no-build --no-restore -c Release
dotnet nuget push src/SeedPagination/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj b/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj
index aac18528c02..d6ab50f0467 100644
--- a/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj
+++ b/seed/csharp-model/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/pagination/src/SeedPagination.sln b/seed/csharp-model/pagination/src/SeedPagination.sln
index 343c75e6098..efd6e8ca539 100644
--- a/seed/csharp-model/pagination/src/SeedPagination.sln
+++ b/seed/csharp-model/pagination/src/SeedPagination.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination", "SeedPagination\SeedPagination.csproj", "{52465946-C278-48AD-AD1C-E4FD55E0DB16}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination", "SeedPagination\SeedPagination.csproj", "{647B32CA-D544-4B7E-BD55-949CAFF8B698}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination.Test", "SeedPagination.Test\SeedPagination.Test.csproj", "{BEE708C0-544B-4265-AF67-0A4EF2DDBA60}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination.Test", "SeedPagination.Test\SeedPagination.Test.csproj", "{20EAACCB-5DED-4192-87C3-C03E65D2062F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {52465946-C278-48AD-AD1C-E4FD55E0DB16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {52465946-C278-48AD-AD1C-E4FD55E0DB16}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {52465946-C278-48AD-AD1C-E4FD55E0DB16}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {52465946-C278-48AD-AD1C-E4FD55E0DB16}.Release|Any CPU.Build.0 = Release|Any CPU
- {BEE708C0-544B-4265-AF67-0A4EF2DDBA60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BEE708C0-544B-4265-AF67-0A4EF2DDBA60}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BEE708C0-544B-4265-AF67-0A4EF2DDBA60}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BEE708C0-544B-4265-AF67-0A4EF2DDBA60}.Release|Any CPU.Build.0 = Release|Any CPU
+ {647B32CA-D544-4B7E-BD55-949CAFF8B698}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {647B32CA-D544-4B7E-BD55-949CAFF8B698}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {647B32CA-D544-4B7E-BD55-949CAFF8B698}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {647B32CA-D544-4B7E-BD55-949CAFF8B698}.Release|Any CPU.Build.0 = Release|Any CPU
+ {20EAACCB-5DED-4192-87C3-C03E65D2062F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {20EAACCB-5DED-4192-87C3-C03E65D2062F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {20EAACCB-5DED-4192-87C3-C03E65D2062F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {20EAACCB-5DED-4192-87C3-C03E65D2062F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/path-parameters/.github/workflows/ci.yml b/seed/csharp-model/path-parameters/.github/workflows/ci.yml
index b34b75c042c..9bb86c0c9d5 100644
--- a/seed/csharp-model/path-parameters/.github/workflows/ci.yml
+++ b/seed/csharp-model/path-parameters/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPathParameters --no-build --no-restore -c Release
dotnet nuget push src/SeedPathParameters/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj b/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj
index 5f3889c6202..b4e4fd76d10 100644
--- a/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj
+++ b/seed/csharp-model/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/path-parameters/src/SeedPathParameters.sln b/seed/csharp-model/path-parameters/src/SeedPathParameters.sln
index cb50f31527f..56696e0bcc6 100644
--- a/seed/csharp-model/path-parameters/src/SeedPathParameters.sln
+++ b/seed/csharp-model/path-parameters/src/SeedPathParameters.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters", "SeedPathParameters\SeedPathParameters.csproj", "{D4AE39A7-CC83-4F7C-B258-D1697470CD9E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters", "SeedPathParameters\SeedPathParameters.csproj", "{691E209C-0F75-44FA-855A-3F2BD0A3584B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters.Test", "SeedPathParameters.Test\SeedPathParameters.Test.csproj", "{20928C80-3D82-4BA1-988D-427FAEDB1945}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters.Test", "SeedPathParameters.Test\SeedPathParameters.Test.csproj", "{DD187592-519B-40F9-9D70-C71F18FC056C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D4AE39A7-CC83-4F7C-B258-D1697470CD9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D4AE39A7-CC83-4F7C-B258-D1697470CD9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D4AE39A7-CC83-4F7C-B258-D1697470CD9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D4AE39A7-CC83-4F7C-B258-D1697470CD9E}.Release|Any CPU.Build.0 = Release|Any CPU
- {20928C80-3D82-4BA1-988D-427FAEDB1945}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {20928C80-3D82-4BA1-988D-427FAEDB1945}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {20928C80-3D82-4BA1-988D-427FAEDB1945}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {20928C80-3D82-4BA1-988D-427FAEDB1945}.Release|Any CPU.Build.0 = Release|Any CPU
+ {691E209C-0F75-44FA-855A-3F2BD0A3584B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {691E209C-0F75-44FA-855A-3F2BD0A3584B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {691E209C-0F75-44FA-855A-3F2BD0A3584B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {691E209C-0F75-44FA-855A-3F2BD0A3584B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DD187592-519B-40F9-9D70-C71F18FC056C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DD187592-519B-40F9-9D70-C71F18FC056C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DD187592-519B-40F9-9D70-C71F18FC056C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DD187592-519B-40F9-9D70-C71F18FC056C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/plain-text/.github/workflows/ci.yml b/seed/csharp-model/plain-text/.github/workflows/ci.yml
index 1c0aa2849ec..66157d629a8 100644
--- a/seed/csharp-model/plain-text/.github/workflows/ci.yml
+++ b/seed/csharp-model/plain-text/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPlainText --no-build --no-restore -c Release
dotnet nuget push src/SeedPlainText/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj b/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj
index 3b02ac9f932..4eae45fe955 100644
--- a/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj
+++ b/seed/csharp-model/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/plain-text/src/SeedPlainText.sln b/seed/csharp-model/plain-text/src/SeedPlainText.sln
index 6005c78f422..95c9ce3df08 100644
--- a/seed/csharp-model/plain-text/src/SeedPlainText.sln
+++ b/seed/csharp-model/plain-text/src/SeedPlainText.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText", "SeedPlainText\SeedPlainText.csproj", "{467DA75F-73E7-44F4-BF0A-5F2D846AFD72}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText", "SeedPlainText\SeedPlainText.csproj", "{91023C50-DBD2-49FD-8B39-8C8CA6FFE9B2}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText.Test", "SeedPlainText.Test\SeedPlainText.Test.csproj", "{90874D7C-5699-45AC-B119-5B22FB9BD7E5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText.Test", "SeedPlainText.Test\SeedPlainText.Test.csproj", "{6670CDC7-DC04-49A8-A859-4C8F865C726E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {467DA75F-73E7-44F4-BF0A-5F2D846AFD72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {467DA75F-73E7-44F4-BF0A-5F2D846AFD72}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {467DA75F-73E7-44F4-BF0A-5F2D846AFD72}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {467DA75F-73E7-44F4-BF0A-5F2D846AFD72}.Release|Any CPU.Build.0 = Release|Any CPU
- {90874D7C-5699-45AC-B119-5B22FB9BD7E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {90874D7C-5699-45AC-B119-5B22FB9BD7E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {90874D7C-5699-45AC-B119-5B22FB9BD7E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {90874D7C-5699-45AC-B119-5B22FB9BD7E5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {91023C50-DBD2-49FD-8B39-8C8CA6FFE9B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {91023C50-DBD2-49FD-8B39-8C8CA6FFE9B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {91023C50-DBD2-49FD-8B39-8C8CA6FFE9B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {91023C50-DBD2-49FD-8B39-8C8CA6FFE9B2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6670CDC7-DC04-49A8-A859-4C8F865C726E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6670CDC7-DC04-49A8-A859-4C8F865C726E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6670CDC7-DC04-49A8-A859-4C8F865C726E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6670CDC7-DC04-49A8-A859-4C8F865C726E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/query-parameters/.github/workflows/ci.yml b/seed/csharp-model/query-parameters/.github/workflows/ci.yml
index f0774c213b4..6388d1d67a6 100644
--- a/seed/csharp-model/query-parameters/.github/workflows/ci.yml
+++ b/seed/csharp-model/query-parameters/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedQueryParameters --no-build --no-restore -c Release
dotnet nuget push src/SeedQueryParameters/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj b/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj
index 3b50df96fec..2182bc39597 100644
--- a/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj
+++ b/seed/csharp-model/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/query-parameters/src/SeedQueryParameters.sln b/seed/csharp-model/query-parameters/src/SeedQueryParameters.sln
index a024f8ef374..678c2148556 100644
--- a/seed/csharp-model/query-parameters/src/SeedQueryParameters.sln
+++ b/seed/csharp-model/query-parameters/src/SeedQueryParameters.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters", "SeedQueryParameters\SeedQueryParameters.csproj", "{69EE97F0-91A3-475B-918F-603A7EDD022E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters", "SeedQueryParameters\SeedQueryParameters.csproj", "{417CD4DE-F293-4CE2-B74A-9EE8C5F339B6}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters.Test", "SeedQueryParameters.Test\SeedQueryParameters.Test.csproj", "{DEFFDABE-5A9C-4C7B-8881-4C693792DAFA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters.Test", "SeedQueryParameters.Test\SeedQueryParameters.Test.csproj", "{C5428FE1-00F4-49B6-91A7-7FF135B30BD2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {69EE97F0-91A3-475B-918F-603A7EDD022E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {69EE97F0-91A3-475B-918F-603A7EDD022E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {69EE97F0-91A3-475B-918F-603A7EDD022E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {69EE97F0-91A3-475B-918F-603A7EDD022E}.Release|Any CPU.Build.0 = Release|Any CPU
- {DEFFDABE-5A9C-4C7B-8881-4C693792DAFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DEFFDABE-5A9C-4C7B-8881-4C693792DAFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DEFFDABE-5A9C-4C7B-8881-4C693792DAFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DEFFDABE-5A9C-4C7B-8881-4C693792DAFA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {417CD4DE-F293-4CE2-B74A-9EE8C5F339B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {417CD4DE-F293-4CE2-B74A-9EE8C5F339B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {417CD4DE-F293-4CE2-B74A-9EE8C5F339B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {417CD4DE-F293-4CE2-B74A-9EE8C5F339B6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C5428FE1-00F4-49B6-91A7-7FF135B30BD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C5428FE1-00F4-49B6-91A7-7FF135B30BD2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C5428FE1-00F4-49B6-91A7-7FF135B30BD2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C5428FE1-00F4-49B6-91A7-7FF135B30BD2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/reserved-keywords/.github/workflows/ci.yml b/seed/csharp-model/reserved-keywords/.github/workflows/ci.yml
index be396538240..814db85f1d6 100644
--- a/seed/csharp-model/reserved-keywords/.github/workflows/ci.yml
+++ b/seed/csharp-model/reserved-keywords/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedNurseryApi --no-build --no-restore -c Release
dotnet nuget push src/SeedNurseryApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj
index 74f9aaff825..c916f8f1bb0 100644
--- a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj
+++ b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.sln b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.sln
index 73b30f77d20..ff277141ee2 100644
--- a/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.sln
+++ b/seed/csharp-model/reserved-keywords/src/SeedNurseryApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi", "SeedNurseryApi\SeedNurseryApi.csproj", "{7D65CC59-FCE6-4899-8293-778CC0C94A5F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi", "SeedNurseryApi\SeedNurseryApi.csproj", "{8A3319C3-E088-4435-A287-198FBF8360F1}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi.Test", "SeedNurseryApi.Test\SeedNurseryApi.Test.csproj", "{8FC0609A-8550-4D55-ABE6-4872455DB4B5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi.Test", "SeedNurseryApi.Test\SeedNurseryApi.Test.csproj", "{3E6217E9-14F5-41B7-B847-3A88C735484F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7D65CC59-FCE6-4899-8293-778CC0C94A5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7D65CC59-FCE6-4899-8293-778CC0C94A5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7D65CC59-FCE6-4899-8293-778CC0C94A5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7D65CC59-FCE6-4899-8293-778CC0C94A5F}.Release|Any CPU.Build.0 = Release|Any CPU
- {8FC0609A-8550-4D55-ABE6-4872455DB4B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8FC0609A-8550-4D55-ABE6-4872455DB4B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8FC0609A-8550-4D55-ABE6-4872455DB4B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8FC0609A-8550-4D55-ABE6-4872455DB4B5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8A3319C3-E088-4435-A287-198FBF8360F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8A3319C3-E088-4435-A287-198FBF8360F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8A3319C3-E088-4435-A287-198FBF8360F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8A3319C3-E088-4435-A287-198FBF8360F1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3E6217E9-14F5-41B7-B847-3A88C735484F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3E6217E9-14F5-41B7-B847-3A88C735484F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3E6217E9-14F5-41B7-B847-3A88C735484F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3E6217E9-14F5-41B7-B847-3A88C735484F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/response-property/.github/workflows/ci.yml b/seed/csharp-model/response-property/.github/workflows/ci.yml
index 66bfaa7fe38..b53bc8b1dcc 100644
--- a/seed/csharp-model/response-property/.github/workflows/ci.yml
+++ b/seed/csharp-model/response-property/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedResponseProperty --no-build --no-restore -c Release
dotnet nuget push src/SeedResponseProperty/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj b/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj
index 1d97c50a616..0029eded752 100644
--- a/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj
+++ b/seed/csharp-model/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/response-property/src/SeedResponseProperty.sln b/seed/csharp-model/response-property/src/SeedResponseProperty.sln
index f35e6d08df2..d0534167f26 100644
--- a/seed/csharp-model/response-property/src/SeedResponseProperty.sln
+++ b/seed/csharp-model/response-property/src/SeedResponseProperty.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty", "SeedResponseProperty\SeedResponseProperty.csproj", "{7BCE7E22-77D8-483B-A173-0290958595C6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty", "SeedResponseProperty\SeedResponseProperty.csproj", "{85E2F9CE-6A94-4EB8-8FFD-D343AA6252FF}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty.Test", "SeedResponseProperty.Test\SeedResponseProperty.Test.csproj", "{29FE7F73-F5D8-4C56-BAB1-5837350076D5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty.Test", "SeedResponseProperty.Test\SeedResponseProperty.Test.csproj", "{AD5B592D-BA0D-47EF-A4A1-CDCFA280AAE8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7BCE7E22-77D8-483B-A173-0290958595C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7BCE7E22-77D8-483B-A173-0290958595C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7BCE7E22-77D8-483B-A173-0290958595C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7BCE7E22-77D8-483B-A173-0290958595C6}.Release|Any CPU.Build.0 = Release|Any CPU
- {29FE7F73-F5D8-4C56-BAB1-5837350076D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {29FE7F73-F5D8-4C56-BAB1-5837350076D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {29FE7F73-F5D8-4C56-BAB1-5837350076D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {29FE7F73-F5D8-4C56-BAB1-5837350076D5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85E2F9CE-6A94-4EB8-8FFD-D343AA6252FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85E2F9CE-6A94-4EB8-8FFD-D343AA6252FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85E2F9CE-6A94-4EB8-8FFD-D343AA6252FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85E2F9CE-6A94-4EB8-8FFD-D343AA6252FF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {AD5B592D-BA0D-47EF-A4A1-CDCFA280AAE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {AD5B592D-BA0D-47EF-A4A1-CDCFA280AAE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {AD5B592D-BA0D-47EF-A4A1-CDCFA280AAE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {AD5B592D-BA0D-47EF-A4A1-CDCFA280AAE8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/server-sent-event-examples/.github/workflows/ci.yml b/seed/csharp-model/server-sent-event-examples/.github/workflows/ci.yml
index e76e2e89b13..e278e914c70 100644
--- a/seed/csharp-model/server-sent-event-examples/.github/workflows/ci.yml
+++ b/seed/csharp-model/server-sent-event-examples/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedServerSentEvents --no-build --no-restore -c Release
dotnet nuget push src/SeedServerSentEvents/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
index 7f8fa6bf18f..9592e2151e7 100644
--- a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
+++ b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.sln b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.sln
index c672dac5367..5b0daf28890 100644
--- a/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.sln
+++ b/seed/csharp-model/server-sent-event-examples/src/SeedServerSentEvents.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{AAC10B05-4AF4-48CF-AD52-5AC2CBAF99F6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{30C6D62C-498C-4557-9FBA-ED5CBAB38702}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{C870743A-0AF9-4111-8339-FE6E57275688}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{5AA68F2D-3DA3-4FA8-81E3-A184CE97142F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AAC10B05-4AF4-48CF-AD52-5AC2CBAF99F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AAC10B05-4AF4-48CF-AD52-5AC2CBAF99F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AAC10B05-4AF4-48CF-AD52-5AC2CBAF99F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AAC10B05-4AF4-48CF-AD52-5AC2CBAF99F6}.Release|Any CPU.Build.0 = Release|Any CPU
- {C870743A-0AF9-4111-8339-FE6E57275688}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C870743A-0AF9-4111-8339-FE6E57275688}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C870743A-0AF9-4111-8339-FE6E57275688}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C870743A-0AF9-4111-8339-FE6E57275688}.Release|Any CPU.Build.0 = Release|Any CPU
+ {30C6D62C-498C-4557-9FBA-ED5CBAB38702}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {30C6D62C-498C-4557-9FBA-ED5CBAB38702}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {30C6D62C-498C-4557-9FBA-ED5CBAB38702}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {30C6D62C-498C-4557-9FBA-ED5CBAB38702}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5AA68F2D-3DA3-4FA8-81E3-A184CE97142F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5AA68F2D-3DA3-4FA8-81E3-A184CE97142F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5AA68F2D-3DA3-4FA8-81E3-A184CE97142F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5AA68F2D-3DA3-4FA8-81E3-A184CE97142F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/server-sent-events/.github/workflows/ci.yml b/seed/csharp-model/server-sent-events/.github/workflows/ci.yml
index e76e2e89b13..e278e914c70 100644
--- a/seed/csharp-model/server-sent-events/.github/workflows/ci.yml
+++ b/seed/csharp-model/server-sent-events/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedServerSentEvents --no-build --no-restore -c Release
dotnet nuget push src/SeedServerSentEvents/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
index 7f8fa6bf18f..9592e2151e7 100644
--- a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
+++ b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.sln b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.sln
index 8ea2b6cffee..3aaf2ec7495 100644
--- a/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.sln
+++ b/seed/csharp-model/server-sent-events/src/SeedServerSentEvents.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{AC89CBDA-FC5A-4431-BA81-BCF6AE2250ED}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{2603BD15-56A7-4B8F-8CC4-ABC60EBAB312}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{3337498D-8023-45ED-AFF2-09127F4E4BEE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{F62F5005-73AA-4971-8E6F-9393F32EA635}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AC89CBDA-FC5A-4431-BA81-BCF6AE2250ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AC89CBDA-FC5A-4431-BA81-BCF6AE2250ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AC89CBDA-FC5A-4431-BA81-BCF6AE2250ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AC89CBDA-FC5A-4431-BA81-BCF6AE2250ED}.Release|Any CPU.Build.0 = Release|Any CPU
- {3337498D-8023-45ED-AFF2-09127F4E4BEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3337498D-8023-45ED-AFF2-09127F4E4BEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3337498D-8023-45ED-AFF2-09127F4E4BEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3337498D-8023-45ED-AFF2-09127F4E4BEE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2603BD15-56A7-4B8F-8CC4-ABC60EBAB312}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2603BD15-56A7-4B8F-8CC4-ABC60EBAB312}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2603BD15-56A7-4B8F-8CC4-ABC60EBAB312}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2603BD15-56A7-4B8F-8CC4-ABC60EBAB312}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F62F5005-73AA-4971-8E6F-9393F32EA635}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F62F5005-73AA-4971-8E6F-9393F32EA635}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F62F5005-73AA-4971-8E6F-9393F32EA635}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F62F5005-73AA-4971-8E6F-9393F32EA635}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/simple-fhir/.github/workflows/ci.yml b/seed/csharp-model/simple-fhir/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-model/simple-fhir/.github/workflows/ci.yml
+++ b/seed/csharp-model/simple-fhir/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-model/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/simple-fhir/src/SeedApi.sln b/seed/csharp-model/simple-fhir/src/SeedApi.sln
index 47e383c55c0..459edd08e24 100644
--- a/seed/csharp-model/simple-fhir/src/SeedApi.sln
+++ b/seed/csharp-model/simple-fhir/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{8495BE41-D51F-422E-872A-E28614EB3AA0}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{404D9B08-11BD-4F0C-9CA8-666D6ACB5D5C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{D6CF246A-72D9-4DBF-9E7A-DEDA292BBAAF}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{6EE8D2C1-70B3-408C-B8C9-41D5F1DE18A8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {8495BE41-D51F-422E-872A-E28614EB3AA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8495BE41-D51F-422E-872A-E28614EB3AA0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8495BE41-D51F-422E-872A-E28614EB3AA0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8495BE41-D51F-422E-872A-E28614EB3AA0}.Release|Any CPU.Build.0 = Release|Any CPU
- {D6CF246A-72D9-4DBF-9E7A-DEDA292BBAAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D6CF246A-72D9-4DBF-9E7A-DEDA292BBAAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D6CF246A-72D9-4DBF-9E7A-DEDA292BBAAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D6CF246A-72D9-4DBF-9E7A-DEDA292BBAAF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {404D9B08-11BD-4F0C-9CA8-666D6ACB5D5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {404D9B08-11BD-4F0C-9CA8-666D6ACB5D5C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {404D9B08-11BD-4F0C-9CA8-666D6ACB5D5C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {404D9B08-11BD-4F0C-9CA8-666D6ACB5D5C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6EE8D2C1-70B3-408C-B8C9-41D5F1DE18A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6EE8D2C1-70B3-408C-B8C9-41D5F1DE18A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6EE8D2C1-70B3-408C-B8C9-41D5F1DE18A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6EE8D2C1-70B3-408C-B8C9-41D5F1DE18A8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/single-url-environment-default/.github/workflows/ci.yml b/seed/csharp-model/single-url-environment-default/.github/workflows/ci.yml
index faf1f711522..3f5e86330cc 100644
--- a/seed/csharp-model/single-url-environment-default/.github/workflows/ci.yml
+++ b/seed/csharp-model/single-url-environment-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedSingleUrlEnvironmentDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedSingleUrlEnvironmentDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj
index 1a2dd4152f7..b619a952da8 100644
--- a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj
+++ b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln
index 0040429e66d..4a444870cd1 100644
--- a/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln
+++ b/seed/csharp-model/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault", "SeedSingleUrlEnvironmentDefault\SeedSingleUrlEnvironmentDefault.csproj", "{70E64D2F-2979-4A11-B372-33672977514B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault", "SeedSingleUrlEnvironmentDefault\SeedSingleUrlEnvironmentDefault.csproj", "{5ED5C9F3-7D01-48A8-8CA2-F0BC0DD4637A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault.Test", "SeedSingleUrlEnvironmentDefault.Test\SeedSingleUrlEnvironmentDefault.Test.csproj", "{D74B6A72-B0F4-4FF8-98C6-11DC46E0D888}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault.Test", "SeedSingleUrlEnvironmentDefault.Test\SeedSingleUrlEnvironmentDefault.Test.csproj", "{B0B6E847-0BAC-47A3-A1C4-574294418BAE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {70E64D2F-2979-4A11-B372-33672977514B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {70E64D2F-2979-4A11-B372-33672977514B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {70E64D2F-2979-4A11-B372-33672977514B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {70E64D2F-2979-4A11-B372-33672977514B}.Release|Any CPU.Build.0 = Release|Any CPU
- {D74B6A72-B0F4-4FF8-98C6-11DC46E0D888}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D74B6A72-B0F4-4FF8-98C6-11DC46E0D888}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D74B6A72-B0F4-4FF8-98C6-11DC46E0D888}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D74B6A72-B0F4-4FF8-98C6-11DC46E0D888}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5ED5C9F3-7D01-48A8-8CA2-F0BC0DD4637A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5ED5C9F3-7D01-48A8-8CA2-F0BC0DD4637A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5ED5C9F3-7D01-48A8-8CA2-F0BC0DD4637A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5ED5C9F3-7D01-48A8-8CA2-F0BC0DD4637A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B0B6E847-0BAC-47A3-A1C4-574294418BAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0B6E847-0BAC-47A3-A1C4-574294418BAE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0B6E847-0BAC-47A3-A1C4-574294418BAE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0B6E847-0BAC-47A3-A1C4-574294418BAE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/single-url-environment-no-default/.github/workflows/ci.yml b/seed/csharp-model/single-url-environment-no-default/.github/workflows/ci.yml
index e3d0adecd76..f0e6bb0efa7 100644
--- a/seed/csharp-model/single-url-environment-no-default/.github/workflows/ci.yml
+++ b/seed/csharp-model/single-url-environment-no-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedSingleUrlEnvironmentNoDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedSingleUrlEnvironmentNoDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj
index 970b922df3a..5bc32ae8de1 100644
--- a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj
+++ b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln
index 9708b8d3eb3..396a6e6204d 100644
--- a/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln
+++ b/seed/csharp-model/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault", "SeedSingleUrlEnvironmentNoDefault\SeedSingleUrlEnvironmentNoDefault.csproj", "{CA62CBC1-D979-4C22-81C1-DE829123CF5D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault", "SeedSingleUrlEnvironmentNoDefault\SeedSingleUrlEnvironmentNoDefault.csproj", "{B374F6CB-3D5D-4CFF-86F9-3208A30FC6C4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault.Test", "SeedSingleUrlEnvironmentNoDefault.Test\SeedSingleUrlEnvironmentNoDefault.Test.csproj", "{436622CC-4957-4254-BBF7-3685EE475029}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault.Test", "SeedSingleUrlEnvironmentNoDefault.Test\SeedSingleUrlEnvironmentNoDefault.Test.csproj", "{573266A2-C81E-4C9A-86B7-AB0FCC80ED8D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {CA62CBC1-D979-4C22-81C1-DE829123CF5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CA62CBC1-D979-4C22-81C1-DE829123CF5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CA62CBC1-D979-4C22-81C1-DE829123CF5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CA62CBC1-D979-4C22-81C1-DE829123CF5D}.Release|Any CPU.Build.0 = Release|Any CPU
- {436622CC-4957-4254-BBF7-3685EE475029}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {436622CC-4957-4254-BBF7-3685EE475029}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {436622CC-4957-4254-BBF7-3685EE475029}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {436622CC-4957-4254-BBF7-3685EE475029}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B374F6CB-3D5D-4CFF-86F9-3208A30FC6C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B374F6CB-3D5D-4CFF-86F9-3208A30FC6C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B374F6CB-3D5D-4CFF-86F9-3208A30FC6C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B374F6CB-3D5D-4CFF-86F9-3208A30FC6C4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {573266A2-C81E-4C9A-86B7-AB0FCC80ED8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {573266A2-C81E-4C9A-86B7-AB0FCC80ED8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {573266A2-C81E-4C9A-86B7-AB0FCC80ED8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {573266A2-C81E-4C9A-86B7-AB0FCC80ED8D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/streaming-parameter/.github/workflows/ci.yml b/seed/csharp-model/streaming-parameter/.github/workflows/ci.yml
index 77ce56f6a73..6b712dc7cdc 100644
--- a/seed/csharp-model/streaming-parameter/.github/workflows/ci.yml
+++ b/seed/csharp-model/streaming-parameter/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedStreaming --no-build --no-restore -c Release
dotnet nuget push src/SeedStreaming/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj
index 77d9031c2ce..1d0fac03967 100644
--- a/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj
+++ b/seed/csharp-model/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/streaming-parameter/src/SeedStreaming.sln b/seed/csharp-model/streaming-parameter/src/SeedStreaming.sln
index 1c47b184b08..606245946f8 100644
--- a/seed/csharp-model/streaming-parameter/src/SeedStreaming.sln
+++ b/seed/csharp-model/streaming-parameter/src/SeedStreaming.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{56DAE2AA-D9BC-4EC4-8D45-7A39F6EB2131}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{4252948E-9FE2-49A2-A570-C3D949AE7A0A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{563AEEDF-4CED-42FC-BCFD-0FFCF037E8E3}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{90AED4EE-CFF9-43B3-96F5-E7AE7608E223}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {56DAE2AA-D9BC-4EC4-8D45-7A39F6EB2131}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {56DAE2AA-D9BC-4EC4-8D45-7A39F6EB2131}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {56DAE2AA-D9BC-4EC4-8D45-7A39F6EB2131}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {56DAE2AA-D9BC-4EC4-8D45-7A39F6EB2131}.Release|Any CPU.Build.0 = Release|Any CPU
- {563AEEDF-4CED-42FC-BCFD-0FFCF037E8E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {563AEEDF-4CED-42FC-BCFD-0FFCF037E8E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {563AEEDF-4CED-42FC-BCFD-0FFCF037E8E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {563AEEDF-4CED-42FC-BCFD-0FFCF037E8E3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4252948E-9FE2-49A2-A570-C3D949AE7A0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4252948E-9FE2-49A2-A570-C3D949AE7A0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4252948E-9FE2-49A2-A570-C3D949AE7A0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4252948E-9FE2-49A2-A570-C3D949AE7A0A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {90AED4EE-CFF9-43B3-96F5-E7AE7608E223}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {90AED4EE-CFF9-43B3-96F5-E7AE7608E223}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {90AED4EE-CFF9-43B3-96F5-E7AE7608E223}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {90AED4EE-CFF9-43B3-96F5-E7AE7608E223}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/streaming/.github/workflows/ci.yml b/seed/csharp-model/streaming/.github/workflows/ci.yml
index 77ce56f6a73..6b712dc7cdc 100644
--- a/seed/csharp-model/streaming/.github/workflows/ci.yml
+++ b/seed/csharp-model/streaming/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedStreaming --no-build --no-restore -c Release
dotnet nuget push src/SeedStreaming/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj
index 77d9031c2ce..1d0fac03967 100644
--- a/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj
+++ b/seed/csharp-model/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/streaming/src/SeedStreaming.sln b/seed/csharp-model/streaming/src/SeedStreaming.sln
index d54c17569bc..ded7372c87e 100644
--- a/seed/csharp-model/streaming/src/SeedStreaming.sln
+++ b/seed/csharp-model/streaming/src/SeedStreaming.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{B255E88A-C8DD-4635-A66F-01043EE15D02}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{1E34965F-EDE0-4B6C-8911-76FCA161C7F4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{9A412F18-EC00-4F52-A73E-DBC2DF8AF857}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{EA8412A7-2DB4-406F-890E-BD062CF8B041}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {B255E88A-C8DD-4635-A66F-01043EE15D02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B255E88A-C8DD-4635-A66F-01043EE15D02}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B255E88A-C8DD-4635-A66F-01043EE15D02}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B255E88A-C8DD-4635-A66F-01043EE15D02}.Release|Any CPU.Build.0 = Release|Any CPU
- {9A412F18-EC00-4F52-A73E-DBC2DF8AF857}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9A412F18-EC00-4F52-A73E-DBC2DF8AF857}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9A412F18-EC00-4F52-A73E-DBC2DF8AF857}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9A412F18-EC00-4F52-A73E-DBC2DF8AF857}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1E34965F-EDE0-4B6C-8911-76FCA161C7F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1E34965F-EDE0-4B6C-8911-76FCA161C7F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1E34965F-EDE0-4B6C-8911-76FCA161C7F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1E34965F-EDE0-4B6C-8911-76FCA161C7F4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EA8412A7-2DB4-406F-890E-BD062CF8B041}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EA8412A7-2DB4-406F-890E-BD062CF8B041}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EA8412A7-2DB4-406F-890E-BD062CF8B041}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EA8412A7-2DB4-406F-890E-BD062CF8B041}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/trace/.github/workflows/ci.yml b/seed/csharp-model/trace/.github/workflows/ci.yml
index 063b8125cce..74e6cae8f9c 100644
--- a/seed/csharp-model/trace/.github/workflows/ci.yml
+++ b/seed/csharp-model/trace/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedTrace --no-build --no-restore -c Release
dotnet nuget push src/SeedTrace/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj b/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj
index ddcf1a5d704..0ab6a4a0b39 100644
--- a/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj
+++ b/seed/csharp-model/trace/src/SeedTrace.Test/SeedTrace.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/trace/src/SeedTrace.sln b/seed/csharp-model/trace/src/SeedTrace.sln
index a51bc0a6835..0ff28d5b27b 100644
--- a/seed/csharp-model/trace/src/SeedTrace.sln
+++ b/seed/csharp-model/trace/src/SeedTrace.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace", "SeedTrace\SeedTrace.csproj", "{C88F4B9A-76A4-4C26-B0B0-C7EE9859CB60}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace", "SeedTrace\SeedTrace.csproj", "{96BD9DF6-E37B-457A-9A62-6EF72193C9F1}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace.Test", "SeedTrace.Test\SeedTrace.Test.csproj", "{DD05F5E6-2605-40D0-A5FF-CFC98E97DEBD}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace.Test", "SeedTrace.Test\SeedTrace.Test.csproj", "{ED427A12-9F35-4037-BE87-25309E8725F0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C88F4B9A-76A4-4C26-B0B0-C7EE9859CB60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C88F4B9A-76A4-4C26-B0B0-C7EE9859CB60}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C88F4B9A-76A4-4C26-B0B0-C7EE9859CB60}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C88F4B9A-76A4-4C26-B0B0-C7EE9859CB60}.Release|Any CPU.Build.0 = Release|Any CPU
- {DD05F5E6-2605-40D0-A5FF-CFC98E97DEBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DD05F5E6-2605-40D0-A5FF-CFC98E97DEBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DD05F5E6-2605-40D0-A5FF-CFC98E97DEBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DD05F5E6-2605-40D0-A5FF-CFC98E97DEBD}.Release|Any CPU.Build.0 = Release|Any CPU
+ {96BD9DF6-E37B-457A-9A62-6EF72193C9F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {96BD9DF6-E37B-457A-9A62-6EF72193C9F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {96BD9DF6-E37B-457A-9A62-6EF72193C9F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {96BD9DF6-E37B-457A-9A62-6EF72193C9F1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ED427A12-9F35-4037-BE87-25309E8725F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ED427A12-9F35-4037-BE87-25309E8725F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ED427A12-9F35-4037-BE87-25309E8725F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ED427A12-9F35-4037-BE87-25309E8725F0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/undiscriminated-unions/.github/workflows/ci.yml b/seed/csharp-model/undiscriminated-unions/.github/workflows/ci.yml
index 29bc82e7849..56cacc6f904 100644
--- a/seed/csharp-model/undiscriminated-unions/.github/workflows/ci.yml
+++ b/seed/csharp-model/undiscriminated-unions/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedUndiscriminatedUnions --no-build --no-restore -c Release
dotnet nuget push src/SeedUndiscriminatedUnions/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj
index c08f58082d3..8b2a352bfd7 100644
--- a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj
+++ b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln
index 08e426969e3..b1e6f0921ff 100644
--- a/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln
+++ b/seed/csharp-model/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions", "SeedUndiscriminatedUnions\SeedUndiscriminatedUnions.csproj", "{AD645789-9465-4E4B-95E7-1F0AC2E8315E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions", "SeedUndiscriminatedUnions\SeedUndiscriminatedUnions.csproj", "{4E81BB3F-9E0B-4ED6-853A-CBF69AD2E960}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions.Test", "SeedUndiscriminatedUnions.Test\SeedUndiscriminatedUnions.Test.csproj", "{848E0BCE-A83A-41D1-B9FE-FC6905FDE7BB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions.Test", "SeedUndiscriminatedUnions.Test\SeedUndiscriminatedUnions.Test.csproj", "{3B96C58B-669C-4D01-ABA8-91E60E4C49A9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AD645789-9465-4E4B-95E7-1F0AC2E8315E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AD645789-9465-4E4B-95E7-1F0AC2E8315E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AD645789-9465-4E4B-95E7-1F0AC2E8315E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AD645789-9465-4E4B-95E7-1F0AC2E8315E}.Release|Any CPU.Build.0 = Release|Any CPU
- {848E0BCE-A83A-41D1-B9FE-FC6905FDE7BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {848E0BCE-A83A-41D1-B9FE-FC6905FDE7BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {848E0BCE-A83A-41D1-B9FE-FC6905FDE7BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {848E0BCE-A83A-41D1-B9FE-FC6905FDE7BB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4E81BB3F-9E0B-4ED6-853A-CBF69AD2E960}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4E81BB3F-9E0B-4ED6-853A-CBF69AD2E960}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4E81BB3F-9E0B-4ED6-853A-CBF69AD2E960}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4E81BB3F-9E0B-4ED6-853A-CBF69AD2E960}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3B96C58B-669C-4D01-ABA8-91E60E4C49A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3B96C58B-669C-4D01-ABA8-91E60E4C49A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3B96C58B-669C-4D01-ABA8-91E60E4C49A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3B96C58B-669C-4D01-ABA8-91E60E4C49A9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/unions/.github/workflows/ci.yml b/seed/csharp-model/unions/.github/workflows/ci.yml
index 3aea2072ef7..567a0737486 100644
--- a/seed/csharp-model/unions/.github/workflows/ci.yml
+++ b/seed/csharp-model/unions/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedUnions --no-build --no-restore -c Release
dotnet nuget push src/SeedUnions/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj b/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj
index 1aab7bd3a92..10dd147ecf0 100644
--- a/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj
+++ b/seed/csharp-model/unions/src/SeedUnions.Test/SeedUnions.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/unions/src/SeedUnions.sln b/seed/csharp-model/unions/src/SeedUnions.sln
index 388de3c2211..2c57bfe7e86 100644
--- a/seed/csharp-model/unions/src/SeedUnions.sln
+++ b/seed/csharp-model/unions/src/SeedUnions.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions", "SeedUnions\SeedUnions.csproj", "{7CB9B6E3-676A-4350-8E1E-C61E9F15FBAD}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions", "SeedUnions\SeedUnions.csproj", "{15B5C4D1-6730-406F-B4D9-9CC1999D2433}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions.Test", "SeedUnions.Test\SeedUnions.Test.csproj", "{9F557ED7-B551-478C-9823-1ACF46547949}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions.Test", "SeedUnions.Test\SeedUnions.Test.csproj", "{1B2DAE7C-D4CE-4895-9AE1-4624F11F04DE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7CB9B6E3-676A-4350-8E1E-C61E9F15FBAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7CB9B6E3-676A-4350-8E1E-C61E9F15FBAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7CB9B6E3-676A-4350-8E1E-C61E9F15FBAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7CB9B6E3-676A-4350-8E1E-C61E9F15FBAD}.Release|Any CPU.Build.0 = Release|Any CPU
- {9F557ED7-B551-478C-9823-1ACF46547949}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9F557ED7-B551-478C-9823-1ACF46547949}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9F557ED7-B551-478C-9823-1ACF46547949}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9F557ED7-B551-478C-9823-1ACF46547949}.Release|Any CPU.Build.0 = Release|Any CPU
+ {15B5C4D1-6730-406F-B4D9-9CC1999D2433}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {15B5C4D1-6730-406F-B4D9-9CC1999D2433}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {15B5C4D1-6730-406F-B4D9-9CC1999D2433}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {15B5C4D1-6730-406F-B4D9-9CC1999D2433}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1B2DAE7C-D4CE-4895-9AE1-4624F11F04DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1B2DAE7C-D4CE-4895-9AE1-4624F11F04DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1B2DAE7C-D4CE-4895-9AE1-4624F11F04DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1B2DAE7C-D4CE-4895-9AE1-4624F11F04DE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/unknown/.github/workflows/ci.yml b/seed/csharp-model/unknown/.github/workflows/ci.yml
index a179df91cda..ac929576c8e 100644
--- a/seed/csharp-model/unknown/.github/workflows/ci.yml
+++ b/seed/csharp-model/unknown/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedUnknownAsAny --no-build --no-restore -c Release
dotnet nuget push src/SeedUnknownAsAny/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj b/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj
index a79c4d294b8..cfb55438465 100644
--- a/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj
+++ b/seed/csharp-model/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/unknown/src/SeedUnknownAsAny.sln b/seed/csharp-model/unknown/src/SeedUnknownAsAny.sln
index 47cb74a001d..dbef34c6740 100644
--- a/seed/csharp-model/unknown/src/SeedUnknownAsAny.sln
+++ b/seed/csharp-model/unknown/src/SeedUnknownAsAny.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny", "SeedUnknownAsAny\SeedUnknownAsAny.csproj", "{7D914371-3399-49CF-8B2D-5814065D4861}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny", "SeedUnknownAsAny\SeedUnknownAsAny.csproj", "{4E1F1007-6F86-476D-8577-1ECB69B24B92}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny.Test", "SeedUnknownAsAny.Test\SeedUnknownAsAny.Test.csproj", "{381B6904-9052-4EBA-B078-24D941E3A629}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny.Test", "SeedUnknownAsAny.Test\SeedUnknownAsAny.Test.csproj", "{F6806381-8D52-4D7C-8B92-E103961F0794}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7D914371-3399-49CF-8B2D-5814065D4861}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7D914371-3399-49CF-8B2D-5814065D4861}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7D914371-3399-49CF-8B2D-5814065D4861}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7D914371-3399-49CF-8B2D-5814065D4861}.Release|Any CPU.Build.0 = Release|Any CPU
- {381B6904-9052-4EBA-B078-24D941E3A629}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {381B6904-9052-4EBA-B078-24D941E3A629}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {381B6904-9052-4EBA-B078-24D941E3A629}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {381B6904-9052-4EBA-B078-24D941E3A629}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4E1F1007-6F86-476D-8577-1ECB69B24B92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4E1F1007-6F86-476D-8577-1ECB69B24B92}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4E1F1007-6F86-476D-8577-1ECB69B24B92}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4E1F1007-6F86-476D-8577-1ECB69B24B92}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F6806381-8D52-4D7C-8B92-E103961F0794}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F6806381-8D52-4D7C-8B92-E103961F0794}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F6806381-8D52-4D7C-8B92-E103961F0794}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F6806381-8D52-4D7C-8B92-E103961F0794}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/validation/.github/workflows/ci.yml b/seed/csharp-model/validation/.github/workflows/ci.yml
index cc13da26dc8..3a42eb82400 100644
--- a/seed/csharp-model/validation/.github/workflows/ci.yml
+++ b/seed/csharp-model/validation/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedValidation --no-build --no-restore -c Release
dotnet nuget push src/SeedValidation/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj b/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj
index 7265c8587af..a505a994a07 100644
--- a/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj
+++ b/seed/csharp-model/validation/src/SeedValidation.Test/SeedValidation.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/validation/src/SeedValidation.sln b/seed/csharp-model/validation/src/SeedValidation.sln
index b0cb1f85dd4..a008e831310 100644
--- a/seed/csharp-model/validation/src/SeedValidation.sln
+++ b/seed/csharp-model/validation/src/SeedValidation.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation", "SeedValidation\SeedValidation.csproj", "{6864E747-72E6-46CD-8A88-FA9B10E553DC}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation", "SeedValidation\SeedValidation.csproj", "{77B2E0A1-805E-4EBC-9013-248D7B48921F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation.Test", "SeedValidation.Test\SeedValidation.Test.csproj", "{04273FD6-F88C-41DE-B825-79E3DC32553D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation.Test", "SeedValidation.Test\SeedValidation.Test.csproj", "{0150826E-684B-4C59-8B55-BDED97788D1A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6864E747-72E6-46CD-8A88-FA9B10E553DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6864E747-72E6-46CD-8A88-FA9B10E553DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6864E747-72E6-46CD-8A88-FA9B10E553DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6864E747-72E6-46CD-8A88-FA9B10E553DC}.Release|Any CPU.Build.0 = Release|Any CPU
- {04273FD6-F88C-41DE-B825-79E3DC32553D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {04273FD6-F88C-41DE-B825-79E3DC32553D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {04273FD6-F88C-41DE-B825-79E3DC32553D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {04273FD6-F88C-41DE-B825-79E3DC32553D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {77B2E0A1-805E-4EBC-9013-248D7B48921F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {77B2E0A1-805E-4EBC-9013-248D7B48921F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {77B2E0A1-805E-4EBC-9013-248D7B48921F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {77B2E0A1-805E-4EBC-9013-248D7B48921F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0150826E-684B-4C59-8B55-BDED97788D1A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0150826E-684B-4C59-8B55-BDED97788D1A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0150826E-684B-4C59-8B55-BDED97788D1A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0150826E-684B-4C59-8B55-BDED97788D1A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/variables/.github/workflows/ci.yml b/seed/csharp-model/variables/.github/workflows/ci.yml
index de9414991ed..443f2103cde 100644
--- a/seed/csharp-model/variables/.github/workflows/ci.yml
+++ b/seed/csharp-model/variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj b/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj
index 476174f5e6e..51191a12806 100644
--- a/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj
+++ b/seed/csharp-model/variables/src/SeedVariables.Test/SeedVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/variables/src/SeedVariables.sln b/seed/csharp-model/variables/src/SeedVariables.sln
index 1ca3808d40f..8b8d988fc36 100644
--- a/seed/csharp-model/variables/src/SeedVariables.sln
+++ b/seed/csharp-model/variables/src/SeedVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables", "SeedVariables\SeedVariables.csproj", "{062B156E-8652-442A-A946-331AB3F70C2B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables", "SeedVariables\SeedVariables.csproj", "{A9AC58B0-ED4B-4CE3-A88B-6719F4C6F0E7}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables.Test", "SeedVariables.Test\SeedVariables.Test.csproj", "{CAF3E9E4-DC04-4639-8969-39357DE0C9F0}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables.Test", "SeedVariables.Test\SeedVariables.Test.csproj", "{B188A1D4-9E17-4FBE-AE55-0DFEB33780B4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {062B156E-8652-442A-A946-331AB3F70C2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {062B156E-8652-442A-A946-331AB3F70C2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {062B156E-8652-442A-A946-331AB3F70C2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {062B156E-8652-442A-A946-331AB3F70C2B}.Release|Any CPU.Build.0 = Release|Any CPU
- {CAF3E9E4-DC04-4639-8969-39357DE0C9F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CAF3E9E4-DC04-4639-8969-39357DE0C9F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CAF3E9E4-DC04-4639-8969-39357DE0C9F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CAF3E9E4-DC04-4639-8969-39357DE0C9F0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A9AC58B0-ED4B-4CE3-A88B-6719F4C6F0E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A9AC58B0-ED4B-4CE3-A88B-6719F4C6F0E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A9AC58B0-ED4B-4CE3-A88B-6719F4C6F0E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A9AC58B0-ED4B-4CE3-A88B-6719F4C6F0E7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B188A1D4-9E17-4FBE-AE55-0DFEB33780B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B188A1D4-9E17-4FBE-AE55-0DFEB33780B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B188A1D4-9E17-4FBE-AE55-0DFEB33780B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B188A1D4-9E17-4FBE-AE55-0DFEB33780B4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/version-no-default/.github/workflows/ci.yml b/seed/csharp-model/version-no-default/.github/workflows/ci.yml
index f06daf98be7..55e28a40524 100644
--- a/seed/csharp-model/version-no-default/.github/workflows/ci.yml
+++ b/seed/csharp-model/version-no-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedVersion --no-build --no-restore -c Release
dotnet nuget push src/SeedVersion/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj
index 22fcd57b3cb..94ebb3c1190 100644
--- a/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj
+++ b/seed/csharp-model/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/version-no-default/src/SeedVersion.sln b/seed/csharp-model/version-no-default/src/SeedVersion.sln
index d2cbb07ab7d..b7f5feb3fc8 100644
--- a/seed/csharp-model/version-no-default/src/SeedVersion.sln
+++ b/seed/csharp-model/version-no-default/src/SeedVersion.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{998E0B51-3C88-4028-909F-FBE8903EF9C9}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{2309FA2D-9256-4987-8BE3-7E95FDBA2D75}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{C947BD8B-3E6C-4773-8021-8379AA69C8A2}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{98CD6853-1091-43C5-9C59-548138B13FF5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {998E0B51-3C88-4028-909F-FBE8903EF9C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {998E0B51-3C88-4028-909F-FBE8903EF9C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {998E0B51-3C88-4028-909F-FBE8903EF9C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {998E0B51-3C88-4028-909F-FBE8903EF9C9}.Release|Any CPU.Build.0 = Release|Any CPU
- {C947BD8B-3E6C-4773-8021-8379AA69C8A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C947BD8B-3E6C-4773-8021-8379AA69C8A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C947BD8B-3E6C-4773-8021-8379AA69C8A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C947BD8B-3E6C-4773-8021-8379AA69C8A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2309FA2D-9256-4987-8BE3-7E95FDBA2D75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2309FA2D-9256-4987-8BE3-7E95FDBA2D75}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2309FA2D-9256-4987-8BE3-7E95FDBA2D75}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2309FA2D-9256-4987-8BE3-7E95FDBA2D75}.Release|Any CPU.Build.0 = Release|Any CPU
+ {98CD6853-1091-43C5-9C59-548138B13FF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {98CD6853-1091-43C5-9C59-548138B13FF5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {98CD6853-1091-43C5-9C59-548138B13FF5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {98CD6853-1091-43C5-9C59-548138B13FF5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/version/.github/workflows/ci.yml b/seed/csharp-model/version/.github/workflows/ci.yml
index f06daf98be7..55e28a40524 100644
--- a/seed/csharp-model/version/.github/workflows/ci.yml
+++ b/seed/csharp-model/version/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedVersion --no-build --no-restore -c Release
dotnet nuget push src/SeedVersion/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj
index 22fcd57b3cb..94ebb3c1190 100644
--- a/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj
+++ b/seed/csharp-model/version/src/SeedVersion.Test/SeedVersion.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/version/src/SeedVersion.sln b/seed/csharp-model/version/src/SeedVersion.sln
index 2cf905d05f3..66bcb76ca01 100644
--- a/seed/csharp-model/version/src/SeedVersion.sln
+++ b/seed/csharp-model/version/src/SeedVersion.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{2789145C-D780-483B-832E-82840C250614}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{9591E038-1A3A-4D90-AA1C-4C27D30C7AA1}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{1B40ADD2-D34F-4835-BC4A-CAA2FD43442E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{3823FF67-DCFD-4950-BC00-B5CFEFF77407}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {2789145C-D780-483B-832E-82840C250614}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2789145C-D780-483B-832E-82840C250614}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2789145C-D780-483B-832E-82840C250614}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2789145C-D780-483B-832E-82840C250614}.Release|Any CPU.Build.0 = Release|Any CPU
- {1B40ADD2-D34F-4835-BC4A-CAA2FD43442E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1B40ADD2-D34F-4835-BC4A-CAA2FD43442E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1B40ADD2-D34F-4835-BC4A-CAA2FD43442E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1B40ADD2-D34F-4835-BC4A-CAA2FD43442E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9591E038-1A3A-4D90-AA1C-4C27D30C7AA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9591E038-1A3A-4D90-AA1C-4C27D30C7AA1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9591E038-1A3A-4D90-AA1C-4C27D30C7AA1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9591E038-1A3A-4D90-AA1C-4C27D30C7AA1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3823FF67-DCFD-4950-BC00-B5CFEFF77407}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3823FF67-DCFD-4950-BC00-B5CFEFF77407}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3823FF67-DCFD-4950-BC00-B5CFEFF77407}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3823FF67-DCFD-4950-BC00-B5CFEFF77407}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-model/websocket/.github/workflows/ci.yml b/seed/csharp-model/websocket/.github/workflows/ci.yml
index ae4a115baae..8d71d40bbbb 100644
--- a/seed/csharp-model/websocket/.github/workflows/ci.yml
+++ b/seed/csharp-model/websocket/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedWebsocket --no-build --no-restore -c Release
dotnet nuget push src/SeedWebsocket/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj b/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj
index b1ba647bca0..45313df936a 100644
--- a/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj
+++ b/seed/csharp-model/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-model/websocket/src/SeedWebsocket.sln b/seed/csharp-model/websocket/src/SeedWebsocket.sln
index 28c11494884..fdea80a568e 100644
--- a/seed/csharp-model/websocket/src/SeedWebsocket.sln
+++ b/seed/csharp-model/websocket/src/SeedWebsocket.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket", "SeedWebsocket\SeedWebsocket.csproj", "{46EF288A-6261-493A-8021-1CE80DE30B78}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket", "SeedWebsocket\SeedWebsocket.csproj", "{26E51EB4-EA93-4D45-B4CE-09FB85B52126}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket.Test", "SeedWebsocket.Test\SeedWebsocket.Test.csproj", "{80EEFB6B-E44D-4FB1-AB19-FFC9CF37B8F7}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket.Test", "SeedWebsocket.Test\SeedWebsocket.Test.csproj", "{E1F3E3E2-A722-4914-B33B-FBD9AA4D3DDE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {46EF288A-6261-493A-8021-1CE80DE30B78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {46EF288A-6261-493A-8021-1CE80DE30B78}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {46EF288A-6261-493A-8021-1CE80DE30B78}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {46EF288A-6261-493A-8021-1CE80DE30B78}.Release|Any CPU.Build.0 = Release|Any CPU
- {80EEFB6B-E44D-4FB1-AB19-FFC9CF37B8F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {80EEFB6B-E44D-4FB1-AB19-FFC9CF37B8F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {80EEFB6B-E44D-4FB1-AB19-FFC9CF37B8F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {80EEFB6B-E44D-4FB1-AB19-FFC9CF37B8F7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {26E51EB4-EA93-4D45-B4CE-09FB85B52126}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {26E51EB4-EA93-4D45-B4CE-09FB85B52126}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {26E51EB4-EA93-4D45-B4CE-09FB85B52126}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {26E51EB4-EA93-4D45-B4CE-09FB85B52126}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E1F3E3E2-A722-4914-B33B-FBD9AA4D3DDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E1F3E3E2-A722-4914-B33B-FBD9AA4D3DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E1F3E3E2-A722-4914-B33B-FBD9AA4D3DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E1F3E3E2-A722-4914-B33B-FBD9AA4D3DDE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/alias-extends/.github/workflows/ci.yml b/seed/csharp-sdk/alias-extends/.github/workflows/ci.yml
index f8bba989fb0..d2b69d7a23b 100644
--- a/seed/csharp-sdk/alias-extends/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/alias-extends/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAliasExtends --no-build --no-restore -c Release
dotnet nuget push src/SeedAliasExtends/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj
index a096140ec2c..16169a21187 100644
--- a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj
+++ b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.Test/SeedAliasExtends.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.sln b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.sln
index a9679fa2baf..236378422a2 100644
--- a/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.sln
+++ b/seed/csharp-sdk/alias-extends/src/SeedAliasExtends.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends", "SeedAliasExtends\SeedAliasExtends.csproj", "{60A2DB17-546C-48EE-8C0F-FE41C774A518}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends", "SeedAliasExtends\SeedAliasExtends.csproj", "{08CD18A8-4759-4D2D-91E8-CB77570CFB0A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends.Test", "SeedAliasExtends.Test\SeedAliasExtends.Test.csproj", "{CBBF564A-AFE4-4610-8A56-096A86B3F913}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAliasExtends.Test", "SeedAliasExtends.Test\SeedAliasExtends.Test.csproj", "{93C9E722-02EF-4FB0-895C-A4C494B8FB78}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {60A2DB17-546C-48EE-8C0F-FE41C774A518}.Release|Any CPU.Build.0 = Release|Any CPU
- {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CBBF564A-AFE4-4610-8A56-096A86B3F913}.Release|Any CPU.Build.0 = Release|Any CPU
+ {08CD18A8-4759-4D2D-91E8-CB77570CFB0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {08CD18A8-4759-4D2D-91E8-CB77570CFB0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {08CD18A8-4759-4D2D-91E8-CB77570CFB0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {08CD18A8-4759-4D2D-91E8-CB77570CFB0A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {93C9E722-02EF-4FB0-895C-A4C494B8FB78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {93C9E722-02EF-4FB0-895C-A4C494B8FB78}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {93C9E722-02EF-4FB0-895C-A4C494B8FB78}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {93C9E722-02EF-4FB0-895C-A4C494B8FB78}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/alias/.github/workflows/ci.yml b/seed/csharp-sdk/alias/.github/workflows/ci.yml
index 2af8b595fd8..736231316e9 100644
--- a/seed/csharp-sdk/alias/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/alias/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAlias --no-build --no-restore -c Release
dotnet nuget push src/SeedAlias/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj b/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj
index 4c80df47000..bba05ac6963 100644
--- a/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj
+++ b/seed/csharp-sdk/alias/src/SeedAlias.Test/SeedAlias.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/alias/src/SeedAlias.sln b/seed/csharp-sdk/alias/src/SeedAlias.sln
index 3fdae41af23..8d51856dbbd 100644
--- a/seed/csharp-sdk/alias/src/SeedAlias.sln
+++ b/seed/csharp-sdk/alias/src/SeedAlias.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias", "SeedAlias\SeedAlias.csproj", "{ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias", "SeedAlias\SeedAlias.csproj", "{1D344753-4CC6-419B-BA05-BE4EA97A3E62}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias.Test", "SeedAlias.Test\SeedAlias.Test.csproj", "{F41CCDF4-487E-49EC-9682-651CF26D0204}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAlias.Test", "SeedAlias.Test\SeedAlias.Test.csproj", "{49B94C3C-22F3-429B-B23A-1D921F7CCD9D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ABC795F8-A6F6-430A-97F9-3CFAA3CE79F3}.Release|Any CPU.Build.0 = Release|Any CPU
- {F41CCDF4-487E-49EC-9682-651CF26D0204}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F41CCDF4-487E-49EC-9682-651CF26D0204}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F41CCDF4-487E-49EC-9682-651CF26D0204}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F41CCDF4-487E-49EC-9682-651CF26D0204}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1D344753-4CC6-419B-BA05-BE4EA97A3E62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1D344753-4CC6-419B-BA05-BE4EA97A3E62}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1D344753-4CC6-419B-BA05-BE4EA97A3E62}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1D344753-4CC6-419B-BA05-BE4EA97A3E62}.Release|Any CPU.Build.0 = Release|Any CPU
+ {49B94C3C-22F3-429B-B23A-1D921F7CCD9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {49B94C3C-22F3-429B-B23A-1D921F7CCD9D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {49B94C3C-22F3-429B-B23A-1D921F7CCD9D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {49B94C3C-22F3-429B-B23A-1D921F7CCD9D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/any-auth/.github/workflows/ci.yml b/seed/csharp-sdk/any-auth/.github/workflows/ci.yml
index 5efe00fff75..387e45422ee 100644
--- a/seed/csharp-sdk/any-auth/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/any-auth/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAnyAuth --no-build --no-restore -c Release
dotnet nuget push src/SeedAnyAuth/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj
index cb2298c52d3..77cbc4f14b8 100644
--- a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj
+++ b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.Test/SeedAnyAuth.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.sln b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.sln
index 33c4aed105a..b1bb29cc111 100644
--- a/seed/csharp-sdk/any-auth/src/SeedAnyAuth.sln
+++ b/seed/csharp-sdk/any-auth/src/SeedAnyAuth.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth", "SeedAnyAuth\SeedAnyAuth.csproj", "{316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth", "SeedAnyAuth\SeedAnyAuth.csproj", "{D5DD01C7-FA07-4666-BDBB-3E706C5EA346}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth.Test", "SeedAnyAuth.Test\SeedAnyAuth.Test.csproj", "{A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAnyAuth.Test", "SeedAnyAuth.Test\SeedAnyAuth.Test.csproj", "{8115F601-4869-49C9-8CB1-7D9E19FC6F8A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {316083FC-4DFA-4FC0-8CD3-AE26C99A4DE9}.Release|Any CPU.Build.0 = Release|Any CPU
- {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A6B4909F-8EF8-44A0-A9EF-42F4F802FB4E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D5DD01C7-FA07-4666-BDBB-3E706C5EA346}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D5DD01C7-FA07-4666-BDBB-3E706C5EA346}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D5DD01C7-FA07-4666-BDBB-3E706C5EA346}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D5DD01C7-FA07-4666-BDBB-3E706C5EA346}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8115F601-4869-49C9-8CB1-7D9E19FC6F8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8115F601-4869-49C9-8CB1-7D9E19FC6F8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8115F601-4869-49C9-8CB1-7D9E19FC6F8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8115F601-4869-49C9-8CB1-7D9E19FC6F8A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/api-wide-base-path/.github/workflows/ci.yml b/seed/csharp-sdk/api-wide-base-path/.github/workflows/ci.yml
index 572bdfbbaae..d25109bdcc1 100644
--- a/seed/csharp-sdk/api-wide-base-path/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/api-wide-base-path/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApiWideBasePath --no-build --no-restore -c Release
dotnet nuget push src/SeedApiWideBasePath/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj
index 330a9298b0a..8709dc0c54e 100644
--- a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj
+++ b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.Test/SeedApiWideBasePath.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.sln b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.sln
index 81f1acf08fe..f92c190556c 100644
--- a/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.sln
+++ b/seed/csharp-sdk/api-wide-base-path/src/SeedApiWideBasePath.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath", "SeedApiWideBasePath\SeedApiWideBasePath.csproj", "{D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath", "SeedApiWideBasePath\SeedApiWideBasePath.csproj", "{1C49D44A-C6E8-4454-9F1C-CA9EE22C70AB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath.Test", "SeedApiWideBasePath.Test\SeedApiWideBasePath.Test.csproj", "{4B205E1F-6CC4-4D86-A8BE-093B77BB2942}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApiWideBasePath.Test", "SeedApiWideBasePath.Test\SeedApiWideBasePath.Test.csproj", "{49399AD2-9980-44A8-8EDE-7D5A918F14A9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D99ECD09-07C2-4B0A-B6DF-D258E1F7CC2C}.Release|Any CPU.Build.0 = Release|Any CPU
- {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4B205E1F-6CC4-4D86-A8BE-093B77BB2942}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1C49D44A-C6E8-4454-9F1C-CA9EE22C70AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1C49D44A-C6E8-4454-9F1C-CA9EE22C70AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1C49D44A-C6E8-4454-9F1C-CA9EE22C70AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1C49D44A-C6E8-4454-9F1C-CA9EE22C70AB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {49399AD2-9980-44A8-8EDE-7D5A918F14A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {49399AD2-9980-44A8-8EDE-7D5A918F14A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {49399AD2-9980-44A8-8EDE-7D5A918F14A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {49399AD2-9980-44A8-8EDE-7D5A918F14A9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/audiences/.github/workflows/ci.yml b/seed/csharp-sdk/audiences/.github/workflows/ci.yml
index f77efefc305..fe6a1399cb4 100644
--- a/seed/csharp-sdk/audiences/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/audiences/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAudiences --no-build --no-restore -c Release
dotnet nuget push src/SeedAudiences/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj
index efb76afe36f..4dc2e6aa9fd 100644
--- a/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj
+++ b/seed/csharp-sdk/audiences/src/SeedAudiences.Test/SeedAudiences.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/audiences/src/SeedAudiences.sln b/seed/csharp-sdk/audiences/src/SeedAudiences.sln
index 31ed6c13487..6516eed57cf 100644
--- a/seed/csharp-sdk/audiences/src/SeedAudiences.sln
+++ b/seed/csharp-sdk/audiences/src/SeedAudiences.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences", "SeedAudiences\SeedAudiences.csproj", "{5D68C4BB-2878-4803-99A0-046BAE14D749}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences", "SeedAudiences\SeedAudiences.csproj", "{7289C67F-15DC-4054-993D-CDC896CF7015}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences.Test", "SeedAudiences.Test\SeedAudiences.Test.csproj", "{736E306C-9A16-4E07-B592-974BEE9D8408}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAudiences.Test", "SeedAudiences.Test\SeedAudiences.Test.csproj", "{FABDAE04-12C1-49D6-B442-3BF7F9361857}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5D68C4BB-2878-4803-99A0-046BAE14D749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5D68C4BB-2878-4803-99A0-046BAE14D749}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5D68C4BB-2878-4803-99A0-046BAE14D749}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5D68C4BB-2878-4803-99A0-046BAE14D749}.Release|Any CPU.Build.0 = Release|Any CPU
- {736E306C-9A16-4E07-B592-974BEE9D8408}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {736E306C-9A16-4E07-B592-974BEE9D8408}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {736E306C-9A16-4E07-B592-974BEE9D8408}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {736E306C-9A16-4E07-B592-974BEE9D8408}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7289C67F-15DC-4054-993D-CDC896CF7015}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7289C67F-15DC-4054-993D-CDC896CF7015}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7289C67F-15DC-4054-993D-CDC896CF7015}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7289C67F-15DC-4054-993D-CDC896CF7015}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FABDAE04-12C1-49D6-B442-3BF7F9361857}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FABDAE04-12C1-49D6-B442-3BF7F9361857}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FABDAE04-12C1-49D6-B442-3BF7F9361857}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FABDAE04-12C1-49D6-B442-3BF7F9361857}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/auth-environment-variables/.github/workflows/ci.yml b/seed/csharp-sdk/auth-environment-variables/.github/workflows/ci.yml
index 5328734c97c..450acb6427d 100644
--- a/seed/csharp-sdk/auth-environment-variables/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/auth-environment-variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedAuthEnvironmentVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedAuthEnvironmentVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj
index 20f810ff4fd..63967e31329 100644
--- a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj
+++ b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.Test/SeedAuthEnvironmentVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln
index 69d1486f418..cb33de12729 100644
--- a/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln
+++ b/seed/csharp-sdk/auth-environment-variables/src/SeedAuthEnvironmentVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables", "SeedAuthEnvironmentVariables\SeedAuthEnvironmentVariables.csproj", "{3DCE712D-E8E8-4980-8B8D-8CE266EA7437}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables", "SeedAuthEnvironmentVariables\SeedAuthEnvironmentVariables.csproj", "{64D9FB55-E0DE-46AA-A581-8502B4BCF6D9}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables.Test", "SeedAuthEnvironmentVariables.Test\SeedAuthEnvironmentVariables.Test.csproj", "{469B60A0-0055-4EB8-8E75-E9A8B7712841}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedAuthEnvironmentVariables.Test", "SeedAuthEnvironmentVariables.Test\SeedAuthEnvironmentVariables.Test.csproj", "{68E9D11E-C2DC-41D1-99C4-2DD5956BBDD8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3DCE712D-E8E8-4980-8B8D-8CE266EA7437}.Release|Any CPU.Build.0 = Release|Any CPU
- {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {469B60A0-0055-4EB8-8E75-E9A8B7712841}.Release|Any CPU.Build.0 = Release|Any CPU
+ {64D9FB55-E0DE-46AA-A581-8502B4BCF6D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {64D9FB55-E0DE-46AA-A581-8502B4BCF6D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {64D9FB55-E0DE-46AA-A581-8502B4BCF6D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {64D9FB55-E0DE-46AA-A581-8502B4BCF6D9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {68E9D11E-C2DC-41D1-99C4-2DD5956BBDD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {68E9D11E-C2DC-41D1-99C4-2DD5956BBDD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {68E9D11E-C2DC-41D1-99C4-2DD5956BBDD8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {68E9D11E-C2DC-41D1-99C4-2DD5956BBDD8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/basic-auth-environment-variables/.github/workflows/ci.yml b/seed/csharp-sdk/basic-auth-environment-variables/.github/workflows/ci.yml
index b3d186a5e1f..35af64e185a 100644
--- a/seed/csharp-sdk/basic-auth-environment-variables/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/basic-auth-environment-variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBasicAuthEnvironmentVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedBasicAuthEnvironmentVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj
index 1c5ab5dcbfd..8053a8f9341 100644
--- a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj
+++ b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.Test/SeedBasicAuthEnvironmentVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln
index 3e2f2e134ee..1f6624e68b3 100644
--- a/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln
+++ b/seed/csharp-sdk/basic-auth-environment-variables/src/SeedBasicAuthEnvironmentVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables", "SeedBasicAuthEnvironmentVariables\SeedBasicAuthEnvironmentVariables.csproj", "{8816B054-1391-4BFE-8829-4FF262A99369}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables", "SeedBasicAuthEnvironmentVariables\SeedBasicAuthEnvironmentVariables.csproj", "{C4159809-4D11-4432-826D-0289EA1FC1C4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables.Test", "SeedBasicAuthEnvironmentVariables.Test\SeedBasicAuthEnvironmentVariables.Test.csproj", "{8291080C-D6BD-496C-B973-AE9388DB6686}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuthEnvironmentVariables.Test", "SeedBasicAuthEnvironmentVariables.Test\SeedBasicAuthEnvironmentVariables.Test.csproj", "{2BB06AAF-37B7-43AD-B571-0A1301BC70D2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {8816B054-1391-4BFE-8829-4FF262A99369}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8816B054-1391-4BFE-8829-4FF262A99369}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8816B054-1391-4BFE-8829-4FF262A99369}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8816B054-1391-4BFE-8829-4FF262A99369}.Release|Any CPU.Build.0 = Release|Any CPU
- {8291080C-D6BD-496C-B973-AE9388DB6686}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8291080C-D6BD-496C-B973-AE9388DB6686}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8291080C-D6BD-496C-B973-AE9388DB6686}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8291080C-D6BD-496C-B973-AE9388DB6686}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C4159809-4D11-4432-826D-0289EA1FC1C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C4159809-4D11-4432-826D-0289EA1FC1C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C4159809-4D11-4432-826D-0289EA1FC1C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C4159809-4D11-4432-826D-0289EA1FC1C4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2BB06AAF-37B7-43AD-B571-0A1301BC70D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2BB06AAF-37B7-43AD-B571-0A1301BC70D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2BB06AAF-37B7-43AD-B571-0A1301BC70D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2BB06AAF-37B7-43AD-B571-0A1301BC70D2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/basic-auth/.github/workflows/ci.yml b/seed/csharp-sdk/basic-auth/.github/workflows/ci.yml
index fba2a1ba991..3d1a74f6238 100644
--- a/seed/csharp-sdk/basic-auth/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/basic-auth/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBasicAuth --no-build --no-restore -c Release
dotnet nuget push src/SeedBasicAuth/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj
index 33244ffe96a..713c85dae3c 100644
--- a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj
+++ b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.Test/SeedBasicAuth.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.sln b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.sln
index 1b2fa85f8f6..5ec7f14d312 100644
--- a/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.sln
+++ b/seed/csharp-sdk/basic-auth/src/SeedBasicAuth.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth", "SeedBasicAuth\SeedBasicAuth.csproj", "{7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth", "SeedBasicAuth\SeedBasicAuth.csproj", "{A8E66095-7B4A-48DF-984D-43F5F88EE074}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth.Test", "SeedBasicAuth.Test\SeedBasicAuth.Test.csproj", "{67A6697D-FBD0-46C6-88B7-2781D5D403AD}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBasicAuth.Test", "SeedBasicAuth.Test\SeedBasicAuth.Test.csproj", "{784FF5D3-720B-4054-AC2A-D582B3542534}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7F3B2C7F-C6F5-4A41-B50F-D43855CF8CE1}.Release|Any CPU.Build.0 = Release|Any CPU
- {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {67A6697D-FBD0-46C6-88B7-2781D5D403AD}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A8E66095-7B4A-48DF-984D-43F5F88EE074}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A8E66095-7B4A-48DF-984D-43F5F88EE074}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A8E66095-7B4A-48DF-984D-43F5F88EE074}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A8E66095-7B4A-48DF-984D-43F5F88EE074}.Release|Any CPU.Build.0 = Release|Any CPU
+ {784FF5D3-720B-4054-AC2A-D582B3542534}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {784FF5D3-720B-4054-AC2A-D582B3542534}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {784FF5D3-720B-4054-AC2A-D582B3542534}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {784FF5D3-720B-4054-AC2A-D582B3542534}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/bearer-token-environment-variable/.github/workflows/ci.yml b/seed/csharp-sdk/bearer-token-environment-variable/.github/workflows/ci.yml
index cab5f0c4ac3..89890eb4b97 100644
--- a/seed/csharp-sdk/bearer-token-environment-variable/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/bearer-token-environment-variable/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBearerTokenEnvironmentVariable --no-build --no-restore -c Release
dotnet nuget push src/SeedBearerTokenEnvironmentVariable/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj
index c66ac7c4081..bff1ec52cda 100644
--- a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj
+++ b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.Test/SeedBearerTokenEnvironmentVariable.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln
index e8f3334f64e..b919d6df151 100644
--- a/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln
+++ b/seed/csharp-sdk/bearer-token-environment-variable/src/SeedBearerTokenEnvironmentVariable.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable", "SeedBearerTokenEnvironmentVariable\SeedBearerTokenEnvironmentVariable.csproj", "{F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable", "SeedBearerTokenEnvironmentVariable\SeedBearerTokenEnvironmentVariable.csproj", "{0CEABC52-AAC9-415E-9E78-7849CBFA66AE}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable.Test", "SeedBearerTokenEnvironmentVariable.Test\SeedBearerTokenEnvironmentVariable.Test.csproj", "{45954C78-A122-4103-B28C-734906C81670}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBearerTokenEnvironmentVariable.Test", "SeedBearerTokenEnvironmentVariable.Test\SeedBearerTokenEnvironmentVariable.Test.csproj", "{7750D021-3A96-4FD6-A48D-400E79110206}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F4D7F478-7E69-4CD1-AE82-DB2FA82EE82D}.Release|Any CPU.Build.0 = Release|Any CPU
- {45954C78-A122-4103-B28C-734906C81670}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {45954C78-A122-4103-B28C-734906C81670}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {45954C78-A122-4103-B28C-734906C81670}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {45954C78-A122-4103-B28C-734906C81670}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0CEABC52-AAC9-415E-9E78-7849CBFA66AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0CEABC52-AAC9-415E-9E78-7849CBFA66AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0CEABC52-AAC9-415E-9E78-7849CBFA66AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0CEABC52-AAC9-415E-9E78-7849CBFA66AE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7750D021-3A96-4FD6-A48D-400E79110206}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7750D021-3A96-4FD6-A48D-400E79110206}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7750D021-3A96-4FD6-A48D-400E79110206}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7750D021-3A96-4FD6-A48D-400E79110206}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/bytes/.github/workflows/ci.yml b/seed/csharp-sdk/bytes/.github/workflows/ci.yml
index 40ff011f6e0..9cad38b7656 100644
--- a/seed/csharp-sdk/bytes/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/bytes/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedBytes --no-build --no-restore -c Release
dotnet nuget push src/SeedBytes/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj b/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj
index 40490560dbd..588580d0066 100644
--- a/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj
+++ b/seed/csharp-sdk/bytes/src/SeedBytes.Test/SeedBytes.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/bytes/src/SeedBytes.sln b/seed/csharp-sdk/bytes/src/SeedBytes.sln
index b6e6176900a..e9e1a845853 100644
--- a/seed/csharp-sdk/bytes/src/SeedBytes.sln
+++ b/seed/csharp-sdk/bytes/src/SeedBytes.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes", "SeedBytes\SeedBytes.csproj", "{51834093-D04C-4902-B445-EFA4FAF8B667}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes", "SeedBytes\SeedBytes.csproj", "{30028500-8720-4FEE-A69B-3D7A4263E5DA}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes.Test", "SeedBytes.Test\SeedBytes.Test.csproj", "{37A341E2-4583-4A58-858E-A4E4CBC0993C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedBytes.Test", "SeedBytes.Test\SeedBytes.Test.csproj", "{5F511E53-D3C7-4A26-96FF-8CBF90F678EE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {51834093-D04C-4902-B445-EFA4FAF8B667}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {51834093-D04C-4902-B445-EFA4FAF8B667}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {51834093-D04C-4902-B445-EFA4FAF8B667}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {51834093-D04C-4902-B445-EFA4FAF8B667}.Release|Any CPU.Build.0 = Release|Any CPU
- {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {37A341E2-4583-4A58-858E-A4E4CBC0993C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {30028500-8720-4FEE-A69B-3D7A4263E5DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {30028500-8720-4FEE-A69B-3D7A4263E5DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {30028500-8720-4FEE-A69B-3D7A4263E5DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {30028500-8720-4FEE-A69B-3D7A4263E5DA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5F511E53-D3C7-4A26-96FF-8CBF90F678EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5F511E53-D3C7-4A26-96FF-8CBF90F678EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5F511E53-D3C7-4A26-96FF-8CBF90F678EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5F511E53-D3C7-4A26-96FF-8CBF90F678EE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/circular-references-advanced/.github/workflows/ci.yml b/seed/csharp-sdk/circular-references-advanced/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/circular-references-advanced/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/circular-references-advanced/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.sln b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.sln
index 4269dfcbb23..de5f982b029 100644
--- a/seed/csharp-sdk/circular-references-advanced/src/SeedApi.sln
+++ b/seed/csharp-sdk/circular-references-advanced/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{41565371-8E34-4D4F-8297-FB6929830513}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{98C27C2B-99A5-4417-8C0A-CF2036845600}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{12F846F9-9434-4FE5-9CD6-108A53E54987}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{CBBE56D8-29AF-4166-AC23-0C2CC217858B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {41565371-8E34-4D4F-8297-FB6929830513}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {41565371-8E34-4D4F-8297-FB6929830513}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {41565371-8E34-4D4F-8297-FB6929830513}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {41565371-8E34-4D4F-8297-FB6929830513}.Release|Any CPU.Build.0 = Release|Any CPU
- {12F846F9-9434-4FE5-9CD6-108A53E54987}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {12F846F9-9434-4FE5-9CD6-108A53E54987}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {12F846F9-9434-4FE5-9CD6-108A53E54987}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {12F846F9-9434-4FE5-9CD6-108A53E54987}.Release|Any CPU.Build.0 = Release|Any CPU
+ {98C27C2B-99A5-4417-8C0A-CF2036845600}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {98C27C2B-99A5-4417-8C0A-CF2036845600}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {98C27C2B-99A5-4417-8C0A-CF2036845600}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {98C27C2B-99A5-4417-8C0A-CF2036845600}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CBBE56D8-29AF-4166-AC23-0C2CC217858B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CBBE56D8-29AF-4166-AC23-0C2CC217858B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CBBE56D8-29AF-4166-AC23-0C2CC217858B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CBBE56D8-29AF-4166-AC23-0C2CC217858B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/circular-references/.github/workflows/ci.yml b/seed/csharp-sdk/circular-references/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/circular-references/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/circular-references/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/circular-references/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/circular-references/src/SeedApi.sln b/seed/csharp-sdk/circular-references/src/SeedApi.sln
index 3bce22b0a8f..615a61648fc 100644
--- a/seed/csharp-sdk/circular-references/src/SeedApi.sln
+++ b/seed/csharp-sdk/circular-references/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{F4310A92-4AC4-49D1-AF38-79D26371EE1B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{227D0FAE-AF79-4B58-B17B-2A022E1E4B91}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{E18830F6-4B09-4717-94D0-7D52F22AB204}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{217B5F49-63C3-4D3E-8B91-BA5072E068AB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F4310A92-4AC4-49D1-AF38-79D26371EE1B}.Release|Any CPU.Build.0 = Release|Any CPU
- {E18830F6-4B09-4717-94D0-7D52F22AB204}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E18830F6-4B09-4717-94D0-7D52F22AB204}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E18830F6-4B09-4717-94D0-7D52F22AB204}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E18830F6-4B09-4717-94D0-7D52F22AB204}.Release|Any CPU.Build.0 = Release|Any CPU
+ {227D0FAE-AF79-4B58-B17B-2A022E1E4B91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {227D0FAE-AF79-4B58-B17B-2A022E1E4B91}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {227D0FAE-AF79-4B58-B17B-2A022E1E4B91}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {227D0FAE-AF79-4B58-B17B-2A022E1E4B91}.Release|Any CPU.Build.0 = Release|Any CPU
+ {217B5F49-63C3-4D3E-8B91-BA5072E068AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {217B5F49-63C3-4D3E-8B91-BA5072E068AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {217B5F49-63C3-4D3E-8B91-BA5072E068AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {217B5F49-63C3-4D3E-8B91-BA5072E068AB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/cross-package-type-names/.github/workflows/ci.yml b/seed/csharp-sdk/cross-package-type-names/.github/workflows/ci.yml
index 614f312532c..45ff842fbaa 100644
--- a/seed/csharp-sdk/cross-package-type-names/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/cross-package-type-names/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedCrossPackageTypeNames --no-build --no-restore -c Release
dotnet nuget push src/SeedCrossPackageTypeNames/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj
index 7b7fe7b3690..2601655391b 100644
--- a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj
+++ b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.Test/SeedCrossPackageTypeNames.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.sln b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.sln
index b6c0efd44ea..92811614479 100644
--- a/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.sln
+++ b/seed/csharp-sdk/cross-package-type-names/src/SeedCrossPackageTypeNames.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames", "SeedCrossPackageTypeNames\SeedCrossPackageTypeNames.csproj", "{11BFA751-0AE0-43A3-91C4-D0F4001496E1}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames", "SeedCrossPackageTypeNames\SeedCrossPackageTypeNames.csproj", "{4FD4B297-BE4B-4B77-9A81-1072F53FDE50}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames.Test", "SeedCrossPackageTypeNames.Test\SeedCrossPackageTypeNames.Test.csproj", "{989E53E1-E859-425C-A01C-FEF4FDBF92C4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCrossPackageTypeNames.Test", "SeedCrossPackageTypeNames.Test\SeedCrossPackageTypeNames.Test.csproj", "{447673CF-B93B-473E-8120-57C6398F4781}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {11BFA751-0AE0-43A3-91C4-D0F4001496E1}.Release|Any CPU.Build.0 = Release|Any CPU
- {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {989E53E1-E859-425C-A01C-FEF4FDBF92C4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4FD4B297-BE4B-4B77-9A81-1072F53FDE50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4FD4B297-BE4B-4B77-9A81-1072F53FDE50}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4FD4B297-BE4B-4B77-9A81-1072F53FDE50}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4FD4B297-BE4B-4B77-9A81-1072F53FDE50}.Release|Any CPU.Build.0 = Release|Any CPU
+ {447673CF-B93B-473E-8120-57C6398F4781}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {447673CF-B93B-473E-8120-57C6398F4781}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {447673CF-B93B-473E-8120-57C6398F4781}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {447673CF-B93B-473E-8120-57C6398F4781}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.sln b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.sln
index 8f1910f1d9e..69f6e2159b1 100644
--- a/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.sln
+++ b/seed/csharp-sdk/csharp-grpc-proto-exhaustive/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{23086100-6515-4196-8B16-21034A67478F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{EF637392-8C79-48BA-916E-B42C68EFDCE7}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{46505406-F398-45CF-A3E6-FB8BE9C97E50}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {23086100-6515-4196-8B16-21034A67478F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {23086100-6515-4196-8B16-21034A67478F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {23086100-6515-4196-8B16-21034A67478F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {23086100-6515-4196-8B16-21034A67478F}.Release|Any CPU.Build.0 = Release|Any CPU
- {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2BD633D3-7E76-4699-BF3C-FEF2187FDBF9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EF637392-8C79-48BA-916E-B42C68EFDCE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EF637392-8C79-48BA-916E-B42C68EFDCE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EF637392-8C79-48BA-916E-B42C68EFDCE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EF637392-8C79-48BA-916E-B42C68EFDCE7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {46505406-F398-45CF-A3E6-FB8BE9C97E50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {46505406-F398-45CF-A3E6-FB8BE9C97E50}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {46505406-F398-45CF-A3E6-FB8BE9C97E50}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {46505406-F398-45CF-A3E6-FB8BE9C97E50}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/csharp-grpc-proto/.github/workflows/ci.yml b/seed/csharp-sdk/csharp-grpc-proto/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/csharp-grpc-proto/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/csharp-grpc-proto/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.sln b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.sln
index 40efd2d8945..14a16164160 100644
--- a/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.sln
+++ b/seed/csharp-sdk/csharp-grpc-proto/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{153C27CF-2E6B-4FBB-A9EB-B1CB03601924}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{64B7FF9D-43B8-43A2-900E-130C069A7E59}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{775C5F9A-236E-4509-8C92-557D53D87035}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{2F36E060-5AAC-4B68-A2BB-C1CE1E329C16}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {153C27CF-2E6B-4FBB-A9EB-B1CB03601924}.Release|Any CPU.Build.0 = Release|Any CPU
- {775C5F9A-236E-4509-8C92-557D53D87035}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {775C5F9A-236E-4509-8C92-557D53D87035}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {775C5F9A-236E-4509-8C92-557D53D87035}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {775C5F9A-236E-4509-8C92-557D53D87035}.Release|Any CPU.Build.0 = Release|Any CPU
+ {64B7FF9D-43B8-43A2-900E-130C069A7E59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {64B7FF9D-43B8-43A2-900E-130C069A7E59}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {64B7FF9D-43B8-43A2-900E-130C069A7E59}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {64B7FF9D-43B8-43A2-900E-130C069A7E59}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2F36E060-5AAC-4B68-A2BB-C1CE1E329C16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2F36E060-5AAC-4B68-A2BB-C1CE1E329C16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2F36E060-5AAC-4B68-A2BB-C1CE1E329C16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2F36E060-5AAC-4B68-A2BB-C1CE1E329C16}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/csharp-namespace-conflict/.github/workflows/ci.yml b/seed/csharp-sdk/csharp-namespace-conflict/.github/workflows/ci.yml
index 04fb7b48275..def7ccdcb5e 100644
--- a/seed/csharp-sdk/csharp-namespace-conflict/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/csharp-namespace-conflict/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedCsharpNamespaceConflict --no-build --no-restore -c Release
dotnet nuget push src/SeedCsharpNamespaceConflict/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj
index 653ea9acc8e..07eaa6b3d15 100644
--- a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj
+++ b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.Test/SeedCsharpNamespaceConflict.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln
index 91a884906bc..96da158daa9 100644
--- a/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln
+++ b/seed/csharp-sdk/csharp-namespace-conflict/src/SeedCsharpNamespaceConflict.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict", "SeedCsharpNamespaceConflict\SeedCsharpNamespaceConflict.csproj", "{32FD109B-D546-4251-8E36-053D24DD6407}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict", "SeedCsharpNamespaceConflict\SeedCsharpNamespaceConflict.csproj", "{F3106208-A04F-406C-885B-9BC08574A012}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict.Test", "SeedCsharpNamespaceConflict.Test\SeedCsharpNamespaceConflict.Test.csproj", "{74CDC0DC-3A4F-4694-A458-64DE7C037198}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCsharpNamespaceConflict.Test", "SeedCsharpNamespaceConflict.Test\SeedCsharpNamespaceConflict.Test.csproj", "{4F35598B-8F9E-46AC-B16F-0752A47A7B0A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {32FD109B-D546-4251-8E36-053D24DD6407}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {32FD109B-D546-4251-8E36-053D24DD6407}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {32FD109B-D546-4251-8E36-053D24DD6407}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {32FD109B-D546-4251-8E36-053D24DD6407}.Release|Any CPU.Build.0 = Release|Any CPU
- {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {74CDC0DC-3A4F-4694-A458-64DE7C037198}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F3106208-A04F-406C-885B-9BC08574A012}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F3106208-A04F-406C-885B-9BC08574A012}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F3106208-A04F-406C-885B-9BC08574A012}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F3106208-A04F-406C-885B-9BC08574A012}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4F35598B-8F9E-46AC-B16F-0752A47A7B0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4F35598B-8F9E-46AC-B16F-0752A47A7B0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4F35598B-8F9E-46AC-B16F-0752A47A7B0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4F35598B-8F9E-46AC-B16F-0752A47A7B0A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/custom-auth/.github/workflows/ci.yml b/seed/csharp-sdk/custom-auth/.github/workflows/ci.yml
index 585de470c45..ba61f590381 100644
--- a/seed/csharp-sdk/custom-auth/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/custom-auth/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedCustomAuth --no-build --no-restore -c Release
dotnet nuget push src/SeedCustomAuth/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj
index 1138d192410..0bd30cb0b56 100644
--- a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj
+++ b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.Test/SeedCustomAuth.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.sln b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.sln
index 807deca2ccc..4374c18ec87 100644
--- a/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.sln
+++ b/seed/csharp-sdk/custom-auth/src/SeedCustomAuth.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth", "SeedCustomAuth\SeedCustomAuth.csproj", "{9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth", "SeedCustomAuth\SeedCustomAuth.csproj", "{518486D5-EB30-4D09-8250-378CBA7ABCE4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth.Test", "SeedCustomAuth.Test\SeedCustomAuth.Test.csproj", "{79EEA28D-7051-4054-A083-7C833BB3C1BF}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedCustomAuth.Test", "SeedCustomAuth.Test\SeedCustomAuth.Test.csproj", "{F46E020E-5B86-4461-BF5D-71092C72C505}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9F281AFD-0EE3-40C7-94D2-7CC14E7F687C}.Release|Any CPU.Build.0 = Release|Any CPU
- {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {79EEA28D-7051-4054-A083-7C833BB3C1BF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {518486D5-EB30-4D09-8250-378CBA7ABCE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {518486D5-EB30-4D09-8250-378CBA7ABCE4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {518486D5-EB30-4D09-8250-378CBA7ABCE4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {518486D5-EB30-4D09-8250-378CBA7ABCE4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F46E020E-5B86-4461-BF5D-71092C72C505}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F46E020E-5B86-4461-BF5D-71092C72C505}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F46E020E-5B86-4461-BF5D-71092C72C505}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F46E020E-5B86-4461-BF5D-71092C72C505}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/.github/workflows/ci.yml b/seed/csharp-sdk/enum/forward-compatible-enums/.github/workflows/ci.yml
index 93b0b62c5cb..b3658e2d252 100644
--- a/seed/csharp-sdk/enum/forward-compatible-enums/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/enum/forward-compatible-enums/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedEnum --no-build --no-restore -c Release
dotnet nuget push src/SeedEnum/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
index d6faf892575..956e59cf3da 100644
--- a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
+++ b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.sln b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.sln
index 0ee001ac72f..d9148ef622c 100644
--- a/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.sln
+++ b/seed/csharp-sdk/enum/forward-compatible-enums/src/SeedEnum.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{3B18E52F-E22F-4861-BE31-DBDDB57A447A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{9ADB44DC-9000-4C2F-9FC5-7126E8C148C4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{F5983278-F802-461F-8625-CA36D8E1E077}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{96047551-53FE-4FD9-8E9D-BCAC39D022E4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3B18E52F-E22F-4861-BE31-DBDDB57A447A}.Release|Any CPU.Build.0 = Release|Any CPU
- {F5983278-F802-461F-8625-CA36D8E1E077}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F5983278-F802-461F-8625-CA36D8E1E077}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F5983278-F802-461F-8625-CA36D8E1E077}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F5983278-F802-461F-8625-CA36D8E1E077}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9ADB44DC-9000-4C2F-9FC5-7126E8C148C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9ADB44DC-9000-4C2F-9FC5-7126E8C148C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9ADB44DC-9000-4C2F-9FC5-7126E8C148C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9ADB44DC-9000-4C2F-9FC5-7126E8C148C4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {96047551-53FE-4FD9-8E9D-BCAC39D022E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {96047551-53FE-4FD9-8E9D-BCAC39D022E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {96047551-53FE-4FD9-8E9D-BCAC39D022E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {96047551-53FE-4FD9-8E9D-BCAC39D022E4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/enum/plain-enums/.github/workflows/ci.yml b/seed/csharp-sdk/enum/plain-enums/.github/workflows/ci.yml
index 93b0b62c5cb..b3658e2d252 100644
--- a/seed/csharp-sdk/enum/plain-enums/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/enum/plain-enums/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedEnum --no-build --no-restore -c Release
dotnet nuget push src/SeedEnum/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
index d6faf892575..956e59cf3da 100644
--- a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
+++ b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.Test/SeedEnum.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.sln b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.sln
index e1579593238..3228f2628f9 100644
--- a/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.sln
+++ b/seed/csharp-sdk/enum/plain-enums/src/SeedEnum.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{5055C1DB-AB10-4F88-BA46-1FD9C1D21160}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum", "SeedEnum\SeedEnum.csproj", "{E49F812D-486C-41DE-BD92-68A5A125872E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedEnum.Test", "SeedEnum.Test\SeedEnum.Test.csproj", "{56B86AE7-F544-4598-800E-444034EB36CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5055C1DB-AB10-4F88-BA46-1FD9C1D21160}.Release|Any CPU.Build.0 = Release|Any CPU
- {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BD32EEBC-C4DC-4B7F-ACC5-753E6E4576F6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E49F812D-486C-41DE-BD92-68A5A125872E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E49F812D-486C-41DE-BD92-68A5A125872E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E49F812D-486C-41DE-BD92-68A5A125872E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E49F812D-486C-41DE-BD92-68A5A125872E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {56B86AE7-F544-4598-800E-444034EB36CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {56B86AE7-F544-4598-800E-444034EB36CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {56B86AE7-F544-4598-800E-444034EB36CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {56B86AE7-F544-4598-800E-444034EB36CA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/error-property/.github/workflows/ci.yml b/seed/csharp-sdk/error-property/.github/workflows/ci.yml
index c4310403e6f..b3d2c947a54 100644
--- a/seed/csharp-sdk/error-property/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/error-property/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedErrorProperty --no-build --no-restore -c Release
dotnet nuget push src/SeedErrorProperty/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj
index 0afa998e413..f1d21a1c016 100644
--- a/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj
+++ b/seed/csharp-sdk/error-property/src/SeedErrorProperty.Test/SeedErrorProperty.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/error-property/src/SeedErrorProperty.sln b/seed/csharp-sdk/error-property/src/SeedErrorProperty.sln
index c27c344178a..2b09128c236 100644
--- a/seed/csharp-sdk/error-property/src/SeedErrorProperty.sln
+++ b/seed/csharp-sdk/error-property/src/SeedErrorProperty.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty", "SeedErrorProperty\SeedErrorProperty.csproj", "{769E0182-D360-42ED-8D2F-DA4C4733774A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty", "SeedErrorProperty\SeedErrorProperty.csproj", "{DC8AFD3B-3961-485E-A1E8-9CDA1D389FC4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty.Test", "SeedErrorProperty.Test\SeedErrorProperty.Test.csproj", "{E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedErrorProperty.Test", "SeedErrorProperty.Test\SeedErrorProperty.Test.csproj", "{FEC85E7B-FA7C-44DB-80F4-865C1192CAA7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {769E0182-D360-42ED-8D2F-DA4C4733774A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {769E0182-D360-42ED-8D2F-DA4C4733774A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {769E0182-D360-42ED-8D2F-DA4C4733774A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {769E0182-D360-42ED-8D2F-DA4C4733774A}.Release|Any CPU.Build.0 = Release|Any CPU
- {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E249FB56-AF5D-4AF5-A499-566A4FF4A3DE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DC8AFD3B-3961-485E-A1E8-9CDA1D389FC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DC8AFD3B-3961-485E-A1E8-9CDA1D389FC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DC8AFD3B-3961-485E-A1E8-9CDA1D389FC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DC8AFD3B-3961-485E-A1E8-9CDA1D389FC4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FEC85E7B-FA7C-44DB-80F4-865C1192CAA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FEC85E7B-FA7C-44DB-80F4-865C1192CAA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FEC85E7B-FA7C-44DB-80F4-865C1192CAA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FEC85E7B-FA7C-44DB-80F4-865C1192CAA7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/examples/no-custom-config/.github/workflows/ci.yml b/seed/csharp-sdk/examples/no-custom-config/.github/workflows/ci.yml
index 94bf9667b74..21a051ead69 100644
--- a/seed/csharp-sdk/examples/no-custom-config/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/examples/no-custom-config/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExamples --no-build --no-restore -c Release
dotnet nuget push src/SeedExamples/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj
index dbba8aeb890..c70f3450b69 100644
--- a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj
+++ b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.Test/SeedExamples.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.sln b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.sln
index 1978a3ada4b..8145a9ef66f 100644
--- a/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.sln
+++ b/seed/csharp-sdk/examples/no-custom-config/src/SeedExamples.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{732AA9DF-4C01-4225-B88A-4500074EEF02}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{C9406C29-21EB-43C3-9C28-FDCFC88045DD}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{35143FD6-D6E7-4D07-9DBA-2842CE2AB66A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {732AA9DF-4C01-4225-B88A-4500074EEF02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {732AA9DF-4C01-4225-B88A-4500074EEF02}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {732AA9DF-4C01-4225-B88A-4500074EEF02}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {732AA9DF-4C01-4225-B88A-4500074EEF02}.Release|Any CPU.Build.0 = Release|Any CPU
- {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5CDE58F8-BA22-41C7-991F-AC002DCF8DAB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C9406C29-21EB-43C3-9C28-FDCFC88045DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C9406C29-21EB-43C3-9C28-FDCFC88045DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C9406C29-21EB-43C3-9C28-FDCFC88045DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C9406C29-21EB-43C3-9C28-FDCFC88045DD}.Release|Any CPU.Build.0 = Release|Any CPU
+ {35143FD6-D6E7-4D07-9DBA-2842CE2AB66A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {35143FD6-D6E7-4D07-9DBA-2842CE2AB66A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {35143FD6-D6E7-4D07-9DBA-2842CE2AB66A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {35143FD6-D6E7-4D07-9DBA-2842CE2AB66A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/examples/readme-config/.github/workflows/ci.yml b/seed/csharp-sdk/examples/readme-config/.github/workflows/ci.yml
index 94bf9667b74..21a051ead69 100644
--- a/seed/csharp-sdk/examples/readme-config/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/examples/readme-config/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExamples --no-build --no-restore -c Release
dotnet nuget push src/SeedExamples/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj
index dbba8aeb890..c70f3450b69 100644
--- a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj
+++ b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.Test/SeedExamples.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.sln b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.sln
index e9c2507c070..c2e789b3920 100644
--- a/seed/csharp-sdk/examples/readme-config/src/SeedExamples.sln
+++ b/seed/csharp-sdk/examples/readme-config/src/SeedExamples.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{AAFBC544-7E3D-49C9-A259-FFC208B3D398}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples", "SeedExamples\SeedExamples.csproj", "{69BBD06A-9B01-4726-9AA1-B22F05B6E167}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{A5F5C628-A3E1-48B5-B103-6CC7F6A06635}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExamples.Test", "SeedExamples.Test\SeedExamples.Test.csproj", "{F9211E97-A085-4E83-856A-E4102FB21E5B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AAFBC544-7E3D-49C9-A259-FFC208B3D398}.Release|Any CPU.Build.0 = Release|Any CPU
- {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A5F5C628-A3E1-48B5-B103-6CC7F6A06635}.Release|Any CPU.Build.0 = Release|Any CPU
+ {69BBD06A-9B01-4726-9AA1-B22F05B6E167}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {69BBD06A-9B01-4726-9AA1-B22F05B6E167}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {69BBD06A-9B01-4726-9AA1-B22F05B6E167}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {69BBD06A-9B01-4726-9AA1-B22F05B6E167}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F9211E97-A085-4E83-856A-E4102FB21E5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F9211E97-A085-4E83-856A-E4102FB21E5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F9211E97-A085-4E83-856A-E4102FB21E5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F9211E97-A085-4E83-856A-E4102FB21E5B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/.github/workflows/ci.yml b/seed/csharp-sdk/exhaustive/explicit-namespaces/.github/workflows/ci.yml
index f57a57e3b37..a64072390fc 100644
--- a/seed/csharp-sdk/exhaustive/explicit-namespaces/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExhaustive --no-build --no-restore -c Release
dotnet nuget push src/SeedExhaustive/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
index cc628bfe61c..8d7336d4a48 100644
--- a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
+++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.sln b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.sln
index 96a4273789b..bf9285ca94b 100644
--- a/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.sln
+++ b/seed/csharp-sdk/exhaustive/explicit-namespaces/src/SeedExhaustive.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{064477CB-3E62-4EBC-9AA0-914FF46059FB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{47FAB3D5-CC40-4618-87FC-CD5C730DEA07}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{0890D69E-197E-4691-B1F5-39405824BA85}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{7BFD66F1-4A35-4AFC-8FEB-F04B2709A707}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {064477CB-3E62-4EBC-9AA0-914FF46059FB}.Release|Any CPU.Build.0 = Release|Any CPU
- {0890D69E-197E-4691-B1F5-39405824BA85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0890D69E-197E-4691-B1F5-39405824BA85}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0890D69E-197E-4691-B1F5-39405824BA85}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0890D69E-197E-4691-B1F5-39405824BA85}.Release|Any CPU.Build.0 = Release|Any CPU
+ {47FAB3D5-CC40-4618-87FC-CD5C730DEA07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {47FAB3D5-CC40-4618-87FC-CD5C730DEA07}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {47FAB3D5-CC40-4618-87FC-CD5C730DEA07}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {47FAB3D5-CC40-4618-87FC-CD5C730DEA07}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7BFD66F1-4A35-4AFC-8FEB-F04B2709A707}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7BFD66F1-4A35-4AFC-8FEB-F04B2709A707}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7BFD66F1-4A35-4AFC-8FEB-F04B2709A707}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7BFD66F1-4A35-4AFC-8FEB-F04B2709A707}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/.github/workflows/ci.yml b/seed/csharp-sdk/exhaustive/no-generate-error-types/.github/workflows/ci.yml
index f57a57e3b37..a64072390fc 100644
--- a/seed/csharp-sdk/exhaustive/no-generate-error-types/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExhaustive --no-build --no-restore -c Release
dotnet nuget push src/SeedExhaustive/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
index cc628bfe61c..8d7336d4a48 100644
--- a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
+++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.sln b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.sln
index 04eced60f12..598ca6b85c0 100644
--- a/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.sln
+++ b/seed/csharp-sdk/exhaustive/no-generate-error-types/src/SeedExhaustive.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{74CF4D2F-7503-47EB-AC4A-75EDE80488E6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{A0823A4C-5BC2-4526-A340-60E82D9CC9F8}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{9D825F7B-31CA-4BB5-88F0-390E48206AA9}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{512263E4-762C-4C19-8A96-D3EF5D49E9D8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {74CF4D2F-7503-47EB-AC4A-75EDE80488E6}.Release|Any CPU.Build.0 = Release|Any CPU
- {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9D825F7B-31CA-4BB5-88F0-390E48206AA9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A0823A4C-5BC2-4526-A340-60E82D9CC9F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A0823A4C-5BC2-4526-A340-60E82D9CC9F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A0823A4C-5BC2-4526-A340-60E82D9CC9F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A0823A4C-5BC2-4526-A340-60E82D9CC9F8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {512263E4-762C-4C19-8A96-D3EF5D49E9D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {512263E4-762C-4C19-8A96-D3EF5D49E9D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {512263E4-762C-4C19-8A96-D3EF5D49E9D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {512263E4-762C-4C19-8A96-D3EF5D49E9D8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/.github/workflows/ci.yml b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/.github/workflows/ci.yml
index f57a57e3b37..a64072390fc 100644
--- a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExhaustive --no-build --no-restore -c Release
dotnet nuget push src/SeedExhaustive/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
index cc628bfe61c..8d7336d4a48 100644
--- a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
+++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.Test/SeedExhaustive.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.sln b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.sln
index 998b00e03d8..171a78e74a3 100644
--- a/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.sln
+++ b/seed/csharp-sdk/exhaustive/no-root-namespace-for-core-classes/src/SeedExhaustive.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive", "SeedExhaustive\SeedExhaustive.csproj", "{DDA68766-488F-44F3-B557-3568C379EF1E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{3AF88E47-A07E-4912-B468-52A858509D82}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExhaustive.Test", "SeedExhaustive.Test\SeedExhaustive.Test.csproj", "{2F04CD3A-7518-4F6D-87E9-7D8CB0346B89}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7E1588CB-BC41-4AC6-AE0D-D072F64DD6CA}.Release|Any CPU.Build.0 = Release|Any CPU
- {3AF88E47-A07E-4912-B468-52A858509D82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3AF88E47-A07E-4912-B468-52A858509D82}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3AF88E47-A07E-4912-B468-52A858509D82}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3AF88E47-A07E-4912-B468-52A858509D82}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DDA68766-488F-44F3-B557-3568C379EF1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DDA68766-488F-44F3-B557-3568C379EF1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DDA68766-488F-44F3-B557-3568C379EF1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DDA68766-488F-44F3-B557-3568C379EF1E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2F04CD3A-7518-4F6D-87E9-7D8CB0346B89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2F04CD3A-7518-4F6D-87E9-7D8CB0346B89}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2F04CD3A-7518-4F6D-87E9-7D8CB0346B89}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2F04CD3A-7518-4F6D-87E9-7D8CB0346B89}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/extends/.github/workflows/ci.yml b/seed/csharp-sdk/extends/.github/workflows/ci.yml
index 483737e786b..2e9b3726064 100644
--- a/seed/csharp-sdk/extends/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/extends/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExtends --no-build --no-restore -c Release
dotnet nuget push src/SeedExtends/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj b/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj
index b460424eab6..b50dbcc0334 100644
--- a/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj
+++ b/seed/csharp-sdk/extends/src/SeedExtends.Test/SeedExtends.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/extends/src/SeedExtends.sln b/seed/csharp-sdk/extends/src/SeedExtends.sln
index 3c2cff7ba2a..5fd0ea0843d 100644
--- a/seed/csharp-sdk/extends/src/SeedExtends.sln
+++ b/seed/csharp-sdk/extends/src/SeedExtends.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends", "SeedExtends\SeedExtends.csproj", "{3CD221B7-7324-47A6-BF4E-11CA297C5DA0}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends", "SeedExtends\SeedExtends.csproj", "{ABA6D654-6E2E-4D8E-A18D-26380A00A7E0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends.Test", "SeedExtends.Test\SeedExtends.Test.csproj", "{1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtends.Test", "SeedExtends.Test\SeedExtends.Test.csproj", "{755DF2AC-D4B3-4456-B653-B582FC4962E1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3CD221B7-7324-47A6-BF4E-11CA297C5DA0}.Release|Any CPU.Build.0 = Release|Any CPU
- {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1FB58C9E-30DA-42E5-AC07-E09B2ABCC57C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ABA6D654-6E2E-4D8E-A18D-26380A00A7E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ABA6D654-6E2E-4D8E-A18D-26380A00A7E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ABA6D654-6E2E-4D8E-A18D-26380A00A7E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ABA6D654-6E2E-4D8E-A18D-26380A00A7E0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {755DF2AC-D4B3-4456-B653-B582FC4962E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {755DF2AC-D4B3-4456-B653-B582FC4962E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {755DF2AC-D4B3-4456-B653-B582FC4962E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {755DF2AC-D4B3-4456-B653-B582FC4962E1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/extra-properties/.github/workflows/ci.yml b/seed/csharp-sdk/extra-properties/.github/workflows/ci.yml
index 21572861810..0f3868de75c 100644
--- a/seed/csharp-sdk/extra-properties/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/extra-properties/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedExtraProperties --no-build --no-restore -c Release
dotnet nuget push src/SeedExtraProperties/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj
index 4b6eae5a36b..d5f9a81971d 100644
--- a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj
+++ b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.Test/SeedExtraProperties.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.sln b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.sln
index 55734c4faa9..45b83c76ec8 100644
--- a/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.sln
+++ b/seed/csharp-sdk/extra-properties/src/SeedExtraProperties.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties", "SeedExtraProperties\SeedExtraProperties.csproj", "{3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties", "SeedExtraProperties\SeedExtraProperties.csproj", "{73AB0A09-EFF7-46BE-85C6-96BCDCC38030}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties.Test", "SeedExtraProperties.Test\SeedExtraProperties.Test.csproj", "{B80588D0-9DB9-42FA-A0C5-0959A863F749}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedExtraProperties.Test", "SeedExtraProperties.Test\SeedExtraProperties.Test.csproj", "{FDA1690F-C0B3-462B-B659-1F128438373B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3764FAA9-5354-46EB-8AF3-BE7AB6BE2A5D}.Release|Any CPU.Build.0 = Release|Any CPU
- {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B80588D0-9DB9-42FA-A0C5-0959A863F749}.Release|Any CPU.Build.0 = Release|Any CPU
+ {73AB0A09-EFF7-46BE-85C6-96BCDCC38030}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {73AB0A09-EFF7-46BE-85C6-96BCDCC38030}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {73AB0A09-EFF7-46BE-85C6-96BCDCC38030}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {73AB0A09-EFF7-46BE-85C6-96BCDCC38030}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FDA1690F-C0B3-462B-B659-1F128438373B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FDA1690F-C0B3-462B-B659-1F128438373B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FDA1690F-C0B3-462B-B659-1F128438373B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FDA1690F-C0B3-462B-B659-1F128438373B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/file-download/.github/workflows/ci.yml b/seed/csharp-sdk/file-download/.github/workflows/ci.yml
index b29f5e4f38f..8bbd51a2a0c 100644
--- a/seed/csharp-sdk/file-download/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/file-download/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedFileDownload --no-build --no-restore -c Release
dotnet nuget push src/SeedFileDownload/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj b/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj
index 92f414fcfb7..f14e9bb2987 100644
--- a/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj
+++ b/seed/csharp-sdk/file-download/src/SeedFileDownload.Test/SeedFileDownload.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/file-download/src/SeedFileDownload.sln b/seed/csharp-sdk/file-download/src/SeedFileDownload.sln
index 30d83ad70fe..54bb4fd55d7 100644
--- a/seed/csharp-sdk/file-download/src/SeedFileDownload.sln
+++ b/seed/csharp-sdk/file-download/src/SeedFileDownload.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload", "SeedFileDownload\SeedFileDownload.csproj", "{21138A61-F968-4882-B2F7-7DE4FB2C76D6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload", "SeedFileDownload\SeedFileDownload.csproj", "{3A78F2ED-DBF7-4385-B933-B43866B35C38}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload.Test", "SeedFileDownload.Test\SeedFileDownload.Test.csproj", "{EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileDownload.Test", "SeedFileDownload.Test\SeedFileDownload.Test.csproj", "{2D8BFC71-0600-4FD3-8CB6-9B6671F89815}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {21138A61-F968-4882-B2F7-7DE4FB2C76D6}.Release|Any CPU.Build.0 = Release|Any CPU
- {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EF478AD0-D149-448B-A1C3-0F2ECEDF2D60}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3A78F2ED-DBF7-4385-B933-B43866B35C38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3A78F2ED-DBF7-4385-B933-B43866B35C38}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3A78F2ED-DBF7-4385-B933-B43866B35C38}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3A78F2ED-DBF7-4385-B933-B43866B35C38}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2D8BFC71-0600-4FD3-8CB6-9B6671F89815}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2D8BFC71-0600-4FD3-8CB6-9B6671F89815}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2D8BFC71-0600-4FD3-8CB6-9B6671F89815}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2D8BFC71-0600-4FD3-8CB6-9B6671F89815}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/file-upload/.github/workflows/ci.yml b/seed/csharp-sdk/file-upload/.github/workflows/ci.yml
index 8c932fd6e05..23c2a1b9d90 100644
--- a/seed/csharp-sdk/file-upload/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/file-upload/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedFileUpload --no-build --no-restore -c Release
dotnet nuget push src/SeedFileUpload/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj b/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj
index e17786a850b..160242f54f5 100644
--- a/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj
+++ b/seed/csharp-sdk/file-upload/src/SeedFileUpload.Test/SeedFileUpload.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/file-upload/src/SeedFileUpload.sln b/seed/csharp-sdk/file-upload/src/SeedFileUpload.sln
index 21e37fe81e4..199ee247551 100644
--- a/seed/csharp-sdk/file-upload/src/SeedFileUpload.sln
+++ b/seed/csharp-sdk/file-upload/src/SeedFileUpload.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload", "SeedFileUpload\SeedFileUpload.csproj", "{70B530A2-76D5-41C5-A411-FE2F1E3F2057}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload", "SeedFileUpload\SeedFileUpload.csproj", "{C0B9ECFA-A382-4E2C-AFF7-43D3BBA9D16F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload.Test", "SeedFileUpload.Test\SeedFileUpload.Test.csproj", "{72743831-35C1-4775-9A80-0668AB1E20E3}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedFileUpload.Test", "SeedFileUpload.Test\SeedFileUpload.Test.csproj", "{204D73BE-461C-449B-A6BE-F5DEE9E184FE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {70B530A2-76D5-41C5-A411-FE2F1E3F2057}.Release|Any CPU.Build.0 = Release|Any CPU
- {72743831-35C1-4775-9A80-0668AB1E20E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {72743831-35C1-4775-9A80-0668AB1E20E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {72743831-35C1-4775-9A80-0668AB1E20E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {72743831-35C1-4775-9A80-0668AB1E20E3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C0B9ECFA-A382-4E2C-AFF7-43D3BBA9D16F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C0B9ECFA-A382-4E2C-AFF7-43D3BBA9D16F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C0B9ECFA-A382-4E2C-AFF7-43D3BBA9D16F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C0B9ECFA-A382-4E2C-AFF7-43D3BBA9D16F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {204D73BE-461C-449B-A6BE-F5DEE9E184FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {204D73BE-461C-449B-A6BE-F5DEE9E184FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {204D73BE-461C-449B-A6BE-F5DEE9E184FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {204D73BE-461C-449B-A6BE-F5DEE9E184FE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/folders/.github/workflows/ci.yml b/seed/csharp-sdk/folders/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/folders/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/folders/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/folders/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/folders/src/SeedApi.sln b/seed/csharp-sdk/folders/src/SeedApi.sln
index 06433c06a50..e3c461c9cc9 100644
--- a/seed/csharp-sdk/folders/src/SeedApi.sln
+++ b/seed/csharp-sdk/folders/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{5890DAD8-F59C-4F33-9905-14E98184752F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{DA25F4E7-2E8F-4CC9-A302-3079D441FCAF}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{7D7E4342-7B94-4284-948F-A77E6C10B14C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{8051799B-1A78-4890-BC2A-7157E909F36D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5890DAD8-F59C-4F33-9905-14E98184752F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5890DAD8-F59C-4F33-9905-14E98184752F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5890DAD8-F59C-4F33-9905-14E98184752F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5890DAD8-F59C-4F33-9905-14E98184752F}.Release|Any CPU.Build.0 = Release|Any CPU
- {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7D7E4342-7B94-4284-948F-A77E6C10B14C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DA25F4E7-2E8F-4CC9-A302-3079D441FCAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DA25F4E7-2E8F-4CC9-A302-3079D441FCAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DA25F4E7-2E8F-4CC9-A302-3079D441FCAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DA25F4E7-2E8F-4CC9-A302-3079D441FCAF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8051799B-1A78-4890-BC2A-7157E909F36D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8051799B-1A78-4890-BC2A-7157E909F36D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8051799B-1A78-4890-BC2A-7157E909F36D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8051799B-1A78-4890-BC2A-7157E909F36D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/idempotency-headers/.github/workflows/ci.yml b/seed/csharp-sdk/idempotency-headers/.github/workflows/ci.yml
index 9f1af88a865..61ca0797b5b 100644
--- a/seed/csharp-sdk/idempotency-headers/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/idempotency-headers/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedIdempotencyHeaders --no-build --no-restore -c Release
dotnet nuget push src/SeedIdempotencyHeaders/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj
index 3178b30c679..83cec645bf9 100644
--- a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj
+++ b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.Test/SeedIdempotencyHeaders.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.sln b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.sln
index 4b204c92dfb..c7b00099d6a 100644
--- a/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.sln
+++ b/seed/csharp-sdk/idempotency-headers/src/SeedIdempotencyHeaders.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders", "SeedIdempotencyHeaders\SeedIdempotencyHeaders.csproj", "{047FF487-C514-441D-99BD-BEBE086D6D94}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders", "SeedIdempotencyHeaders\SeedIdempotencyHeaders.csproj", "{DF48EE3D-1B92-4E59-9780-B21FD83C98B5}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders.Test", "SeedIdempotencyHeaders.Test\SeedIdempotencyHeaders.Test.csproj", "{7B35C604-BD65-4CBD-B529-E71A428BAF0E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedIdempotencyHeaders.Test", "SeedIdempotencyHeaders.Test\SeedIdempotencyHeaders.Test.csproj", "{5E550E21-AAB4-416F-8E83-0826A33CCA1A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {047FF487-C514-441D-99BD-BEBE086D6D94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {047FF487-C514-441D-99BD-BEBE086D6D94}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {047FF487-C514-441D-99BD-BEBE086D6D94}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {047FF487-C514-441D-99BD-BEBE086D6D94}.Release|Any CPU.Build.0 = Release|Any CPU
- {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7B35C604-BD65-4CBD-B529-E71A428BAF0E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DF48EE3D-1B92-4E59-9780-B21FD83C98B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DF48EE3D-1B92-4E59-9780-B21FD83C98B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DF48EE3D-1B92-4E59-9780-B21FD83C98B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DF48EE3D-1B92-4E59-9780-B21FD83C98B5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5E550E21-AAB4-416F-8E83-0826A33CCA1A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5E550E21-AAB4-416F-8E83-0826A33CCA1A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5E550E21-AAB4-416F-8E83-0826A33CCA1A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5E550E21-AAB4-416F-8E83-0826A33CCA1A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/imdb/exception-class-names/.github/workflows/ci.yml b/seed/csharp-sdk/imdb/exception-class-names/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/imdb/exception-class-names/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/imdb/exception-class-names/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.sln b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.sln
index 6d974d76661..521a89ded14 100644
--- a/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.sln
+++ b/seed/csharp-sdk/imdb/exception-class-names/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{B0968666-D02D-4A03-9A47-4D3CAA222F7F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{F0FB49AF-3BE7-4922-9B68-3436EAE7CB15}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{294B5C7F-1375-47A3-AA72-104F56768B02}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{B9ABC852-1B7E-4D23-AA2E-1D1638837E77}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B0968666-D02D-4A03-9A47-4D3CAA222F7F}.Release|Any CPU.Build.0 = Release|Any CPU
- {294B5C7F-1375-47A3-AA72-104F56768B02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {294B5C7F-1375-47A3-AA72-104F56768B02}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {294B5C7F-1375-47A3-AA72-104F56768B02}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {294B5C7F-1375-47A3-AA72-104F56768B02}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F0FB49AF-3BE7-4922-9B68-3436EAE7CB15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F0FB49AF-3BE7-4922-9B68-3436EAE7CB15}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F0FB49AF-3BE7-4922-9B68-3436EAE7CB15}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F0FB49AF-3BE7-4922-9B68-3436EAE7CB15}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B9ABC852-1B7E-4D23-AA2E-1D1638837E77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B9ABC852-1B7E-4D23-AA2E-1D1638837E77}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B9ABC852-1B7E-4D23-AA2E-1D1638837E77}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B9ABC852-1B7E-4D23-AA2E-1D1638837E77}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/imdb/extra-dependencies/.github/workflows/ci.yml b/seed/csharp-sdk/imdb/extra-dependencies/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/imdb/extra-dependencies/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/imdb/extra-dependencies/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.sln b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.sln
index cf7c09b9236..2e379c5534e 100644
--- a/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.sln
+++ b/seed/csharp-sdk/imdb/extra-dependencies/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{B4EE03B1-3F6A-429B-B88B-86E220BC944C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{C3617154-16B0-4133-AA62-AC51E7F2B053}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{C9A69FAE-4542-4E9B-AA13-DF3AFC7833D0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B4EE03B1-3F6A-429B-B88B-86E220BC944C}.Release|Any CPU.Build.0 = Release|Any CPU
- {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {28CB0FC3-96A3-49AC-BD60-466D2A1D22D5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C3617154-16B0-4133-AA62-AC51E7F2B053}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C3617154-16B0-4133-AA62-AC51E7F2B053}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C3617154-16B0-4133-AA62-AC51E7F2B053}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C3617154-16B0-4133-AA62-AC51E7F2B053}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C9A69FAE-4542-4E9B-AA13-DF3AFC7833D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C9A69FAE-4542-4E9B-AA13-DF3AFC7833D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C9A69FAE-4542-4E9B-AA13-DF3AFC7833D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C9A69FAE-4542-4E9B-AA13-DF3AFC7833D0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/imdb/no-custom-config/.github/workflows/ci.yml b/seed/csharp-sdk/imdb/no-custom-config/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/imdb/no-custom-config/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/imdb/no-custom-config/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.sln b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.sln
index b38cb70c7e6..956789fd539 100644
--- a/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.sln
+++ b/seed/csharp-sdk/imdb/no-custom-config/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{C6F90064-1CAD-4ACA-8592-8376C4CC2041}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{D00CB2E4-AF29-486C-B306-2B9CD74CADFF}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{BB23C9C0-51A1-4739-8E4B-4633F89D9B40}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{68A716E4-47E2-4AFC-AFED-AB9652B746B1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C6F90064-1CAD-4ACA-8592-8376C4CC2041}.Release|Any CPU.Build.0 = Release|Any CPU
- {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BB23C9C0-51A1-4739-8E4B-4633F89D9B40}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D00CB2E4-AF29-486C-B306-2B9CD74CADFF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D00CB2E4-AF29-486C-B306-2B9CD74CADFF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D00CB2E4-AF29-486C-B306-2B9CD74CADFF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D00CB2E4-AF29-486C-B306-2B9CD74CADFF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {68A716E4-47E2-4AFC-AFED-AB9652B746B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {68A716E4-47E2-4AFC-AFED-AB9652B746B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {68A716E4-47E2-4AFC-AFED-AB9652B746B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {68A716E4-47E2-4AFC-AFED-AB9652B746B1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/license/custom-license/.github/workflows/ci.yml b/seed/csharp-sdk/license/custom-license/.github/workflows/ci.yml
index c7ff4320422..e892343af92 100644
--- a/seed/csharp-sdk/license/custom-license/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/license/custom-license/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedLicense --no-build --no-restore -c Release
dotnet nuget push src/SeedLicense/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj
index 48c2149242c..c0fc70bbe68 100644
--- a/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj
+++ b/seed/csharp-sdk/license/custom-license/src/SeedLicense.Test/SeedLicense.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/license/custom-license/src/SeedLicense.sln b/seed/csharp-sdk/license/custom-license/src/SeedLicense.sln
index e63ff2adabb..5d4fc6d94b2 100644
--- a/seed/csharp-sdk/license/custom-license/src/SeedLicense.sln
+++ b/seed/csharp-sdk/license/custom-license/src/SeedLicense.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{75EFB458-6454-410A-A4AB-7A5A3636E100}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{009D531A-4208-4108-B284-D745E8CC046B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{8DED9FB8-EF66-4EE8-ABBB-BEF6E34FCB86}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A4038D5A-941E-4DCD-9295-EAFD7F55DD7D}.Release|Any CPU.Build.0 = Release|Any CPU
- {009D531A-4208-4108-B284-D745E8CC046B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {009D531A-4208-4108-B284-D745E8CC046B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {009D531A-4208-4108-B284-D745E8CC046B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {009D531A-4208-4108-B284-D745E8CC046B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {75EFB458-6454-410A-A4AB-7A5A3636E100}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {75EFB458-6454-410A-A4AB-7A5A3636E100}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {75EFB458-6454-410A-A4AB-7A5A3636E100}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {75EFB458-6454-410A-A4AB-7A5A3636E100}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8DED9FB8-EF66-4EE8-ABBB-BEF6E34FCB86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8DED9FB8-EF66-4EE8-ABBB-BEF6E34FCB86}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8DED9FB8-EF66-4EE8-ABBB-BEF6E34FCB86}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8DED9FB8-EF66-4EE8-ABBB-BEF6E34FCB86}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/license/mit-license/.github/workflows/ci.yml b/seed/csharp-sdk/license/mit-license/.github/workflows/ci.yml
index c7ff4320422..e892343af92 100644
--- a/seed/csharp-sdk/license/mit-license/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/license/mit-license/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedLicense --no-build --no-restore -c Release
dotnet nuget push src/SeedLicense/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj
index 48c2149242c..c0fc70bbe68 100644
--- a/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj
+++ b/seed/csharp-sdk/license/mit-license/src/SeedLicense.Test/SeedLicense.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/license/mit-license/src/SeedLicense.sln b/seed/csharp-sdk/license/mit-license/src/SeedLicense.sln
index 4449da981b4..0d05c4e0ff9 100644
--- a/seed/csharp-sdk/license/mit-license/src/SeedLicense.sln
+++ b/seed/csharp-sdk/license/mit-license/src/SeedLicense.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{81C61555-2101-449D-B8DA-EECA2676AAF5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense", "SeedLicense\SeedLicense.csproj", "{07468C75-4E40-44B2-AFD8-122B9D654CF1}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{40E7B616-5BCC-4A08-AE40-15700CF4F8A0}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLicense.Test", "SeedLicense.Test\SeedLicense.Test.csproj", "{A181EBF5-5F8D-44C3-9C4D-FCB04173A70C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {81C61555-2101-449D-B8DA-EECA2676AAF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {81C61555-2101-449D-B8DA-EECA2676AAF5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {81C61555-2101-449D-B8DA-EECA2676AAF5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {81C61555-2101-449D-B8DA-EECA2676AAF5}.Release|Any CPU.Build.0 = Release|Any CPU
- {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {40E7B616-5BCC-4A08-AE40-15700CF4F8A0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {07468C75-4E40-44B2-AFD8-122B9D654CF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {07468C75-4E40-44B2-AFD8-122B9D654CF1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {07468C75-4E40-44B2-AFD8-122B9D654CF1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {07468C75-4E40-44B2-AFD8-122B9D654CF1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A181EBF5-5F8D-44C3-9C4D-FCB04173A70C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A181EBF5-5F8D-44C3-9C4D-FCB04173A70C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A181EBF5-5F8D-44C3-9C4D-FCB04173A70C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A181EBF5-5F8D-44C3-9C4D-FCB04173A70C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/literal/.github/workflows/ci.yml b/seed/csharp-sdk/literal/.github/workflows/ci.yml
index 53f2d6d2058..174c34e41ca 100644
--- a/seed/csharp-sdk/literal/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/literal/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedLiteral --no-build --no-restore -c Release
dotnet nuget push src/SeedLiteral/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj b/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj
index 9acd0732fca..1fab1078c57 100644
--- a/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj
+++ b/seed/csharp-sdk/literal/src/SeedLiteral.Test/SeedLiteral.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/literal/src/SeedLiteral.sln b/seed/csharp-sdk/literal/src/SeedLiteral.sln
index c1d52aca7c6..f854fd11237 100644
--- a/seed/csharp-sdk/literal/src/SeedLiteral.sln
+++ b/seed/csharp-sdk/literal/src/SeedLiteral.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral", "SeedLiteral\SeedLiteral.csproj", "{2528A7A9-5700-46E9-86B1-24D74B3C7A5B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral", "SeedLiteral\SeedLiteral.csproj", "{25F2DC77-44F5-4C41-919F-0F274981F075}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral.Test", "SeedLiteral.Test\SeedLiteral.Test.csproj", "{42258FF3-0B72-460D-AF73-FEA00A542337}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedLiteral.Test", "SeedLiteral.Test\SeedLiteral.Test.csproj", "{E5BD62B5-3C10-4CEB-8014-5C223EB6B005}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2528A7A9-5700-46E9-86B1-24D74B3C7A5B}.Release|Any CPU.Build.0 = Release|Any CPU
- {42258FF3-0B72-460D-AF73-FEA00A542337}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {42258FF3-0B72-460D-AF73-FEA00A542337}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {42258FF3-0B72-460D-AF73-FEA00A542337}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {42258FF3-0B72-460D-AF73-FEA00A542337}.Release|Any CPU.Build.0 = Release|Any CPU
+ {25F2DC77-44F5-4C41-919F-0F274981F075}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {25F2DC77-44F5-4C41-919F-0F274981F075}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {25F2DC77-44F5-4C41-919F-0F274981F075}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {25F2DC77-44F5-4C41-919F-0F274981F075}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E5BD62B5-3C10-4CEB-8014-5C223EB6B005}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E5BD62B5-3C10-4CEB-8014-5C223EB6B005}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E5BD62B5-3C10-4CEB-8014-5C223EB6B005}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E5BD62B5-3C10-4CEB-8014-5C223EB6B005}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/mixed-case/.github/workflows/ci.yml b/seed/csharp-sdk/mixed-case/.github/workflows/ci.yml
index 25632637edc..b2215bd43d2 100644
--- a/seed/csharp-sdk/mixed-case/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/mixed-case/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMixedCase --no-build --no-restore -c Release
dotnet nuget push src/SeedMixedCase/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj
index 0cd79747a61..3a2bc5c4fa7 100644
--- a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj
+++ b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.Test/SeedMixedCase.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.sln b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.sln
index 933ce8e8246..32caf6e8f07 100644
--- a/seed/csharp-sdk/mixed-case/src/SeedMixedCase.sln
+++ b/seed/csharp-sdk/mixed-case/src/SeedMixedCase.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase", "SeedMixedCase\SeedMixedCase.csproj", "{811897E6-2A5D-425B-A16C-3EF7F48817DF}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase", "SeedMixedCase\SeedMixedCase.csproj", "{203EF37C-AB89-4271-852F-973CA47B7CEF}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase.Test", "SeedMixedCase.Test\SeedMixedCase.Test.csproj", "{9D239C32-22B3-45EC-A120-2B37F9484516}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedCase.Test", "SeedMixedCase.Test\SeedMixedCase.Test.csproj", "{C156E464-796C-4F6C-9E0B-411D0C93176B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {811897E6-2A5D-425B-A16C-3EF7F48817DF}.Release|Any CPU.Build.0 = Release|Any CPU
- {9D239C32-22B3-45EC-A120-2B37F9484516}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9D239C32-22B3-45EC-A120-2B37F9484516}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9D239C32-22B3-45EC-A120-2B37F9484516}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9D239C32-22B3-45EC-A120-2B37F9484516}.Release|Any CPU.Build.0 = Release|Any CPU
+ {203EF37C-AB89-4271-852F-973CA47B7CEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {203EF37C-AB89-4271-852F-973CA47B7CEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {203EF37C-AB89-4271-852F-973CA47B7CEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {203EF37C-AB89-4271-852F-973CA47B7CEF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C156E464-796C-4F6C-9E0B-411D0C93176B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C156E464-796C-4F6C-9E0B-411D0C93176B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C156E464-796C-4F6C-9E0B-411D0C93176B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C156E464-796C-4F6C-9E0B-411D0C93176B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/mixed-file-directory/.github/workflows/ci.yml b/seed/csharp-sdk/mixed-file-directory/.github/workflows/ci.yml
index 38549d48d01..b730cb58bb6 100644
--- a/seed/csharp-sdk/mixed-file-directory/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/mixed-file-directory/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMixedFileDirectory --no-build --no-restore -c Release
dotnet nuget push src/SeedMixedFileDirectory/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj
index e2d88fb3556..e4066aa0842 100644
--- a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj
+++ b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.Test/SeedMixedFileDirectory.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.sln b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.sln
index 974750c9625..f4d551849ef 100644
--- a/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.sln
+++ b/seed/csharp-sdk/mixed-file-directory/src/SeedMixedFileDirectory.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory", "SeedMixedFileDirectory\SeedMixedFileDirectory.csproj", "{CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory", "SeedMixedFileDirectory\SeedMixedFileDirectory.csproj", "{8F3C143D-9982-43BC-BBD8-2BA58368E9EB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory.Test", "SeedMixedFileDirectory.Test\SeedMixedFileDirectory.Test.csproj", "{CF45FBD5-6398-4327-A98E-A8FD9C32B84E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMixedFileDirectory.Test", "SeedMixedFileDirectory.Test\SeedMixedFileDirectory.Test.csproj", "{2EC0E385-1786-4994-9A38-2231688F80E9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CB9F91AA-272F-4B3C-9C60-B73D9E1A84FD}.Release|Any CPU.Build.0 = Release|Any CPU
- {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CF45FBD5-6398-4327-A98E-A8FD9C32B84E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8F3C143D-9982-43BC-BBD8-2BA58368E9EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8F3C143D-9982-43BC-BBD8-2BA58368E9EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8F3C143D-9982-43BC-BBD8-2BA58368E9EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8F3C143D-9982-43BC-BBD8-2BA58368E9EB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2EC0E385-1786-4994-9A38-2231688F80E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2EC0E385-1786-4994-9A38-2231688F80E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2EC0E385-1786-4994-9A38-2231688F80E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2EC0E385-1786-4994-9A38-2231688F80E9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/multi-line-docs/.github/workflows/ci.yml b/seed/csharp-sdk/multi-line-docs/.github/workflows/ci.yml
index b792713a1b6..8dd18c52b90 100644
--- a/seed/csharp-sdk/multi-line-docs/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/multi-line-docs/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMultiLineDocs --no-build --no-restore -c Release
dotnet nuget push src/SeedMultiLineDocs/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj
index 3c47b405159..4282d6fc192 100644
--- a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj
+++ b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.Test/SeedMultiLineDocs.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.sln b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.sln
index 891a1fd6c2d..1331466d0c2 100644
--- a/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.sln
+++ b/seed/csharp-sdk/multi-line-docs/src/SeedMultiLineDocs.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs", "SeedMultiLineDocs\SeedMultiLineDocs.csproj", "{5C9BB187-186D-452D-A108-E59B3D29EC08}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs", "SeedMultiLineDocs\SeedMultiLineDocs.csproj", "{E4D76443-7ED8-4F9D-9BCF-360648525D71}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs.Test", "SeedMultiLineDocs.Test\SeedMultiLineDocs.Test.csproj", "{FE79A030-4C02-4537-AE97-B12B7BE87D95}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiLineDocs.Test", "SeedMultiLineDocs.Test\SeedMultiLineDocs.Test.csproj", "{A74ADF88-BBD6-4A6E-971E-6CB08CE11DE1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5C9BB187-186D-452D-A108-E59B3D29EC08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5C9BB187-186D-452D-A108-E59B3D29EC08}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5C9BB187-186D-452D-A108-E59B3D29EC08}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5C9BB187-186D-452D-A108-E59B3D29EC08}.Release|Any CPU.Build.0 = Release|Any CPU
- {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FE79A030-4C02-4537-AE97-B12B7BE87D95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E4D76443-7ED8-4F9D-9BCF-360648525D71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E4D76443-7ED8-4F9D-9BCF-360648525D71}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E4D76443-7ED8-4F9D-9BCF-360648525D71}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E4D76443-7ED8-4F9D-9BCF-360648525D71}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A74ADF88-BBD6-4A6E-971E-6CB08CE11DE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A74ADF88-BBD6-4A6E-971E-6CB08CE11DE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A74ADF88-BBD6-4A6E-971E-6CB08CE11DE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A74ADF88-BBD6-4A6E-971E-6CB08CE11DE1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/multi-url-environment-no-default/.github/workflows/ci.yml b/seed/csharp-sdk/multi-url-environment-no-default/.github/workflows/ci.yml
index 911ee52d6e4..4b50bed978d 100644
--- a/seed/csharp-sdk/multi-url-environment-no-default/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/multi-url-environment-no-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMultiUrlEnvironmentNoDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedMultiUrlEnvironmentNoDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj
index f2a46ae0ca2..ce691fef937 100644
--- a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj
+++ b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.Test/SeedMultiUrlEnvironmentNoDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln
index fd772ebebb6..78a690f81d3 100644
--- a/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln
+++ b/seed/csharp-sdk/multi-url-environment-no-default/src/SeedMultiUrlEnvironmentNoDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault", "SeedMultiUrlEnvironmentNoDefault\SeedMultiUrlEnvironmentNoDefault.csproj", "{7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault", "SeedMultiUrlEnvironmentNoDefault\SeedMultiUrlEnvironmentNoDefault.csproj", "{26B9EC3C-3295-4AF1-B01B-ACA231BBDC2A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault.Test", "SeedMultiUrlEnvironmentNoDefault.Test\SeedMultiUrlEnvironmentNoDefault.Test.csproj", "{4A86084D-0C4D-4893-A438-21FF98C19A06}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironmentNoDefault.Test", "SeedMultiUrlEnvironmentNoDefault.Test\SeedMultiUrlEnvironmentNoDefault.Test.csproj", "{F9E84953-E653-40C5-82BC-AF1E8BC6F98E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7BB9106C-CE57-43E2-8CE4-7CDAC151EBA3}.Release|Any CPU.Build.0 = Release|Any CPU
- {4A86084D-0C4D-4893-A438-21FF98C19A06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4A86084D-0C4D-4893-A438-21FF98C19A06}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4A86084D-0C4D-4893-A438-21FF98C19A06}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4A86084D-0C4D-4893-A438-21FF98C19A06}.Release|Any CPU.Build.0 = Release|Any CPU
+ {26B9EC3C-3295-4AF1-B01B-ACA231BBDC2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {26B9EC3C-3295-4AF1-B01B-ACA231BBDC2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {26B9EC3C-3295-4AF1-B01B-ACA231BBDC2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {26B9EC3C-3295-4AF1-B01B-ACA231BBDC2A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F9E84953-E653-40C5-82BC-AF1E8BC6F98E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F9E84953-E653-40C5-82BC-AF1E8BC6F98E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F9E84953-E653-40C5-82BC-AF1E8BC6F98E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F9E84953-E653-40C5-82BC-AF1E8BC6F98E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/.github/workflows/ci.yml b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/.github/workflows/ci.yml
index a7ac9d4ae02..3012c5fc4da 100644
--- a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedMultiUrlEnvironment --no-build --no-restore -c Release
dotnet nuget push src/SeedMultiUrlEnvironment/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj
index 7ae35da5d41..4b0e992d4e1 100644
--- a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj
+++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.Test/SeedMultiUrlEnvironment.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.sln b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.sln
index 28503a90850..8a3bc7a231a 100644
--- a/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.sln
+++ b/seed/csharp-sdk/multi-url-environment/no-pascal-case-environments/src/SeedMultiUrlEnvironment.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment", "SeedMultiUrlEnvironment\SeedMultiUrlEnvironment.csproj", "{0633BFE2-1AEC-4896-AF73-25A52313636A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment", "SeedMultiUrlEnvironment\SeedMultiUrlEnvironment.csproj", "{04C9CDF8-A76D-45DB-A044-2BF725DEBD0B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment.Test", "SeedMultiUrlEnvironment.Test\SeedMultiUrlEnvironment.Test.csproj", "{591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedMultiUrlEnvironment.Test", "SeedMultiUrlEnvironment.Test\SeedMultiUrlEnvironment.Test.csproj", "{0BBE7BFC-6A26-4EBB-A4E5-E03BCBA37A8E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {0633BFE2-1AEC-4896-AF73-25A52313636A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0633BFE2-1AEC-4896-AF73-25A52313636A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0633BFE2-1AEC-4896-AF73-25A52313636A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0633BFE2-1AEC-4896-AF73-25A52313636A}.Release|Any CPU.Build.0 = Release|Any CPU
- {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {591DFDE5-C090-4DD1-A0AC-1702DAAC2F4D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {04C9CDF8-A76D-45DB-A044-2BF725DEBD0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {04C9CDF8-A76D-45DB-A044-2BF725DEBD0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {04C9CDF8-A76D-45DB-A044-2BF725DEBD0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {04C9CDF8-A76D-45DB-A044-2BF725DEBD0B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0BBE7BFC-6A26-4EBB-A4E5-E03BCBA37A8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0BBE7BFC-6A26-4EBB-A4E5-E03BCBA37A8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0BBE7BFC-6A26-4EBB-A4E5-E03BCBA37A8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0BBE7BFC-6A26-4EBB-A4E5-E03BCBA37A8E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/no-environment/.github/workflows/ci.yml b/seed/csharp-sdk/no-environment/.github/workflows/ci.yml
index 56a926e2396..b806bbf5f43 100644
--- a/seed/csharp-sdk/no-environment/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/no-environment/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedNoEnvironment --no-build --no-restore -c Release
dotnet nuget push src/SeedNoEnvironment/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj
index 9c5b00fd83a..4edb11f9e0c 100644
--- a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj
+++ b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.Test/SeedNoEnvironment.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.sln b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.sln
index 2002e17f737..9adb3ae6962 100644
--- a/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.sln
+++ b/seed/csharp-sdk/no-environment/src/SeedNoEnvironment.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment", "SeedNoEnvironment\SeedNoEnvironment.csproj", "{90DF37E5-BE57-4169-BE1B-3773CA399B8D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment", "SeedNoEnvironment\SeedNoEnvironment.csproj", "{80BB100A-1329-4988-BAC7-DABC314B5A9B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment.Test", "SeedNoEnvironment.Test\SeedNoEnvironment.Test.csproj", "{59A327AB-4F73-495B-8807-D89BD4CB79C2}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNoEnvironment.Test", "SeedNoEnvironment.Test\SeedNoEnvironment.Test.csproj", "{A8F2C9B9-6ABC-4F50-B0F9-AF705BBD9114}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {90DF37E5-BE57-4169-BE1B-3773CA399B8D}.Release|Any CPU.Build.0 = Release|Any CPU
- {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {59A327AB-4F73-495B-8807-D89BD4CB79C2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {80BB100A-1329-4988-BAC7-DABC314B5A9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {80BB100A-1329-4988-BAC7-DABC314B5A9B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {80BB100A-1329-4988-BAC7-DABC314B5A9B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {80BB100A-1329-4988-BAC7-DABC314B5A9B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A8F2C9B9-6ABC-4F50-B0F9-AF705BBD9114}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A8F2C9B9-6ABC-4F50-B0F9-AF705BBD9114}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A8F2C9B9-6ABC-4F50-B0F9-AF705BBD9114}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A8F2C9B9-6ABC-4F50-B0F9-AF705BBD9114}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/oauth-client-credentials-default/.github/workflows/ci.yml b/seed/csharp-sdk/oauth-client-credentials-default/.github/workflows/ci.yml
index db254c682d0..6b34911aed6 100644
--- a/seed/csharp-sdk/oauth-client-credentials-default/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/oauth-client-credentials-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentialsDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentialsDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj
index 0b8603958fd..e07af8e708a 100644
--- a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj
+++ b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.Test/SeedOauthClientCredentialsDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln
index 8580e5bb462..1b3fabc1fd5 100644
--- a/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln
+++ b/seed/csharp-sdk/oauth-client-credentials-default/src/SeedOauthClientCredentialsDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault", "SeedOauthClientCredentialsDefault\SeedOauthClientCredentialsDefault.csproj", "{E7733813-1337-4B7D-AD69-E4F8A4A11ED1}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault", "SeedOauthClientCredentialsDefault\SeedOauthClientCredentialsDefault.csproj", "{0E9C2613-FE80-4E9B-8306-00538EA4FD2C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault.Test", "SeedOauthClientCredentialsDefault.Test\SeedOauthClientCredentialsDefault.Test.csproj", "{FE29965B-0894-4D26-BE52-AE68B0C6BB82}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsDefault.Test", "SeedOauthClientCredentialsDefault.Test\SeedOauthClientCredentialsDefault.Test.csproj", "{B0920D78-834D-47A3-9343-37CB11D69DD3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E7733813-1337-4B7D-AD69-E4F8A4A11ED1}.Release|Any CPU.Build.0 = Release|Any CPU
- {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FE29965B-0894-4D26-BE52-AE68B0C6BB82}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0E9C2613-FE80-4E9B-8306-00538EA4FD2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0E9C2613-FE80-4E9B-8306-00538EA4FD2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0E9C2613-FE80-4E9B-8306-00538EA4FD2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0E9C2613-FE80-4E9B-8306-00538EA4FD2C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B0920D78-834D-47A3-9343-37CB11D69DD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0920D78-834D-47A3-9343-37CB11D69DD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0920D78-834D-47A3-9343-37CB11D69DD3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0920D78-834D-47A3-9343-37CB11D69DD3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/.github/workflows/ci.yml b/seed/csharp-sdk/oauth-client-credentials-environment-variables/.github/workflows/ci.yml
index b28a95299c2..42f4fa5139b 100644
--- a/seed/csharp-sdk/oauth-client-credentials-environment-variables/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentialsEnvironmentVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentialsEnvironmentVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj
index 8b98b4fafd6..1a3abba739e 100644
--- a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj
+++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.Test/SeedOauthClientCredentialsEnvironmentVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln
index 575e9ae7a02..0accc16841e 100644
--- a/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln
+++ b/seed/csharp-sdk/oauth-client-credentials-environment-variables/src/SeedOauthClientCredentialsEnvironmentVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables", "SeedOauthClientCredentialsEnvironmentVariables\SeedOauthClientCredentialsEnvironmentVariables.csproj", "{1934F98D-B866-413E-A5B9-8CC082CA671C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables", "SeedOauthClientCredentialsEnvironmentVariables\SeedOauthClientCredentialsEnvironmentVariables.csproj", "{85F70D69-2289-4AB4-94EC-3B780E0AF76F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables.Test", "SeedOauthClientCredentialsEnvironmentVariables.Test\SeedOauthClientCredentialsEnvironmentVariables.Test.csproj", "{42C51783-53D3-4E0B-8A20-4BCA1331C5A4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentialsEnvironmentVariables.Test", "SeedOauthClientCredentialsEnvironmentVariables.Test\SeedOauthClientCredentialsEnvironmentVariables.Test.csproj", "{7626ECFC-82B2-406E-BCA2-C29B50E4A4CB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {1934F98D-B866-413E-A5B9-8CC082CA671C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1934F98D-B866-413E-A5B9-8CC082CA671C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1934F98D-B866-413E-A5B9-8CC082CA671C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1934F98D-B866-413E-A5B9-8CC082CA671C}.Release|Any CPU.Build.0 = Release|Any CPU
- {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {42C51783-53D3-4E0B-8A20-4BCA1331C5A4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85F70D69-2289-4AB4-94EC-3B780E0AF76F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85F70D69-2289-4AB4-94EC-3B780E0AF76F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85F70D69-2289-4AB4-94EC-3B780E0AF76F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85F70D69-2289-4AB4-94EC-3B780E0AF76F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7626ECFC-82B2-406E-BCA2-C29B50E4A4CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7626ECFC-82B2-406E-BCA2-C29B50E4A4CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7626ECFC-82B2-406E-BCA2-C29B50E4A4CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7626ECFC-82B2-406E-BCA2-C29B50E4A4CB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/.github/workflows/ci.yml b/seed/csharp-sdk/oauth-client-credentials-nested-root/.github/workflows/ci.yml
index 90e159e5029..a14c5306acc 100644
--- a/seed/csharp-sdk/oauth-client-credentials-nested-root/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentials --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentials/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
index fd48c7fec2f..8168b894054 100644
--- a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
+++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln
index ba809b53c49..74611cf15f6 100644
--- a/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln
+++ b/seed/csharp-sdk/oauth-client-credentials-nested-root/src/SeedOauthClientCredentials.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{8B7CF395-65C6-47CF-92AB-188E4011CC40}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{4BF66C1C-87F5-402F-9D40-2176FDB1B6FE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ADB4AED7-0C2F-4181-96F7-0EF46EA02A3A}.Release|Any CPU.Build.0 = Release|Any CPU
- {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {71B81F67-7B10-4D6A-B0D9-0CC84CF78FBF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8B7CF395-65C6-47CF-92AB-188E4011CC40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8B7CF395-65C6-47CF-92AB-188E4011CC40}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8B7CF395-65C6-47CF-92AB-188E4011CC40}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8B7CF395-65C6-47CF-92AB-188E4011CC40}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4BF66C1C-87F5-402F-9D40-2176FDB1B6FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4BF66C1C-87F5-402F-9D40-2176FDB1B6FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4BF66C1C-87F5-402F-9D40-2176FDB1B6FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4BF66C1C-87F5-402F-9D40-2176FDB1B6FE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/oauth-client-credentials/.github/workflows/ci.yml b/seed/csharp-sdk/oauth-client-credentials/.github/workflows/ci.yml
index 90e159e5029..a14c5306acc 100644
--- a/seed/csharp-sdk/oauth-client-credentials/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/oauth-client-credentials/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedOauthClientCredentials --no-build --no-restore -c Release
dotnet nuget push src/SeedOauthClientCredentials/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
index fd48c7fec2f..8168b894054 100644
--- a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
+++ b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.Test/SeedOauthClientCredentials.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.sln b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.sln
index cd4e2153271..d9b402a55c5 100644
--- a/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.sln
+++ b/seed/csharp-sdk/oauth-client-credentials/src/SeedOauthClientCredentials.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{340159D1-A1B6-4A2C-84B9-9A0762466D89}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials", "SeedOauthClientCredentials\SeedOauthClientCredentials.csproj", "{62653070-F935-4C87-9040-E91F21D7D6EC}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{62932702-6B2E-44C2-808F-53577C5A8DC1}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedOauthClientCredentials.Test", "SeedOauthClientCredentials.Test\SeedOauthClientCredentials.Test.csproj", "{38561083-809C-4F66-A36F-75FBA716C4ED}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {340159D1-A1B6-4A2C-84B9-9A0762466D89}.Release|Any CPU.Build.0 = Release|Any CPU
- {62932702-6B2E-44C2-808F-53577C5A8DC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {62932702-6B2E-44C2-808F-53577C5A8DC1}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {62932702-6B2E-44C2-808F-53577C5A8DC1}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {62932702-6B2E-44C2-808F-53577C5A8DC1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {62653070-F935-4C87-9040-E91F21D7D6EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {62653070-F935-4C87-9040-E91F21D7D6EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {62653070-F935-4C87-9040-E91F21D7D6EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {62653070-F935-4C87-9040-E91F21D7D6EC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {38561083-809C-4F66-A36F-75FBA716C4ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {38561083-809C-4F66-A36F-75FBA716C4ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {38561083-809C-4F66-A36F-75FBA716C4ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {38561083-809C-4F66-A36F-75FBA716C4ED}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/object/.github/workflows/ci.yml b/seed/csharp-sdk/object/.github/workflows/ci.yml
index 304921ae0cf..99145d38661 100644
--- a/seed/csharp-sdk/object/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/object/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedObject --no-build --no-restore -c Release
dotnet nuget push src/SeedObject/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj b/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj
index be19774f42e..8b6d2d307bc 100644
--- a/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj
+++ b/seed/csharp-sdk/object/src/SeedObject.Test/SeedObject.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/object/src/SeedObject.sln b/seed/csharp-sdk/object/src/SeedObject.sln
index 7956dd4720f..bf16bf85d6c 100644
--- a/seed/csharp-sdk/object/src/SeedObject.sln
+++ b/seed/csharp-sdk/object/src/SeedObject.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject", "SeedObject\SeedObject.csproj", "{9670A077-7FA0-4F04-8C32-C31BFD702F5E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject", "SeedObject\SeedObject.csproj", "{62C6A906-CC56-46FE-9C2E-07E620B9C28A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject.Test", "SeedObject.Test\SeedObject.Test.csproj", "{E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObject.Test", "SeedObject.Test\SeedObject.Test.csproj", "{40491A2C-E9C2-4A50-B30A-94FA335820F5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9670A077-7FA0-4F04-8C32-C31BFD702F5E}.Release|Any CPU.Build.0 = Release|Any CPU
- {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E8ACC590-064C-4FDB-AA99-5A54DA9DEF05}.Release|Any CPU.Build.0 = Release|Any CPU
+ {62C6A906-CC56-46FE-9C2E-07E620B9C28A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {62C6A906-CC56-46FE-9C2E-07E620B9C28A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {62C6A906-CC56-46FE-9C2E-07E620B9C28A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {62C6A906-CC56-46FE-9C2E-07E620B9C28A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {40491A2C-E9C2-4A50-B30A-94FA335820F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {40491A2C-E9C2-4A50-B30A-94FA335820F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {40491A2C-E9C2-4A50-B30A-94FA335820F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {40491A2C-E9C2-4A50-B30A-94FA335820F5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/objects-with-imports/.github/workflows/ci.yml b/seed/csharp-sdk/objects-with-imports/.github/workflows/ci.yml
index 9ea29786a3d..db413fd559a 100644
--- a/seed/csharp-sdk/objects-with-imports/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/objects-with-imports/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedObjectsWithImports --no-build --no-restore -c Release
dotnet nuget push src/SeedObjectsWithImports/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
index db71b5887ed..eed53428352 100644
--- a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
+++ b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.sln b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.sln
index 977ed99082e..aa51c698fb5 100644
--- a/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.sln
+++ b/seed/csharp-sdk/objects-with-imports/src/SeedObjectsWithImports.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{1E91E151-023C-4D35-A7BE-29651955C8E5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{8FB6A54A-1A36-4F1A-A4BB-C856E2607169}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{7D0827B7-BD3B-4976-B71C-190B434EEC4E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{9DC95972-3CA5-4F3B-BF28-D845973802E3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {1E91E151-023C-4D35-A7BE-29651955C8E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1E91E151-023C-4D35-A7BE-29651955C8E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1E91E151-023C-4D35-A7BE-29651955C8E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1E91E151-023C-4D35-A7BE-29651955C8E5}.Release|Any CPU.Build.0 = Release|Any CPU
- {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7D0827B7-BD3B-4976-B71C-190B434EEC4E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8FB6A54A-1A36-4F1A-A4BB-C856E2607169}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8FB6A54A-1A36-4F1A-A4BB-C856E2607169}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8FB6A54A-1A36-4F1A-A4BB-C856E2607169}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8FB6A54A-1A36-4F1A-A4BB-C856E2607169}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9DC95972-3CA5-4F3B-BF28-D845973802E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9DC95972-3CA5-4F3B-BF28-D845973802E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9DC95972-3CA5-4F3B-BF28-D845973802E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9DC95972-3CA5-4F3B-BF28-D845973802E3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/.github/workflows/ci.yml b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/.github/workflows/ci.yml
index 9ea29786a3d..db413fd559a 100644
--- a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedObjectsWithImports --no-build --no-restore -c Release
dotnet nuget push src/SeedObjectsWithImports/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
index db71b5887ed..eed53428352 100644
--- a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
+++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.Test/SeedObjectsWithImports.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.sln b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.sln
index 70fb4514943..06fe42c3b2d 100644
--- a/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.sln
+++ b/seed/csharp-sdk/optional/no-simplify-object-dictionaries/src/SeedObjectsWithImports.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{CB52C25F-1B40-4D1C-AAC3-04D3000E0779}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports", "SeedObjectsWithImports\SeedObjectsWithImports.csproj", "{B3B6DDAF-D218-4DF4-B220-25D80A788A14}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedObjectsWithImports.Test", "SeedObjectsWithImports.Test\SeedObjectsWithImports.Test.csproj", "{3D1CC8BA-3751-45BD-A3D1-D5D05AD60515}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CB52C25F-1B40-4D1C-AAC3-04D3000E0779}.Release|Any CPU.Build.0 = Release|Any CPU
- {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A50EE91B-5B2A-4B5B-8AF4-43AE633A1FA6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B3B6DDAF-D218-4DF4-B220-25D80A788A14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B3B6DDAF-D218-4DF4-B220-25D80A788A14}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B3B6DDAF-D218-4DF4-B220-25D80A788A14}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B3B6DDAF-D218-4DF4-B220-25D80A788A14}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3D1CC8BA-3751-45BD-A3D1-D5D05AD60515}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3D1CC8BA-3751-45BD-A3D1-D5D05AD60515}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3D1CC8BA-3751-45BD-A3D1-D5D05AD60515}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3D1CC8BA-3751-45BD-A3D1-D5D05AD60515}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/package-yml/.github/workflows/ci.yml b/seed/csharp-sdk/package-yml/.github/workflows/ci.yml
index 4183baf5d35..7a029144d47 100644
--- a/seed/csharp-sdk/package-yml/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/package-yml/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPackageYml --no-build --no-restore -c Release
dotnet nuget push src/SeedPackageYml/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj
index 81c7d862247..31decc05166 100644
--- a/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj
+++ b/seed/csharp-sdk/package-yml/src/SeedPackageYml.Test/SeedPackageYml.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/package-yml/src/SeedPackageYml.sln b/seed/csharp-sdk/package-yml/src/SeedPackageYml.sln
index 2f3dceb6359..05282988e9d 100644
--- a/seed/csharp-sdk/package-yml/src/SeedPackageYml.sln
+++ b/seed/csharp-sdk/package-yml/src/SeedPackageYml.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml", "SeedPackageYml\SeedPackageYml.csproj", "{839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml", "SeedPackageYml\SeedPackageYml.csproj", "{582A7F3A-15EB-4730-BF9E-E06F934E839E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml.Test", "SeedPackageYml.Test\SeedPackageYml.Test.csproj", "{56897B81-A2F2-41FD-9474-129AF4D372DC}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPackageYml.Test", "SeedPackageYml.Test\SeedPackageYml.Test.csproj", "{C91E4AB2-05AE-4BB8-90FE-FA2D87749A42}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {839C6E18-F23E-47F2-8BB5-637ACBDDDC7A}.Release|Any CPU.Build.0 = Release|Any CPU
- {56897B81-A2F2-41FD-9474-129AF4D372DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {56897B81-A2F2-41FD-9474-129AF4D372DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {56897B81-A2F2-41FD-9474-129AF4D372DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {56897B81-A2F2-41FD-9474-129AF4D372DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {582A7F3A-15EB-4730-BF9E-E06F934E839E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {582A7F3A-15EB-4730-BF9E-E06F934E839E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {582A7F3A-15EB-4730-BF9E-E06F934E839E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {582A7F3A-15EB-4730-BF9E-E06F934E839E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C91E4AB2-05AE-4BB8-90FE-FA2D87749A42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C91E4AB2-05AE-4BB8-90FE-FA2D87749A42}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C91E4AB2-05AE-4BB8-90FE-FA2D87749A42}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C91E4AB2-05AE-4BB8-90FE-FA2D87749A42}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/pagination/.github/workflows/ci.yml b/seed/csharp-sdk/pagination/.github/workflows/ci.yml
index ca60d518a76..feff74b5a74 100644
--- a/seed/csharp-sdk/pagination/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/pagination/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPagination --no-build --no-restore -c Release
dotnet nuget push src/SeedPagination/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj b/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj
index aac18528c02..d6ab50f0467 100644
--- a/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj
+++ b/seed/csharp-sdk/pagination/src/SeedPagination.Test/SeedPagination.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/pagination/src/SeedPagination.sln b/seed/csharp-sdk/pagination/src/SeedPagination.sln
index 42af0ceff91..f9a5cd660c0 100644
--- a/seed/csharp-sdk/pagination/src/SeedPagination.sln
+++ b/seed/csharp-sdk/pagination/src/SeedPagination.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination", "SeedPagination\SeedPagination.csproj", "{922616D3-400D-4924-AAA6-3069B4E39310}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination", "SeedPagination\SeedPagination.csproj", "{E88E84F9-61F1-479A-B4F7-B14167ACC8B2}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination.Test", "SeedPagination.Test\SeedPagination.Test.csproj", "{8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPagination.Test", "SeedPagination.Test\SeedPagination.Test.csproj", "{3B5C879C-3FCA-46B0-AC92-A9EABD456CC1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {922616D3-400D-4924-AAA6-3069B4E39310}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {922616D3-400D-4924-AAA6-3069B4E39310}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {922616D3-400D-4924-AAA6-3069B4E39310}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {922616D3-400D-4924-AAA6-3069B4E39310}.Release|Any CPU.Build.0 = Release|Any CPU
- {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8C3AF3F4-B1D5-4224-A3B2-AB5F38175A0F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E88E84F9-61F1-479A-B4F7-B14167ACC8B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E88E84F9-61F1-479A-B4F7-B14167ACC8B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E88E84F9-61F1-479A-B4F7-B14167ACC8B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E88E84F9-61F1-479A-B4F7-B14167ACC8B2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3B5C879C-3FCA-46B0-AC92-A9EABD456CC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3B5C879C-3FCA-46B0-AC92-A9EABD456CC1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3B5C879C-3FCA-46B0-AC92-A9EABD456CC1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3B5C879C-3FCA-46B0-AC92-A9EABD456CC1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/path-parameters/.github/workflows/ci.yml b/seed/csharp-sdk/path-parameters/.github/workflows/ci.yml
index b34b75c042c..9bb86c0c9d5 100644
--- a/seed/csharp-sdk/path-parameters/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/path-parameters/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPathParameters --no-build --no-restore -c Release
dotnet nuget push src/SeedPathParameters/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj
index 5f3889c6202..b4e4fd76d10 100644
--- a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj
+++ b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.Test/SeedPathParameters.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.sln b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.sln
index d42c0580ad1..feeb859a5c2 100644
--- a/seed/csharp-sdk/path-parameters/src/SeedPathParameters.sln
+++ b/seed/csharp-sdk/path-parameters/src/SeedPathParameters.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters", "SeedPathParameters\SeedPathParameters.csproj", "{01A83CDB-CA61-44F2-AAA4-FFB96F398628}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters", "SeedPathParameters\SeedPathParameters.csproj", "{C6423E64-154C-4BF3-831B-BFB3CC550958}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters.Test", "SeedPathParameters.Test\SeedPathParameters.Test.csproj", "{E98F6C92-4210-4B4E-91E3-FA9A713D7525}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPathParameters.Test", "SeedPathParameters.Test\SeedPathParameters.Test.csproj", "{E77DB03A-4DDE-4623-ACC7-A41A8689C326}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {01A83CDB-CA61-44F2-AAA4-FFB96F398628}.Release|Any CPU.Build.0 = Release|Any CPU
- {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E98F6C92-4210-4B4E-91E3-FA9A713D7525}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C6423E64-154C-4BF3-831B-BFB3CC550958}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C6423E64-154C-4BF3-831B-BFB3CC550958}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C6423E64-154C-4BF3-831B-BFB3CC550958}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C6423E64-154C-4BF3-831B-BFB3CC550958}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E77DB03A-4DDE-4623-ACC7-A41A8689C326}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E77DB03A-4DDE-4623-ACC7-A41A8689C326}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E77DB03A-4DDE-4623-ACC7-A41A8689C326}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E77DB03A-4DDE-4623-ACC7-A41A8689C326}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/plain-text/.github/workflows/ci.yml b/seed/csharp-sdk/plain-text/.github/workflows/ci.yml
index 1c0aa2849ec..66157d629a8 100644
--- a/seed/csharp-sdk/plain-text/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/plain-text/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedPlainText --no-build --no-restore -c Release
dotnet nuget push src/SeedPlainText/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj b/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj
index 3b02ac9f932..4eae45fe955 100644
--- a/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj
+++ b/seed/csharp-sdk/plain-text/src/SeedPlainText.Test/SeedPlainText.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/plain-text/src/SeedPlainText.sln b/seed/csharp-sdk/plain-text/src/SeedPlainText.sln
index b47983b6d3c..784850e07d8 100644
--- a/seed/csharp-sdk/plain-text/src/SeedPlainText.sln
+++ b/seed/csharp-sdk/plain-text/src/SeedPlainText.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText", "SeedPlainText\SeedPlainText.csproj", "{D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText", "SeedPlainText\SeedPlainText.csproj", "{188489D8-C6BC-4E6D-814A-4D417E50B03D}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText.Test", "SeedPlainText.Test\SeedPlainText.Test.csproj", "{29DF7550-A33E-4787-823D-CA909B4E9C9B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedPlainText.Test", "SeedPlainText.Test\SeedPlainText.Test.csproj", "{60F051C7-1D5A-4800-AF5C-38331C59CFBC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D5B89C4A-F7E1-4E90-8E7E-4B41A4C11684}.Release|Any CPU.Build.0 = Release|Any CPU
- {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {29DF7550-A33E-4787-823D-CA909B4E9C9B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {188489D8-C6BC-4E6D-814A-4D417E50B03D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {188489D8-C6BC-4E6D-814A-4D417E50B03D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {188489D8-C6BC-4E6D-814A-4D417E50B03D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {188489D8-C6BC-4E6D-814A-4D417E50B03D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {60F051C7-1D5A-4800-AF5C-38331C59CFBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {60F051C7-1D5A-4800-AF5C-38331C59CFBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {60F051C7-1D5A-4800-AF5C-38331C59CFBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {60F051C7-1D5A-4800-AF5C-38331C59CFBC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/query-parameters/.github/workflows/ci.yml b/seed/csharp-sdk/query-parameters/.github/workflows/ci.yml
index f0774c213b4..6388d1d67a6 100644
--- a/seed/csharp-sdk/query-parameters/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/query-parameters/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedQueryParameters --no-build --no-restore -c Release
dotnet nuget push src/SeedQueryParameters/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj
index 3b50df96fec..2182bc39597 100644
--- a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj
+++ b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.Test/SeedQueryParameters.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.sln b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.sln
index dfe525d1951..04bffe9f23f 100644
--- a/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.sln
+++ b/seed/csharp-sdk/query-parameters/src/SeedQueryParameters.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters", "SeedQueryParameters\SeedQueryParameters.csproj", "{7C47F0B0-9198-44FC-82E4-BBCDCCE74516}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters", "SeedQueryParameters\SeedQueryParameters.csproj", "{26DCBA9B-3122-4FC3-96F7-C1DB5EFD7D9F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters.Test", "SeedQueryParameters.Test\SeedQueryParameters.Test.csproj", "{89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedQueryParameters.Test", "SeedQueryParameters.Test\SeedQueryParameters.Test.csproj", "{0F42FE6A-F43F-4D03-9041-C2A698780274}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7C47F0B0-9198-44FC-82E4-BBCDCCE74516}.Release|Any CPU.Build.0 = Release|Any CPU
- {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {89CD45FC-93E3-45F6-88A8-8DD5AD67EAD9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {26DCBA9B-3122-4FC3-96F7-C1DB5EFD7D9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {26DCBA9B-3122-4FC3-96F7-C1DB5EFD7D9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {26DCBA9B-3122-4FC3-96F7-C1DB5EFD7D9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {26DCBA9B-3122-4FC3-96F7-C1DB5EFD7D9F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0F42FE6A-F43F-4D03-9041-C2A698780274}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0F42FE6A-F43F-4D03-9041-C2A698780274}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0F42FE6A-F43F-4D03-9041-C2A698780274}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0F42FE6A-F43F-4D03-9041-C2A698780274}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/reserved-keywords/.github/workflows/ci.yml b/seed/csharp-sdk/reserved-keywords/.github/workflows/ci.yml
index be396538240..814db85f1d6 100644
--- a/seed/csharp-sdk/reserved-keywords/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/reserved-keywords/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedNurseryApi --no-build --no-restore -c Release
dotnet nuget push src/SeedNurseryApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj
index 74f9aaff825..c916f8f1bb0 100644
--- a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj
+++ b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.Test/SeedNurseryApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.sln b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.sln
index 69c34328b0b..bc329124dc8 100644
--- a/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.sln
+++ b/seed/csharp-sdk/reserved-keywords/src/SeedNurseryApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi", "SeedNurseryApi\SeedNurseryApi.csproj", "{E2B6E134-A587-469B-9897-AE3AF9EB7FCE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi", "SeedNurseryApi\SeedNurseryApi.csproj", "{7B58A702-416D-43BF-8542-9B163BA68855}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi.Test", "SeedNurseryApi.Test\SeedNurseryApi.Test.csproj", "{AED13D94-0D07-4C1F-B3E1-78D22A8F9351}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedNurseryApi.Test", "SeedNurseryApi.Test\SeedNurseryApi.Test.csproj", "{E3E42058-9F9C-46EC-B42F-23CE76D4E326}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E2B6E134-A587-469B-9897-AE3AF9EB7FCE}.Release|Any CPU.Build.0 = Release|Any CPU
- {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AED13D94-0D07-4C1F-B3E1-78D22A8F9351}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7B58A702-416D-43BF-8542-9B163BA68855}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7B58A702-416D-43BF-8542-9B163BA68855}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7B58A702-416D-43BF-8542-9B163BA68855}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7B58A702-416D-43BF-8542-9B163BA68855}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E3E42058-9F9C-46EC-B42F-23CE76D4E326}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E3E42058-9F9C-46EC-B42F-23CE76D4E326}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E3E42058-9F9C-46EC-B42F-23CE76D4E326}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E3E42058-9F9C-46EC-B42F-23CE76D4E326}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/response-property/.github/workflows/ci.yml b/seed/csharp-sdk/response-property/.github/workflows/ci.yml
index 66bfaa7fe38..b53bc8b1dcc 100644
--- a/seed/csharp-sdk/response-property/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/response-property/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedResponseProperty --no-build --no-restore -c Release
dotnet nuget push src/SeedResponseProperty/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj b/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj
index 1d97c50a616..0029eded752 100644
--- a/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj
+++ b/seed/csharp-sdk/response-property/src/SeedResponseProperty.Test/SeedResponseProperty.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/response-property/src/SeedResponseProperty.sln b/seed/csharp-sdk/response-property/src/SeedResponseProperty.sln
index 96c3dcb36c8..2d9bc583a80 100644
--- a/seed/csharp-sdk/response-property/src/SeedResponseProperty.sln
+++ b/seed/csharp-sdk/response-property/src/SeedResponseProperty.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty", "SeedResponseProperty\SeedResponseProperty.csproj", "{AE007795-95D7-4527-9F78-087630183961}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty", "SeedResponseProperty\SeedResponseProperty.csproj", "{865C4227-D77B-46DF-A95F-C7DCB3A36734}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty.Test", "SeedResponseProperty.Test\SeedResponseProperty.Test.csproj", "{3DA8922E-74AA-4513-A5CC-1EF76E27E936}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedResponseProperty.Test", "SeedResponseProperty.Test\SeedResponseProperty.Test.csproj", "{D70963D1-0B38-45D1-8F3B-76AD1F891BF9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AE007795-95D7-4527-9F78-087630183961}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AE007795-95D7-4527-9F78-087630183961}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AE007795-95D7-4527-9F78-087630183961}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AE007795-95D7-4527-9F78-087630183961}.Release|Any CPU.Build.0 = Release|Any CPU
- {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3DA8922E-74AA-4513-A5CC-1EF76E27E936}.Release|Any CPU.Build.0 = Release|Any CPU
+ {865C4227-D77B-46DF-A95F-C7DCB3A36734}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {865C4227-D77B-46DF-A95F-C7DCB3A36734}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {865C4227-D77B-46DF-A95F-C7DCB3A36734}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {865C4227-D77B-46DF-A95F-C7DCB3A36734}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D70963D1-0B38-45D1-8F3B-76AD1F891BF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D70963D1-0B38-45D1-8F3B-76AD1F891BF9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D70963D1-0B38-45D1-8F3B-76AD1F891BF9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D70963D1-0B38-45D1-8F3B-76AD1F891BF9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/server-sent-event-examples/.github/workflows/ci.yml b/seed/csharp-sdk/server-sent-event-examples/.github/workflows/ci.yml
index e76e2e89b13..e278e914c70 100644
--- a/seed/csharp-sdk/server-sent-event-examples/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/server-sent-event-examples/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedServerSentEvents --no-build --no-restore -c Release
dotnet nuget push src/SeedServerSentEvents/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
index 7f8fa6bf18f..9592e2151e7 100644
--- a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
+++ b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.sln b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.sln
index 5200f183a82..a1e0e659032 100644
--- a/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.sln
+++ b/seed/csharp-sdk/server-sent-event-examples/src/SeedServerSentEvents.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{64E0D73D-5638-4C83-AEF8-BCCC1FFF0846}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{1D3FA895-F971-4EBC-8555-8E14E75423D7}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{FA6AA1A9-EBB9-49DE-9AB7-D71E2A067A7A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2275C2FA-62EF-4B55-9811-C42F2CA3DBCA}.Release|Any CPU.Build.0 = Release|Any CPU
- {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1D3FA895-F971-4EBC-8555-8E14E75423D7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {64E0D73D-5638-4C83-AEF8-BCCC1FFF0846}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {64E0D73D-5638-4C83-AEF8-BCCC1FFF0846}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {64E0D73D-5638-4C83-AEF8-BCCC1FFF0846}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {64E0D73D-5638-4C83-AEF8-BCCC1FFF0846}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FA6AA1A9-EBB9-49DE-9AB7-D71E2A067A7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FA6AA1A9-EBB9-49DE-9AB7-D71E2A067A7A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FA6AA1A9-EBB9-49DE-9AB7-D71E2A067A7A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FA6AA1A9-EBB9-49DE-9AB7-D71E2A067A7A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/server-sent-events/.github/workflows/ci.yml b/seed/csharp-sdk/server-sent-events/.github/workflows/ci.yml
index e76e2e89b13..e278e914c70 100644
--- a/seed/csharp-sdk/server-sent-events/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/server-sent-events/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedServerSentEvents --no-build --no-restore -c Release
dotnet nuget push src/SeedServerSentEvents/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
index 7f8fa6bf18f..9592e2151e7 100644
--- a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
+++ b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.Test/SeedServerSentEvents.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.sln b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.sln
index 4d4901dc1f7..99f89c16c9d 100644
--- a/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.sln
+++ b/seed/csharp-sdk/server-sent-events/src/SeedServerSentEvents.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{F02591BA-D01D-4510-81FC-6960684836F6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents", "SeedServerSentEvents\SeedServerSentEvents.csproj", "{F4A952DA-EBF0-4BEA-B565-7982F3BC410F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{ECAAF675-B445-411A-A303-7A4480C2AE6B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedServerSentEvents.Test", "SeedServerSentEvents.Test\SeedServerSentEvents.Test.csproj", "{3478BDF9-A3E3-4CF7-8F29-79CC7D2767C6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F02591BA-D01D-4510-81FC-6960684836F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F02591BA-D01D-4510-81FC-6960684836F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F02591BA-D01D-4510-81FC-6960684836F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F02591BA-D01D-4510-81FC-6960684836F6}.Release|Any CPU.Build.0 = Release|Any CPU
- {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ECAAF675-B445-411A-A303-7A4480C2AE6B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F4A952DA-EBF0-4BEA-B565-7982F3BC410F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F4A952DA-EBF0-4BEA-B565-7982F3BC410F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F4A952DA-EBF0-4BEA-B565-7982F3BC410F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F4A952DA-EBF0-4BEA-B565-7982F3BC410F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3478BDF9-A3E3-4CF7-8F29-79CC7D2767C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3478BDF9-A3E3-4CF7-8F29-79CC7D2767C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3478BDF9-A3E3-4CF7-8F29-79CC7D2767C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3478BDF9-A3E3-4CF7-8F29-79CC7D2767C6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/simple-fhir/.github/workflows/ci.yml b/seed/csharp-sdk/simple-fhir/.github/workflows/ci.yml
index bc4fa1a98cb..136c84edc2a 100644
--- a/seed/csharp-sdk/simple-fhir/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/simple-fhir/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedApi --no-build --no-restore -c Release
dotnet nuget push src/SeedApi/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj
index 8e6f53c1970..84ab1f28392 100644
--- a/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj
+++ b/seed/csharp-sdk/simple-fhir/src/SeedApi.Test/SeedApi.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/simple-fhir/src/SeedApi.sln b/seed/csharp-sdk/simple-fhir/src/SeedApi.sln
index 71d74464c9d..559a67ec213 100644
--- a/seed/csharp-sdk/simple-fhir/src/SeedApi.sln
+++ b/seed/csharp-sdk/simple-fhir/src/SeedApi.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{D2260BCA-69B6-4D54-8F6E-77839E066F15}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi", "SeedApi\SeedApi.csproj", "{6F394B25-FAAB-4E0A-BD84-834C0AAC9A6C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{5FF6A4B7-DC3E-4495-B943-40FB2206017D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedApi.Test", "SeedApi.Test\SeedApi.Test.csproj", "{495CDE27-B3E9-49E0-9AEF-BF888C78F30F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D2260BCA-69B6-4D54-8F6E-77839E066F15}.Release|Any CPU.Build.0 = Release|Any CPU
- {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5FF6A4B7-DC3E-4495-B943-40FB2206017D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6F394B25-FAAB-4E0A-BD84-834C0AAC9A6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6F394B25-FAAB-4E0A-BD84-834C0AAC9A6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6F394B25-FAAB-4E0A-BD84-834C0AAC9A6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6F394B25-FAAB-4E0A-BD84-834C0AAC9A6C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {495CDE27-B3E9-49E0-9AEF-BF888C78F30F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {495CDE27-B3E9-49E0-9AEF-BF888C78F30F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {495CDE27-B3E9-49E0-9AEF-BF888C78F30F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {495CDE27-B3E9-49E0-9AEF-BF888C78F30F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/single-url-environment-default/.github/workflows/ci.yml b/seed/csharp-sdk/single-url-environment-default/.github/workflows/ci.yml
index faf1f711522..3f5e86330cc 100644
--- a/seed/csharp-sdk/single-url-environment-default/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/single-url-environment-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedSingleUrlEnvironmentDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedSingleUrlEnvironmentDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj
index 1a2dd4152f7..b619a952da8 100644
--- a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj
+++ b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.Test/SeedSingleUrlEnvironmentDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln
index 5ca08ec75e8..e75e425d261 100644
--- a/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln
+++ b/seed/csharp-sdk/single-url-environment-default/src/SeedSingleUrlEnvironmentDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault", "SeedSingleUrlEnvironmentDefault\SeedSingleUrlEnvironmentDefault.csproj", "{844B9910-7282-4B85-B0A8-818D8DD7DA35}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault", "SeedSingleUrlEnvironmentDefault\SeedSingleUrlEnvironmentDefault.csproj", "{100FEE9B-739A-4C9F-AA6C-E1577E50F591}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault.Test", "SeedSingleUrlEnvironmentDefault.Test\SeedSingleUrlEnvironmentDefault.Test.csproj", "{AA757F5A-8C56-445C-A3A1-E7447C01812C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentDefault.Test", "SeedSingleUrlEnvironmentDefault.Test\SeedSingleUrlEnvironmentDefault.Test.csproj", "{24F784A9-70D4-455A-9A2C-69F709EC60AD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {844B9910-7282-4B85-B0A8-818D8DD7DA35}.Release|Any CPU.Build.0 = Release|Any CPU
- {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AA757F5A-8C56-445C-A3A1-E7447C01812C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {100FEE9B-739A-4C9F-AA6C-E1577E50F591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {100FEE9B-739A-4C9F-AA6C-E1577E50F591}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {100FEE9B-739A-4C9F-AA6C-E1577E50F591}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {100FEE9B-739A-4C9F-AA6C-E1577E50F591}.Release|Any CPU.Build.0 = Release|Any CPU
+ {24F784A9-70D4-455A-9A2C-69F709EC60AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {24F784A9-70D4-455A-9A2C-69F709EC60AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {24F784A9-70D4-455A-9A2C-69F709EC60AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {24F784A9-70D4-455A-9A2C-69F709EC60AD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/single-url-environment-no-default/.github/workflows/ci.yml b/seed/csharp-sdk/single-url-environment-no-default/.github/workflows/ci.yml
index e3d0adecd76..f0e6bb0efa7 100644
--- a/seed/csharp-sdk/single-url-environment-no-default/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/single-url-environment-no-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedSingleUrlEnvironmentNoDefault --no-build --no-restore -c Release
dotnet nuget push src/SeedSingleUrlEnvironmentNoDefault/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj
index 970b922df3a..5bc32ae8de1 100644
--- a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj
+++ b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.Test/SeedSingleUrlEnvironmentNoDefault.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln
index 784e6d77e10..4124e36ed09 100644
--- a/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln
+++ b/seed/csharp-sdk/single-url-environment-no-default/src/SeedSingleUrlEnvironmentNoDefault.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault", "SeedSingleUrlEnvironmentNoDefault\SeedSingleUrlEnvironmentNoDefault.csproj", "{599FA3A0-E611-4B88-B965-34584B12BFB6}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault", "SeedSingleUrlEnvironmentNoDefault\SeedSingleUrlEnvironmentNoDefault.csproj", "{0FC872CE-1E42-4D67-B228-87A28D96E9CB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault.Test", "SeedSingleUrlEnvironmentNoDefault.Test\SeedSingleUrlEnvironmentNoDefault.Test.csproj", "{EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedSingleUrlEnvironmentNoDefault.Test", "SeedSingleUrlEnvironmentNoDefault.Test\SeedSingleUrlEnvironmentNoDefault.Test.csproj", "{2795C342-21B8-4574-8205-614CE32070CF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {599FA3A0-E611-4B88-B965-34584B12BFB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {599FA3A0-E611-4B88-B965-34584B12BFB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {599FA3A0-E611-4B88-B965-34584B12BFB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {599FA3A0-E611-4B88-B965-34584B12BFB6}.Release|Any CPU.Build.0 = Release|Any CPU
- {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EB05C139-D8C0-4EA6-83B1-90EE9602DFA4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0FC872CE-1E42-4D67-B228-87A28D96E9CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0FC872CE-1E42-4D67-B228-87A28D96E9CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0FC872CE-1E42-4D67-B228-87A28D96E9CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0FC872CE-1E42-4D67-B228-87A28D96E9CB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2795C342-21B8-4574-8205-614CE32070CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2795C342-21B8-4574-8205-614CE32070CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2795C342-21B8-4574-8205-614CE32070CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2795C342-21B8-4574-8205-614CE32070CF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/streaming-parameter/.github/workflows/ci.yml b/seed/csharp-sdk/streaming-parameter/.github/workflows/ci.yml
index 77ce56f6a73..6b712dc7cdc 100644
--- a/seed/csharp-sdk/streaming-parameter/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/streaming-parameter/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedStreaming --no-build --no-restore -c Release
dotnet nuget push src/SeedStreaming/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj
index 77d9031c2ce..1d0fac03967 100644
--- a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj
+++ b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.Test/SeedStreaming.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.sln b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.sln
index 382c39c4d8d..943a04b8817 100644
--- a/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.sln
+++ b/seed/csharp-sdk/streaming-parameter/src/SeedStreaming.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{053746D4-8B1D-45D1-B7E4-E72F0F1FA544}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{B9D7931B-26FD-4EFE-B378-D1BF36FD2557}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{F911A492-0AE9-4EDF-8F65-5B4EAACD746D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{05B07EE9-E49D-4DBF-9FD6-7BD913282C0B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {053746D4-8B1D-45D1-B7E4-E72F0F1FA544}.Release|Any CPU.Build.0 = Release|Any CPU
- {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F911A492-0AE9-4EDF-8F65-5B4EAACD746D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B9D7931B-26FD-4EFE-B378-D1BF36FD2557}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B9D7931B-26FD-4EFE-B378-D1BF36FD2557}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B9D7931B-26FD-4EFE-B378-D1BF36FD2557}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B9D7931B-26FD-4EFE-B378-D1BF36FD2557}.Release|Any CPU.Build.0 = Release|Any CPU
+ {05B07EE9-E49D-4DBF-9FD6-7BD913282C0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {05B07EE9-E49D-4DBF-9FD6-7BD913282C0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {05B07EE9-E49D-4DBF-9FD6-7BD913282C0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {05B07EE9-E49D-4DBF-9FD6-7BD913282C0B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/streaming/.github/workflows/ci.yml b/seed/csharp-sdk/streaming/.github/workflows/ci.yml
index 77ce56f6a73..6b712dc7cdc 100644
--- a/seed/csharp-sdk/streaming/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/streaming/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedStreaming --no-build --no-restore -c Release
dotnet nuget push src/SeedStreaming/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj
index 77d9031c2ce..1d0fac03967 100644
--- a/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj
+++ b/seed/csharp-sdk/streaming/src/SeedStreaming.Test/SeedStreaming.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/streaming/src/SeedStreaming.sln b/seed/csharp-sdk/streaming/src/SeedStreaming.sln
index d6f22f11a37..1e0fe59e38e 100644
--- a/seed/csharp-sdk/streaming/src/SeedStreaming.sln
+++ b/seed/csharp-sdk/streaming/src/SeedStreaming.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{9C6379BA-50F2-4585-8160-2B1674E0A1BD}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming", "SeedStreaming\SeedStreaming.csproj", "{749D4A0C-7EC0-4C9A-A2C5-0D5CC9964A0E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{DEE82217-0872-43BE-B212-478EC322BD51}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedStreaming.Test", "SeedStreaming.Test\SeedStreaming.Test.csproj", "{70F04736-5C76-4F5A-AEA2-8E8CADE40DAB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9C6379BA-50F2-4585-8160-2B1674E0A1BD}.Release|Any CPU.Build.0 = Release|Any CPU
- {DEE82217-0872-43BE-B212-478EC322BD51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DEE82217-0872-43BE-B212-478EC322BD51}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DEE82217-0872-43BE-B212-478EC322BD51}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DEE82217-0872-43BE-B212-478EC322BD51}.Release|Any CPU.Build.0 = Release|Any CPU
+ {749D4A0C-7EC0-4C9A-A2C5-0D5CC9964A0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {749D4A0C-7EC0-4C9A-A2C5-0D5CC9964A0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {749D4A0C-7EC0-4C9A-A2C5-0D5CC9964A0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {749D4A0C-7EC0-4C9A-A2C5-0D5CC9964A0E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {70F04736-5C76-4F5A-AEA2-8E8CADE40DAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {70F04736-5C76-4F5A-AEA2-8E8CADE40DAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {70F04736-5C76-4F5A-AEA2-8E8CADE40DAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {70F04736-5C76-4F5A-AEA2-8E8CADE40DAB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/trace/.github/workflows/ci.yml b/seed/csharp-sdk/trace/.github/workflows/ci.yml
index 063b8125cce..74e6cae8f9c 100644
--- a/seed/csharp-sdk/trace/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/trace/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedTrace --no-build --no-restore -c Release
dotnet nuget push src/SeedTrace/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj b/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj
index ddcf1a5d704..0ab6a4a0b39 100644
--- a/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj
+++ b/seed/csharp-sdk/trace/src/SeedTrace.Test/SeedTrace.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/trace/src/SeedTrace.sln b/seed/csharp-sdk/trace/src/SeedTrace.sln
index b7d8adcce65..398e7467539 100644
--- a/seed/csharp-sdk/trace/src/SeedTrace.sln
+++ b/seed/csharp-sdk/trace/src/SeedTrace.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace", "SeedTrace\SeedTrace.csproj", "{0FAD5CEB-103E-4896-B1C5-F365170B583A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace", "SeedTrace\SeedTrace.csproj", "{E9A363EE-6563-46BD-A1AE-484567561BAB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace.Test", "SeedTrace.Test\SeedTrace.Test.csproj", "{A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedTrace.Test", "SeedTrace.Test\SeedTrace.Test.csproj", "{0B2ACEC7-D1EC-4B50-9AD5-0C3201B6B388}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0FAD5CEB-103E-4896-B1C5-F365170B583A}.Release|Any CPU.Build.0 = Release|Any CPU
- {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A9BF564B-224E-4BEB-8C2C-EC71EEA8E350}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E9A363EE-6563-46BD-A1AE-484567561BAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E9A363EE-6563-46BD-A1AE-484567561BAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E9A363EE-6563-46BD-A1AE-484567561BAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E9A363EE-6563-46BD-A1AE-484567561BAB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0B2ACEC7-D1EC-4B50-9AD5-0C3201B6B388}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0B2ACEC7-D1EC-4B50-9AD5-0C3201B6B388}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0B2ACEC7-D1EC-4B50-9AD5-0C3201B6B388}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0B2ACEC7-D1EC-4B50-9AD5-0C3201B6B388}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/undiscriminated-unions/.github/workflows/ci.yml b/seed/csharp-sdk/undiscriminated-unions/.github/workflows/ci.yml
index 29bc82e7849..56cacc6f904 100644
--- a/seed/csharp-sdk/undiscriminated-unions/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/undiscriminated-unions/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedUndiscriminatedUnions --no-build --no-restore -c Release
dotnet nuget push src/SeedUndiscriminatedUnions/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj
index c08f58082d3..8b2a352bfd7 100644
--- a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj
+++ b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.Test/SeedUndiscriminatedUnions.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln
index 5f072ce6d37..55fd2c1643d 100644
--- a/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln
+++ b/seed/csharp-sdk/undiscriminated-unions/src/SeedUndiscriminatedUnions.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions", "SeedUndiscriminatedUnions\SeedUndiscriminatedUnions.csproj", "{4F5F2545-093A-4830-BB1A-F7381C25B863}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions", "SeedUndiscriminatedUnions\SeedUndiscriminatedUnions.csproj", "{2FB90C1D-8EBF-45E4-A9A6-DC83654C7A16}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions.Test", "SeedUndiscriminatedUnions.Test\SeedUndiscriminatedUnions.Test.csproj", "{3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUndiscriminatedUnions.Test", "SeedUndiscriminatedUnions.Test\SeedUndiscriminatedUnions.Test.csproj", "{156FA44A-375C-40A1-B445-CDEEC882B7F6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {4F5F2545-093A-4830-BB1A-F7381C25B863}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4F5F2545-093A-4830-BB1A-F7381C25B863}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4F5F2545-093A-4830-BB1A-F7381C25B863}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4F5F2545-093A-4830-BB1A-F7381C25B863}.Release|Any CPU.Build.0 = Release|Any CPU
- {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3D1FD920-F9E5-4D97-A27A-5ED486EE5FA8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2FB90C1D-8EBF-45E4-A9A6-DC83654C7A16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2FB90C1D-8EBF-45E4-A9A6-DC83654C7A16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2FB90C1D-8EBF-45E4-A9A6-DC83654C7A16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2FB90C1D-8EBF-45E4-A9A6-DC83654C7A16}.Release|Any CPU.Build.0 = Release|Any CPU
+ {156FA44A-375C-40A1-B445-CDEEC882B7F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {156FA44A-375C-40A1-B445-CDEEC882B7F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {156FA44A-375C-40A1-B445-CDEEC882B7F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {156FA44A-375C-40A1-B445-CDEEC882B7F6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/unions/.github/workflows/ci.yml b/seed/csharp-sdk/unions/.github/workflows/ci.yml
index 3aea2072ef7..567a0737486 100644
--- a/seed/csharp-sdk/unions/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/unions/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedUnions --no-build --no-restore -c Release
dotnet nuget push src/SeedUnions/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj b/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj
index 1aab7bd3a92..10dd147ecf0 100644
--- a/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj
+++ b/seed/csharp-sdk/unions/src/SeedUnions.Test/SeedUnions.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/unions/src/SeedUnions.sln b/seed/csharp-sdk/unions/src/SeedUnions.sln
index 24dd91c9d82..65cb4b24621 100644
--- a/seed/csharp-sdk/unions/src/SeedUnions.sln
+++ b/seed/csharp-sdk/unions/src/SeedUnions.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions", "SeedUnions\SeedUnions.csproj", "{4FDF06C1-8A72-4142-8B65-0C03128B52EF}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions", "SeedUnions\SeedUnions.csproj", "{A001C1F2-650E-4E59-8751-31C200BBB57B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions.Test", "SeedUnions.Test\SeedUnions.Test.csproj", "{6F1A5A3B-BE41-4646-90D4-7687157B2306}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnions.Test", "SeedUnions.Test\SeedUnions.Test.csproj", "{8A616CD4-6BC9-49F4-A9DA-3D829B32AC1D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4FDF06C1-8A72-4142-8B65-0C03128B52EF}.Release|Any CPU.Build.0 = Release|Any CPU
- {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6F1A5A3B-BE41-4646-90D4-7687157B2306}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A001C1F2-650E-4E59-8751-31C200BBB57B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A001C1F2-650E-4E59-8751-31C200BBB57B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A001C1F2-650E-4E59-8751-31C200BBB57B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A001C1F2-650E-4E59-8751-31C200BBB57B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8A616CD4-6BC9-49F4-A9DA-3D829B32AC1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8A616CD4-6BC9-49F4-A9DA-3D829B32AC1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8A616CD4-6BC9-49F4-A9DA-3D829B32AC1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8A616CD4-6BC9-49F4-A9DA-3D829B32AC1D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/unknown/.github/workflows/ci.yml b/seed/csharp-sdk/unknown/.github/workflows/ci.yml
index a179df91cda..ac929576c8e 100644
--- a/seed/csharp-sdk/unknown/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/unknown/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedUnknownAsAny --no-build --no-restore -c Release
dotnet nuget push src/SeedUnknownAsAny/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj
index a79c4d294b8..cfb55438465 100644
--- a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj
+++ b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.Test/SeedUnknownAsAny.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.sln b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.sln
index 51d73bb2dfe..f5d3de0e8d4 100644
--- a/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.sln
+++ b/seed/csharp-sdk/unknown/src/SeedUnknownAsAny.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny", "SeedUnknownAsAny\SeedUnknownAsAny.csproj", "{7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny", "SeedUnknownAsAny\SeedUnknownAsAny.csproj", "{BF8DE318-F523-4AC6-921D-55792E9DEF42}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny.Test", "SeedUnknownAsAny.Test\SeedUnknownAsAny.Test.csproj", "{EAFE08CF-4653-470C-B769-0A2D01E7DEFD}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedUnknownAsAny.Test", "SeedUnknownAsAny.Test\SeedUnknownAsAny.Test.csproj", "{492A3B8B-9B7F-4975-8FB9-2C96595E8AC1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7F1C2B2E-5A1C-4D31-9409-D42E3442BF7F}.Release|Any CPU.Build.0 = Release|Any CPU
- {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EAFE08CF-4653-470C-B769-0A2D01E7DEFD}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BF8DE318-F523-4AC6-921D-55792E9DEF42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BF8DE318-F523-4AC6-921D-55792E9DEF42}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BF8DE318-F523-4AC6-921D-55792E9DEF42}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BF8DE318-F523-4AC6-921D-55792E9DEF42}.Release|Any CPU.Build.0 = Release|Any CPU
+ {492A3B8B-9B7F-4975-8FB9-2C96595E8AC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {492A3B8B-9B7F-4975-8FB9-2C96595E8AC1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {492A3B8B-9B7F-4975-8FB9-2C96595E8AC1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {492A3B8B-9B7F-4975-8FB9-2C96595E8AC1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/validation/.github/workflows/ci.yml b/seed/csharp-sdk/validation/.github/workflows/ci.yml
index cc13da26dc8..3a42eb82400 100644
--- a/seed/csharp-sdk/validation/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/validation/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedValidation --no-build --no-restore -c Release
dotnet nuget push src/SeedValidation/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj b/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj
index 7265c8587af..a505a994a07 100644
--- a/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj
+++ b/seed/csharp-sdk/validation/src/SeedValidation.Test/SeedValidation.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/validation/src/SeedValidation.sln b/seed/csharp-sdk/validation/src/SeedValidation.sln
index eda061252db..5756780e18c 100644
--- a/seed/csharp-sdk/validation/src/SeedValidation.sln
+++ b/seed/csharp-sdk/validation/src/SeedValidation.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation", "SeedValidation\SeedValidation.csproj", "{2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation", "SeedValidation\SeedValidation.csproj", "{A9A2F8D1-D0E4-4F70-B79E-4B050AC24C8C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation.Test", "SeedValidation.Test\SeedValidation.Test.csproj", "{6E3B5574-CC04-4654-BCA5-73DB29EBC69A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedValidation.Test", "SeedValidation.Test\SeedValidation.Test.csproj", "{85FFDFA9-B038-4EFD-A400-9C8A889CD925}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2E25ACC3-BB58-4CD1-8BB2-0E6A0D9BDE2A}.Release|Any CPU.Build.0 = Release|Any CPU
- {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6E3B5574-CC04-4654-BCA5-73DB29EBC69A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A9A2F8D1-D0E4-4F70-B79E-4B050AC24C8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A9A2F8D1-D0E4-4F70-B79E-4B050AC24C8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A9A2F8D1-D0E4-4F70-B79E-4B050AC24C8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A9A2F8D1-D0E4-4F70-B79E-4B050AC24C8C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85FFDFA9-B038-4EFD-A400-9C8A889CD925}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85FFDFA9-B038-4EFD-A400-9C8A889CD925}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85FFDFA9-B038-4EFD-A400-9C8A889CD925}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85FFDFA9-B038-4EFD-A400-9C8A889CD925}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/variables/.github/workflows/ci.yml b/seed/csharp-sdk/variables/.github/workflows/ci.yml
index de9414991ed..443f2103cde 100644
--- a/seed/csharp-sdk/variables/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/variables/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedVariables --no-build --no-restore -c Release
dotnet nuget push src/SeedVariables/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj b/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj
index 476174f5e6e..51191a12806 100644
--- a/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj
+++ b/seed/csharp-sdk/variables/src/SeedVariables.Test/SeedVariables.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/variables/src/SeedVariables.sln b/seed/csharp-sdk/variables/src/SeedVariables.sln
index 1f1cc13b763..c30f87354e4 100644
--- a/seed/csharp-sdk/variables/src/SeedVariables.sln
+++ b/seed/csharp-sdk/variables/src/SeedVariables.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables", "SeedVariables\SeedVariables.csproj", "{94101465-540F-4874-83EC-5EBF59D6F3F5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables", "SeedVariables\SeedVariables.csproj", "{E0533052-EA62-407A-A579-D39F39CF1BE9}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables.Test", "SeedVariables.Test\SeedVariables.Test.csproj", "{8CA39C83-F1B7-4161-8948-BBB39D189855}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVariables.Test", "SeedVariables.Test\SeedVariables.Test.csproj", "{D224DEB6-B142-4779-87E0-25CD49444CB5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {94101465-540F-4874-83EC-5EBF59D6F3F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {94101465-540F-4874-83EC-5EBF59D6F3F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {94101465-540F-4874-83EC-5EBF59D6F3F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {94101465-540F-4874-83EC-5EBF59D6F3F5}.Release|Any CPU.Build.0 = Release|Any CPU
- {8CA39C83-F1B7-4161-8948-BBB39D189855}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8CA39C83-F1B7-4161-8948-BBB39D189855}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8CA39C83-F1B7-4161-8948-BBB39D189855}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8CA39C83-F1B7-4161-8948-BBB39D189855}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E0533052-EA62-407A-A579-D39F39CF1BE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E0533052-EA62-407A-A579-D39F39CF1BE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E0533052-EA62-407A-A579-D39F39CF1BE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E0533052-EA62-407A-A579-D39F39CF1BE9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D224DEB6-B142-4779-87E0-25CD49444CB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D224DEB6-B142-4779-87E0-25CD49444CB5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D224DEB6-B142-4779-87E0-25CD49444CB5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D224DEB6-B142-4779-87E0-25CD49444CB5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/version-no-default/.github/workflows/ci.yml b/seed/csharp-sdk/version-no-default/.github/workflows/ci.yml
index f06daf98be7..55e28a40524 100644
--- a/seed/csharp-sdk/version-no-default/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/version-no-default/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedVersion --no-build --no-restore -c Release
dotnet nuget push src/SeedVersion/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj
index 22fcd57b3cb..94ebb3c1190 100644
--- a/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj
+++ b/seed/csharp-sdk/version-no-default/src/SeedVersion.Test/SeedVersion.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/version-no-default/src/SeedVersion.sln b/seed/csharp-sdk/version-no-default/src/SeedVersion.sln
index 4941e4bb1d1..236f3cc22d3 100644
--- a/seed/csharp-sdk/version-no-default/src/SeedVersion.sln
+++ b/seed/csharp-sdk/version-no-default/src/SeedVersion.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{56B8A7E9-E533-4917-B131-7E5B2BFF40D2}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{85AFBCE2-1D9D-4CA2-9EC3-7D353C32ADD2}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{D393FF4C-B58D-4A40-84A9-2E42B365C769}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{B955E325-0F0B-4255-A62B-D432EC6C63AE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {56B8A7E9-E533-4917-B131-7E5B2BFF40D2}.Release|Any CPU.Build.0 = Release|Any CPU
- {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D393FF4C-B58D-4A40-84A9-2E42B365C769}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85AFBCE2-1D9D-4CA2-9EC3-7D353C32ADD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85AFBCE2-1D9D-4CA2-9EC3-7D353C32ADD2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85AFBCE2-1D9D-4CA2-9EC3-7D353C32ADD2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85AFBCE2-1D9D-4CA2-9EC3-7D353C32ADD2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B955E325-0F0B-4255-A62B-D432EC6C63AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B955E325-0F0B-4255-A62B-D432EC6C63AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B955E325-0F0B-4255-A62B-D432EC6C63AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B955E325-0F0B-4255-A62B-D432EC6C63AE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/version/.github/workflows/ci.yml b/seed/csharp-sdk/version/.github/workflows/ci.yml
index f06daf98be7..55e28a40524 100644
--- a/seed/csharp-sdk/version/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/version/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedVersion --no-build --no-restore -c Release
dotnet nuget push src/SeedVersion/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj b/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj
index 22fcd57b3cb..94ebb3c1190 100644
--- a/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj
+++ b/seed/csharp-sdk/version/src/SeedVersion.Test/SeedVersion.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/version/src/SeedVersion.sln b/seed/csharp-sdk/version/src/SeedVersion.sln
index 1b038f192c8..ce11647a6b8 100644
--- a/seed/csharp-sdk/version/src/SeedVersion.sln
+++ b/seed/csharp-sdk/version/src/SeedVersion.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{6838D551-7915-43DE-853E-BA78EF928350}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion", "SeedVersion\SeedVersion.csproj", "{C1B90EC1-0059-4EA3-9FD6-BBD28ECF57C7}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{FD9FF355-A009-4A59-8ADF-77A7B462391B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedVersion.Test", "SeedVersion.Test\SeedVersion.Test.csproj", "{00B4009B-3826-405B-973B-1F4937C28137}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6838D551-7915-43DE-853E-BA78EF928350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6838D551-7915-43DE-853E-BA78EF928350}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6838D551-7915-43DE-853E-BA78EF928350}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6838D551-7915-43DE-853E-BA78EF928350}.Release|Any CPU.Build.0 = Release|Any CPU
- {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FD9FF355-A009-4A59-8ADF-77A7B462391B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C1B90EC1-0059-4EA3-9FD6-BBD28ECF57C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C1B90EC1-0059-4EA3-9FD6-BBD28ECF57C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C1B90EC1-0059-4EA3-9FD6-BBD28ECF57C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C1B90EC1-0059-4EA3-9FD6-BBD28ECF57C7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {00B4009B-3826-405B-973B-1F4937C28137}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {00B4009B-3826-405B-973B-1F4937C28137}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {00B4009B-3826-405B-973B-1F4937C28137}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {00B4009B-3826-405B-973B-1F4937C28137}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/seed/csharp-sdk/websocket/.github/workflows/ci.yml b/seed/csharp-sdk/websocket/.github/workflows/ci.yml
index ae4a115baae..8d71d40bbbb 100644
--- a/seed/csharp-sdk/websocket/.github/workflows/ci.yml
+++ b/seed/csharp-sdk/websocket/.github/workflows/ci.yml
@@ -1,69 +1,49 @@
-name: ci
+name: CI
on: [push]
+env:
+ CI: true
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ DOTNET_NOLOGO: true
+ MSBUILDTERMINALLOGGER: off
+
jobs:
- compile:
+ CI:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
+ uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.x
+ dotnet-version: |
+ 9.x
+ 8.x
- - name: Install tools
- run: |
- dotnet tool restore
-
- - name: Build Release
- run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
-
- unit-tests:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
-
- - uses: actions/checkout@master
-
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: List SDKs
+ run: dotnet --list-sdks
- name: Install tools
- run: |
- dotnet tool restore
-
- - name: Run Tests
- run: |
- dotnet test src
-
+ run: dotnet tool restore
- publish:
- needs: [compile]
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
- runs-on: ubuntu-latest
+ - name: Restore dependencies
+ run: dotnet restore src
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ - name: Build release
+ id: build
+ run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
- - name: Setup .NET
- uses: actions/setup-dotnet@v1
- with:
- dotnet-version: 8.x
+ - name: Run tests
+ run: dotnet test src --no-restore --no-build -c Release /p:ContinuousIntegrationBuild=true
+ continue-on-error: true
- - name: Publish
+ - name: Publish to nuget.org
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && steps.build.outcome == 'success'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_TOKEN }}
run: |
- dotnet pack src -c Release
+ dotnet pack src/SeedWebsocket --no-build --no-restore -c Release
dotnet nuget push src/SeedWebsocket/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
diff --git a/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj b/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj
index b1ba647bca0..45313df936a 100644
--- a/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj
+++ b/seed/csharp-sdk/websocket/src/SeedWebsocket.Test/SeedWebsocket.Test.csproj
@@ -4,7 +4,6 @@
net8.0
enable
enable
-
false
true
diff --git a/seed/csharp-sdk/websocket/src/SeedWebsocket.sln b/seed/csharp-sdk/websocket/src/SeedWebsocket.sln
index ce132b86c4d..1eea15bfdef 100644
--- a/seed/csharp-sdk/websocket/src/SeedWebsocket.sln
+++ b/seed/csharp-sdk/websocket/src/SeedWebsocket.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket", "SeedWebsocket\SeedWebsocket.csproj", "{61FDB802-61C3-42BD-90DA-99ACD34BAC31}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket", "SeedWebsocket\SeedWebsocket.csproj", "{4EF017F7-DB5A-4CFE-80F3-F64138B7E1A0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket.Test", "SeedWebsocket.Test\SeedWebsocket.Test.csproj", "{11C9A093-B3CD-4397-BB50-177A56B34DAC}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeedWebsocket.Test", "SeedWebsocket.Test\SeedWebsocket.Test.csproj", "{9F59F29C-2EB0-449C-BC42-BD35D0E157D2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {61FDB802-61C3-42BD-90DA-99ACD34BAC31}.Release|Any CPU.Build.0 = Release|Any CPU
- {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {11C9A093-B3CD-4397-BB50-177A56B34DAC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4EF017F7-DB5A-4CFE-80F3-F64138B7E1A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4EF017F7-DB5A-4CFE-80F3-F64138B7E1A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4EF017F7-DB5A-4CFE-80F3-F64138B7E1A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4EF017F7-DB5A-4CFE-80F3-F64138B7E1A0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9F59F29C-2EB0-449C-BC42-BD35D0E157D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9F59F29C-2EB0-449C-BC42-BD35D0E157D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9F59F29C-2EB0-449C-BC42-BD35D0E157D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9F59F29C-2EB0-449C-BC42-BD35D0E157D2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal