Skip to content

Commit fc3b0f3

Browse files
Merge pull request #243 from Suriya-Balamurugan/main
Revert the AWS Lambda changes for .NET 8.0 in the conversion examples
2 parents e5f4cad + be38495 commit fc3b0f3

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

Word-to-Image-conversion/Convert-Word-to-image/AWS/AWS_Lambda/Convert-Word-Document-to-Image/Convert-Word-Document-to-Image.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
@@ -21,8 +21,8 @@
2121
<ItemGroup>
2222
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
2323
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
24-
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="2.8.2.2" />
25-
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.2" />
24+
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0" />
25+
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.6" />
2626
<PackageReference Include="Syncfusion.DocIORenderer.Net.Core" Version="*" />
2727
</ItemGroup>
2828
</Project>

Word-to-Image-conversion/Convert-Word-to-image/AWS/AWS_Lambda/Convert-Word-Document-to-Image/Properties/launchSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"Mock Lambda Test Tool": {
44
"commandName": "Executable",
55
"commandLineArgs": "--port 5050",
6-
"workingDirectory": ".\\bin\\$(Configuration)\\net8.0",
7-
"executablePath": "%USERPROFILE%\\.dotnet\\tools\\dotnet-lambda-test-tool-8.0.exe"
6+
"workingDirectory": ".\\bin\\$(Configuration)\\net6.0",
7+
"executablePath": "%USERPROFILE%\\.dotnet\\tools\\dotnet-lambda-test-tool-6.0.exe"
88
}
99
}
1010
}

Word-to-Image-conversion/Convert-Word-to-image/AWS/AWS_Lambda/Convert-Word-Document-to-Image/aws-lambda-tools-defaults.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"region" : "us-east-1",
1111
"configuration" : "Release",
1212
"function-architecture" : "x86_64",
13-
"function-runtime" : "dotnet8",
13+
"function-runtime" : "dotnet6",
1414
"function-memory-size" : 256,
1515
"function-timeout" : 30,
1616
"function-handler" : "Convert-Word-Document-to-Image::Convert_Word_Document_to_Image.Function::FunctionHandler",
17-
"framework" : "net8.0",
17+
"framework" : "net6.0",
1818
"function-name" : "ConvertWordtoImage",
1919
"package-type" : "Zip",
2020
"function-role" : "arn:aws:iam::142887710098:role/LambdaRole",

Word-to-PDF-Conversion/Convert-Word-document-to-PDF/AWS/MyLamdaProject/MyLamdaProject/MyLamdaProject.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
55
<AWSProjectType>Lambda</AWSProjectType>
66
</PropertyGroup>
@@ -27,7 +27,8 @@
2727
<ItemGroup>
2828
<PackageReference Include="Amazon.Lambda.Core" Version="1.1.0" />
2929
<PackageReference Include="Amazon.Lambda.Serialization.Json" Version="1.7.0" />
30-
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="1.68.3" />
31-
<PackageReference Include="Syncfusion.DocIORenderer.Net.Core" Version="18.2.0.48" />
30+
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0" />
31+
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.6" />
32+
<PackageReference Include="Syncfusion.DocIORenderer.Net.Core" Version="*" />
3233
</ItemGroup>
3334
</Project>

Word-to-PDF-Conversion/Convert-Word-document-to-PDF/AWS/MyLamdaProject/MyLamdaProject/Properties/launchSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"Mock Lambda Test Tool": {
44
"commandName": "Executable",
55
"commandLineArgs": "--port 5050",
6-
"workingDirectory": ".\\bin\\$(Configuration)\\net8.0",
7-
"executablePath": "%USERPROFILE%\\.dotnet\\tools\\dotnet-lambda-test-tool-8.0.exe"
6+
"workingDirectory": ".\\bin\\$(Configuration)\\net6.0",
7+
"executablePath": "%USERPROFILE%\\.dotnet\\tools\\dotnet-lambda-test-tool-2.1.exe"
88
}
99
}
1010
}

Word-to-PDF-Conversion/Convert-Word-document-to-PDF/AWS/MyLamdaProject/MyLamdaProject/aws-lambda-tools-defaults.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"profile" : "AWSLAMBDA",
1010
"region" : "us-east-2",
1111
"configuration" : "Release",
12-
"framework" : "net8.0",
13-
"function-runtime" : "dotnet8",
12+
"framework" : "net6.0",
13+
"function-runtime" : "dotnet6",
1414
"function-memory-size" : 256,
1515
"function-timeout" : 30,
1616
"function-handler" : "MyLamdaProject::MyLamdaProject.Function::FunctionHandler",

0 commit comments

Comments
 (0)