Skip to content

Commit dc8ba13

Browse files
committed
fixed build paths
1 parent bca0dfa commit dc8ba13

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

src/Directory.Build.props

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<PropertyGroup>
77
<Authors>Vicente Penades</Authors>
8-
<Copyright>Copyright (c) 2023 Vicente Penades</Copyright>
8+
<Copyright>Copyright (c) $([System.DateTime]::Now.ToString(`yyyy`)) Vicente Penades</Copyright>
99
<Description>SharpGLTF is a C# library for reading and writing glTF2 3D models</Description>
1010
</PropertyGroup>
1111

@@ -16,11 +16,14 @@
1616
<IsPackable>true</IsPackable>
1717
</PropertyGroup>
1818

19-
<PropertyGroup>
19+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
2020
<IsTrimmable>true</IsTrimmable>
21-
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
2221
</PropertyGroup>
23-
22+
23+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
24+
<IsAotCompatible>true</IsAotCompatible>
25+
</PropertyGroup>
26+
2427
<!-- Testing & Analysers =================================================================================== -->
2528

2629
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">

src/build-alpha.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dotnet build -c:Release --version-suffix %VERSIONSUFFIX% SharpGLTF.Core\SharpGLT
77
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% SharpGLTF.Runtime\SharpGLTF.Runtime.csproj
88
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% SharpGLTF.Toolkit\SharpGLTF.Toolkit.csproj
99

10-
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% SharpGLTF.Agi\SharpGLTF.Agi.csproj
11-
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% SharpGLTF.Cesium\SharpGLTF.Cesium.csproj
10+
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% SharpGLTF.Ext.Agi\SharpGLTF.Ext.Agi.csproj
11+
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% SharpGLTF.Ext.3DTiles\SharpGLTF.Ext.3DTiles.csproj
1212

1313
pause

src/build-preview.cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ dotnet build -c:Release --version-suffix %VERSIONSUFFIX% /p:Authors=vpenades Sha
1111
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% /p:Authors=vpenades SharpGLTF.Runtime\SharpGLTF.Runtime.csproj
1212
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% /p:Authors=vpenades SharpGLTF.Toolkit\SharpGLTF.Toolkit.csproj
1313

14-
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% /p:Authors=vpenades SharpGLTF.Agi\SharpGLTF.Agi.csproj
15-
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% /p:Authors=vpenades SharpGLTF.Cesium\SharpGLTF.Cesium.csproj
14+
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% /p:Authors=vpenades SharpGLTF.Ext.Agi\SharpGLTF.Ext.Agi.csproj
15+
dotnet build -c:Release --version-suffix %VERSIONSUFFIX% /p:Authors=vpenades SharpGLTF.Ext.3DTiles\SharpGLTF.Ext.3DTiles.csproj
1616

1717
set /p DUMMY=Hit ENTER to publish nuget packages on Github...
1818

1919
dotnet nuget push "SharpGLTF.Core/bin/Release/SharpGLTF.Core.1.0.0-%VERSIONSUFFIX%.nupkg" -s "github" --force-english-output
2020
dotnet nuget push "SharpGLTF.Runtime/bin/Release/SharpGLTF.Runtime.1.0.0-%VERSIONSUFFIX%.nupkg" -s "github" --force-english-output
2121
dotnet nuget push "SharpGLTF.Toolkit/bin/Release/SharpGLTF.Toolkit.1.0.0-%VERSIONSUFFIX%.nupkg" -s "github" --force-english-output
2222

23-
dotnet nuget push "SharpGLTF.Agi/bin/Release/SharpGLTF.Agi.1.0.0-%VERSIONSUFFIX%.nupkg" -s "github" --force-english-output
24-
dotnet nuget push "SharpGLTF.Cesium/bin/Release/SharpGLTF.Cesium.1.0.0-%VERSIONSUFFIX%.nupkg" -s "github" --force-english-output
23+
dotnet nuget push "SharpGLTF.Agi/bin/Release/SharpGLTF.Ext.Agi.1.0.0-%VERSIONSUFFIX%.nupkg" -s "github" --force-english-output
24+
dotnet nuget push "SharpGLTF.Cesium/bin/Release/SharpGLTF.Ext.3DTiles.1.0.0-%VERSIONSUFFIX%.nupkg" -s "github" --force-english-output
2525

2626
pause

0 commit comments

Comments
 (0)