Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,34 @@ jobs:
build-and-test:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ]
include:
- os: ubuntu-latest
dotnet: '8.0.x'
- os: ubuntu-latest
dotnet: '9.0.x'
- os: ubuntu-latest
dotnet: '10.0.x'
- os: windows-latest
dotnet: '10.0.x'
- os: macos-latest
dotnet: '10.0.x'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Temporarily remove global.json for newer SDKs
if: matrix.dotnet != '8.0.x'
shell: bash
run: |
if [ -f global.json ]; then
mv global.json global.json.cibackup
echo "global.json moved to global.json.cibackup"
fi

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: ${{ matrix.dotnet }}

- name: Restore
run: dotnet restore
Expand All @@ -39,11 +58,18 @@ jobs:
needs: build-and-test
steps:
- uses: actions/checkout@v4
- name: Temporarily remove global.json for pack
shell: bash
run: |
if [ -f global.json ]; then
mv global.json global.json.cibackup || true
echo "global.json moved to global.json.cibackup"
fi

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'

- name: Pack
run: dotnet pack src/GeoCrsTransform/GeoCrsTransform.csproj -c Release -o out
Expand All @@ -64,10 +90,18 @@ jobs:
with:
fetch-depth: 0

- name: Temporarily remove global.json for publish
shell: bash
run: |
if [ -f global.json ]; then
mv global.json global.json.cibackup || true
echo "global.json moved to global.json.cibackup"
fi

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'

- name: Determine semantic version
id: semver
Expand Down
60 changes: 60 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
## Ignore build outputs
bin/
obj/
**/bin/
**/obj/

## Visual Studio and Rider
.vs/
*.user
*.suo
*.userosscache
*.sln.docstates
.idea/
*.sln.iml

## VS Code
.vscode/

## NuGet
*.nupkg
packages/
.nuget/
artifacts/

## Dotnet
project.lock.json
project.fragment.lock.json

## Test results
TestResults/
*.trx

## Logs
*.log

## Temp files
*.tmp
*.temp

## OS generated files
.DS_Store
Thumbs.db

## Samples/build outputs
out/
samples/**/bin/
samples/**/obj/

## Source/test build outputs
src/**/bin/
src/**/obj/
tests/**/bin/
tests/**/obj/

## IDE / tool settings
*.DotSettings.user
_ReSharper*/

## Local secrets (if present)
secrets.json
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"version": "10.0.100",
"rollForward": "latestFeature"
}
}
Binary file not shown.

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions samples/GeoCrsTransform.Sample/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\anton\\Documents\\Github\\GeoLoc\\samples\\GeoCrsTransform.Sample\\GeoCrsTransform.Sample.csproj",
"projectUniqueName": "C:\\Users\\anton\\Documents\\Github\\GeoCrsTransform\\samples\\GeoCrsTransform.Sample\\GeoCrsTransform.Sample.csproj",
"projectName": "GeoCrsTransform.Sample",
"projectPath": "C:\\Users\\anton\\Documents\\Github\\GeoLoc\\samples\\GeoCrsTransform.Sample\\GeoCrsTransform.Sample.csproj",
"projectPath": "C:\\Users\\anton\\Documents\\Github\\GeoCrsTransform\\samples\\GeoCrsTransform.Sample\\GeoCrsTransform.Sample.csproj",
"packagesPath": "C:\\Users\\anton\\.nuget\\packages\\",
"outputPath": "C:\\Users\\anton\\Documents\\Github\\GeoLoc\\samples\\GeoCrsTransform.Sample\\obj\\",
"outputPath": "C:\\Users\\anton\\Documents\\Github\\GeoCrsTransform\\samples\\GeoCrsTransform.Sample\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
Expand All @@ -58,8 +58,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\anton\\Documents\\Github\\GeoLoc\\src\\GeoCrsTransform\\GeoCrsTransform.csproj": {
"projectPath": "C:\\Users\\anton\\Documents\\Github\\GeoLoc\\src\\GeoCrsTransform\\GeoCrsTransform.csproj"
"C:\\Users\\anton\\Documents\\Github\\GeoCrsTransform\\src\\GeoCrsTransform\\GeoCrsTransform.csproj": {
"projectPath": "C:\\Users\\anton\\Documents\\Github\\GeoCrsTransform\\src\\GeoCrsTransform\\GeoCrsTransform.csproj"
}
}
}
Expand All @@ -74,7 +74,8 @@
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"SdkAnalysisLevel": "10.0.100"
},
"frameworks": {
"net8.0": {
Expand All @@ -95,7 +96,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.418/PortableRuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.103/PortableRuntimeIdentifierGraph.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions samples/GeoCrsTransform.Sample/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "3hgP+rWv+dk=",
"dgSpecHash": "zF2FqeNzfsc=",
"success": true,
"projectFilePath": "C:\\Users\\anton\\Documents\\Github\\GeoLoc\\samples\\GeoCrsTransform.Sample\\GeoCrsTransform.Sample.csproj",
"projectFilePath": "C:\\Users\\anton\\Documents\\Github\\GeoCrsTransform\\samples\\GeoCrsTransform.Sample\\GeoCrsTransform.Sample.csproj",
"expectedPackageFiles": [],
"logs": []
}
2 changes: 1 addition & 1 deletion src/GeoCrsTransform/GeoCrsTransform.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<RootNamespace>GeoCrsTransform</RootNamespace>
<PackageId>GeoCrsTransform</PackageId>
<Version>1.0.0</Version>
Expand Down
Binary file modified src/GeoCrsTransform/bin/Release/net8.0/GeoCrsTransform.dll
Binary file not shown.
Binary file modified src/GeoCrsTransform/bin/Release/net8.0/GeoCrsTransform.pdb
Binary file not shown.
Binary file not shown.
Loading