Skip to content

Commit

Permalink
Merge pull request #9 from OutSystems/net8
Browse files Browse the repository at this point in the history
.net 8 update
  • Loading branch information
diogopaulo authored Oct 24, 2024
2 parents 3b84e0b + 44cab3c commit b2d2424
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Set-ExecutionPolicy -Scope CurrentUser Unrestricted
dotnet publish -c Release -r linux-x64 --self-contained false
Compress-Archive -Path .\src\TestLambda_UltimatePDF_ExternalLogic\bin\Release\net6.0\linux-x64\publish\* -Update -DestinationPath TestLambda_UltimatePDF_ExternalLogic.zip -CompressionLevel Optimal
Compress-Archive -Path .\src\TestLambda_UltimatePDF_ExternalLogic\bin\Release\net8.0\linux-x64\publish\* -Update -DestinationPath TestLambda_UltimatePDF_ExternalLogic.zip -CompressionLevel Optimal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
Expand All @@ -11,9 +11,9 @@
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.1" />
<PackageReference Include="AWSSDK.S3" Version="3.7.308" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.3.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4" />
<PackageReference Include="AWSSDK.S3" Version="3.7.405.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\UltimatePDF_ExternalLogic\UltimatePDF_ExternalLogic.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
Expand All @@ -10,7 +10,7 @@

<ItemGroup>
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" Version="2.7.1" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.3" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion UltimatePDFLambdaAuthorizer/generate_upload_package.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Set-ExecutionPolicy -Scope CurrentUser Unrestricted
dotnet publish -c Release -r linux-x64 --self-contained false
Compress-Archive -Path .\bin\Release\net6.0\linux-x64\publish\* -Update -DestinationPath UltimatePDFLambdaAuthorizer.zip -CompressionLevel Optimal
Compress-Archive -Path .\bin\Release\net8.0\linux-x64\publish\* -Update -DestinationPath UltimatePDFLambdaAuthorizer.zip -CompressionLevel Optimal
4 changes: 2 additions & 2 deletions UltimatePDFLambdaFunctions/UltimatePDFLambdaFunctions.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
Expand Down
2 changes: 1 addition & 1 deletion UltimatePDFLambdaFunctions/generate_upload_package.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Set-ExecutionPolicy -Scope CurrentUser Unrestricted
dotnet publish -c Release -r linux-x64 --self-contained false
Compress-Archive -Path .\bin\Release\net6.0\linux-x64\publish\* -Update -DestinationPath UltimatePDFLambda.zip -CompressionLevel Optimal
Compress-Archive -Path .\bin\Release\net8.0\linux-x64\publish\* -Update -DestinationPath UltimatePDFLambda.zip -CompressionLevel Optimal
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public CustomLogger(StringBuilder log, string categoryName) {
this.categoryName = categoryName;
}

public IDisposable BeginScope<TState>(TState state) {
public IDisposable? BeginScope<TState>(TState state) where TState : notnull {
return new CustomLogger.Scope();
}

Expand Down
6 changes: 3 additions & 3 deletions UltimatePDF_ExternalLogic/UltimatePDF_ExternalLogic.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand All @@ -10,9 +10,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="HeadlessChromium.Puppeteer.Lambda.Dotnet" Version="1.1.0.82" />
<PackageReference Include="HeadlessChromium.Puppeteer.Lambda.Dotnet" Version="1.1.0.93" />
<PackageReference Include="OutSystems.ExternalLibraries.SDK" Version="1.5.0" />
<PackageReference Include="PDFsharp" Version="6.1.1" />
<PackageReference Include="PDFsharp" Version="6.2.0-preview-1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion generate_upload_package.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Remove-Item -Path .\UltimatePDF_ExternalLogic.zip -Force
Set-ExecutionPolicy -Scope CurrentUser Unrestricted
dotnet publish -c Release -r linux-x64 --self-contained false
Compress-Archive -Path .\UltimatePDF_ExternalLogic\bin\Release\net6.0\linux-x64\publish\* -Update -DestinationPath UltimatePDF_ExternalLogic.zip
Compress-Archive -Path .\UltimatePDF_ExternalLogic\bin\Release\net8.0\linux-x64\publish\* -Update -DestinationPath UltimatePDF_ExternalLogic.zip
Binary file modified oml/Ultimate PDF Tests.oml
Binary file not shown.
Binary file modified oml/Ultimate PDF.oml
Binary file not shown.

0 comments on commit b2d2424

Please sign in to comment.