File tree Expand file tree Collapse file tree 8 files changed +45
-54
lines changed
AWS.Lambda.Powertools.BatchProcessing
AWS.Lambda.Powertools.Idempotency
AWS.Lambda.Powertools.Logging
AWS.Lambda.Powertools.Metrics
AWS.Lambda.Powertools.Parameters
AWS.Lambda.Powertools.Tracing Expand file tree Collapse file tree 8 files changed +45
-54
lines changed Original file line number Diff line number Diff line change 55 <Description >Powertools for AWS Lambda (.NET) - BatchProcessing package.</Description >
66 <AssemblyName >AWS.Lambda.Powertools.BatchProcessing</AssemblyName >
77 <RootNamespace >AWS.Lambda.Powertools.BatchProcessing</RootNamespace >
8+ <IncludeCommonFiles >true</IncludeCommonFiles >
89 </PropertyGroup >
910 <ItemGroup >
1011 <!-- Package versions are Centrally managed in Directory.Packages.props file -->
1112 <!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
1213 <PackageReference Include =" Amazon.Lambda.DynamoDBEvents" />
1314 <PackageReference Include =" Amazon.Lambda.KinesisEvents" />
1415 <PackageReference Include =" Amazon.Lambda.SQSEvents" />
15- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" >
16- <Private >false</Private >
17- <ExcludeAssets >runtime</ExcludeAssets >
18- </ProjectReference >
16+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition =" '$(Configuration)'=='Debug'" />
1917 </ItemGroup >
2018</Project >
Original file line number Diff line number Diff line change 66 <Description >Powertools for AWS Lambda (.NET) - Idempotency package.</Description >
77 <AssemblyName >AWS.Lambda.Powertools.Idempotency</AssemblyName >
88 <RootNamespace >AWS.Lambda.Powertools.Idempotency</RootNamespace >
9+ <IncludeCommonFiles >true</IncludeCommonFiles >
910 </PropertyGroup >
1011
1112
1415 <!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
1516 <PackageReference Include =" Amazon.Lambda.Core" />
1617 <PackageReference Include =" AWSSDK.DynamoDBv2" />
17- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" >
18- <Private >false</Private >
19- <ExcludeAssets >runtime</ExcludeAssets >
20- </ProjectReference >
21- <ProjectReference Include =" ..\AWS.Lambda.Powertools.JMESPath\AWS.Lambda.Powertools.JMESPath.csproj" >
22- <Private >false</Private >
23- <ExcludeAssets >runtime</ExcludeAssets >
24- </ProjectReference >
18+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition =" '$(Configuration)'=='Debug'" />
19+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.JMESPath\AWS.Lambda.Powertools.JMESPath.csproj" Condition =" '$(Configuration)'=='Debug'" />
20+ </ItemGroup >
21+
22+ <!-- Include JMESPath files in projects that reference AWS.Lambda.Powertools.JMESPath -->
23+ <!-- This is needed because of the way nuget expects dependencies to be nuget packages as well which is not what we want -->
24+ <ItemGroup Condition =" '$(Configuration)'=='Release'" >
25+
26+ <ProjectReference Remove =" ..\AWS.Lambda.Powertools.JMESPath\AWS.Lambda.Powertools.JMESPath.csproj" />
27+
28+ <Compile Include =" ..\AWS.Lambda.Powertools.JMESPath\**\*.cs" >
29+ <Link >JMESPath\%(RecursiveDir)%(Filename)%(Extension)</Link >
30+ </Compile >
31+ <Compile Remove =" ..\AWS.Lambda.Powertools.JMESPath\obj\**" />
2532 </ItemGroup >
2633</Project >
Original file line number Diff line number Diff line change 66 <Description >Powertools for AWS Lambda (.NET) - Logging package.</Description >
77 <AssemblyName >AWS.Lambda.Powertools.Logging</AssemblyName >
88 <RootNamespace >AWS.Lambda.Powertools.Logging</RootNamespace >
9+ <IncludeCommonFiles >true</IncludeCommonFiles >
910 </PropertyGroup >
1011
1112 <ItemGroup >
1213 <!-- Package versions are Centrally managed in Directory.Packages.props file -->
1314 <!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
14- <PackageReference Include =" Microsoft.Extensions.Logging" />
15- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" >
16- <Private >false</Private >
17- <ExcludeAssets >runtime</ExcludeAssets >
18- </ProjectReference >
15+ <PackageReference Include =" Microsoft.Extensions.Logging" />
16+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition =" '$(Configuration)'=='Debug'" />
1917 </ItemGroup >
20-
18+
2119</Project >
Original file line number Diff line number Diff line change 55 <Description >Powertools for AWS Lambda (.NET) - Metrics package.</Description >
66 <AssemblyName >AWS.Lambda.Powertools.Metrics</AssemblyName >
77 <RootNamespace >AWS.Lambda.Powertools.Metrics</RootNamespace >
8+ <IncludeCommonFiles >true</IncludeCommonFiles >
89 </PropertyGroup >
910
1011 <ItemGroup >
11- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" >
12- <Private >false</Private >
13- <ExcludeAssets >runtime</ExcludeAssets >
14- </ProjectReference >
12+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition =" '$(Configuration)'=='Debug'" />
1513 </ItemGroup >
1614
1715 <ItemGroup >
Original file line number Diff line number Diff line change 88 <Description >Powertools for AWS Lambda (.NET) - Parameters package.</Description >
99 <AssemblyName >AWS.Lambda.Powertools.Parameters</AssemblyName >
1010 <RootNamespace >AWS.Lambda.Powertools.Parameters</RootNamespace >
11+ <IncludeCommonFiles >true</IncludeCommonFiles >
1112 </PropertyGroup >
1213
1314 <ItemGroup >
1920 <PackageReference Include =" AWSSDK.SecretsManager" />
2021 <PackageReference Include =" AWSSDK.SimpleSystemsManagement" />
2122 <PackageReference Include =" Microsoft.Extensions.Configuration" />
22- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" >
23- <Private >false</Private >
24- <ExcludeAssets >runtime</ExcludeAssets >
25- </ProjectReference >
23+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition =" '$(Configuration)'=='Debug'" />
2624 </ItemGroup >
2725
2826</Project >
Original file line number Diff line number Diff line change 66 <Description >Powertools for AWS Lambda (.NET) - Tracing package.</Description >
77 <AssemblyName >AWS.Lambda.Powertools.Tracing</AssemblyName >
88 <RootNamespace >AWS.Lambda.Powertools.Tracing</RootNamespace >
9+
10+ <IncludeCommonFiles >true</IncludeCommonFiles >
911 </PropertyGroup >
1012
1113 <ItemGroup >
1416 <PackageReference Include =" AWSSDK.XRay" />
1517 <PackageReference Include =" AWSXRayRecorder.Core" />
1618 <PackageReference Include =" AWSXRayRecorder.Handlers.AwsSdk" />
17- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" >
18- <Private >false</Private >
19- <ExcludeAssets >runtime</ExcludeAssets >
20- </ProjectReference >
19+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition =" '$(Configuration)'=='Debug'" />
2120 </ItemGroup >
2221
2322
Original file line number Diff line number Diff line change 2626 <EnableTrimAnalyzer >true</EnableTrimAnalyzer >
2727 <IsAotCompatible >true</IsAotCompatible >
2828 </PropertyGroup >
29-
29+
3030 <ItemGroup >
31- <None Include =" README.md" Pack =" true" PackagePath =" \" />
32- <None Include =" ../../AWSLogo128x128.png" Pack =" true" Visible =" false" PackagePath =" " />
31+ <None Include =" README.md" Pack =" true" PackagePath =" \" />
32+ <None Include =" ../../AWSLogo128x128.png" Pack =" true" Visible =" false" PackagePath =" " />
33+ </ItemGroup >
34+
35+ <!-- Include Common files in projects that reference AWS.Lambda.Powertools.Common -->
36+ <!-- This is needed because of the way nuget expects dependencies to be nuget packages as well which is not what we want -->
37+ <ItemGroup Condition =" '$(IncludeCommonFiles)' == 'true' AND '$(Configuration)'=='Release'" >
38+
39+ <ProjectReference Remove =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
40+ <PackageReference Include =" AspectInjector" />
41+ <Compile Include =" ..\AWS.Lambda.Powertools.Common\**\*.cs" >
42+ <Link >Common\%(RecursiveDir)%(Filename)%(Extension)</Link >
43+ </Compile >
44+ <Compile Remove =" ..\AWS.Lambda.Powertools.Common\obj\**" />
3345 </ItemGroup >
34-
35-
46+
47+
3648</Project >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments