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 8 files changed +45
-54
lines changed Original file line number Diff line number Diff line change 5
5
<Description >Powertools for AWS Lambda (.NET) - BatchProcessing package.</Description >
6
6
<AssemblyName >AWS.Lambda.Powertools.BatchProcessing</AssemblyName >
7
7
<RootNamespace >AWS.Lambda.Powertools.BatchProcessing</RootNamespace >
8
+ <IncludeCommonFiles >true</IncludeCommonFiles >
8
9
</PropertyGroup >
9
10
<ItemGroup >
10
11
<!-- Package versions are Centrally managed in Directory.Packages.props file -->
11
12
<!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
12
13
<PackageReference Include =" Amazon.Lambda.DynamoDBEvents" />
13
14
<PackageReference Include =" Amazon.Lambda.KinesisEvents" />
14
15
<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'" />
19
17
</ItemGroup >
20
18
</Project >
Original file line number Diff line number Diff line change 6
6
<Description >Powertools for AWS Lambda (.NET) - Idempotency package.</Description >
7
7
<AssemblyName >AWS.Lambda.Powertools.Idempotency</AssemblyName >
8
8
<RootNamespace >AWS.Lambda.Powertools.Idempotency</RootNamespace >
9
+ <IncludeCommonFiles >true</IncludeCommonFiles >
9
10
</PropertyGroup >
10
11
11
12
14
15
<!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
15
16
<PackageReference Include =" Amazon.Lambda.Core" />
16
17
<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\**" />
25
32
</ItemGroup >
26
33
</Project >
Original file line number Diff line number Diff line change 6
6
<Description >Powertools for AWS Lambda (.NET) - Logging package.</Description >
7
7
<AssemblyName >AWS.Lambda.Powertools.Logging</AssemblyName >
8
8
<RootNamespace >AWS.Lambda.Powertools.Logging</RootNamespace >
9
+ <IncludeCommonFiles >true</IncludeCommonFiles >
9
10
</PropertyGroup >
10
11
11
12
<ItemGroup >
12
13
<!-- Package versions are Centrally managed in Directory.Packages.props file -->
13
14
<!-- 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'" />
19
17
</ItemGroup >
20
-
18
+
21
19
</Project >
Original file line number Diff line number Diff line change 5
5
<Description >Powertools for AWS Lambda (.NET) - Metrics package.</Description >
6
6
<AssemblyName >AWS.Lambda.Powertools.Metrics</AssemblyName >
7
7
<RootNamespace >AWS.Lambda.Powertools.Metrics</RootNamespace >
8
+ <IncludeCommonFiles >true</IncludeCommonFiles >
8
9
</PropertyGroup >
9
10
10
11
<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'" />
15
13
</ItemGroup >
16
14
17
15
<ItemGroup >
Original file line number Diff line number Diff line change 8
8
<Description >Powertools for AWS Lambda (.NET) - Parameters package.</Description >
9
9
<AssemblyName >AWS.Lambda.Powertools.Parameters</AssemblyName >
10
10
<RootNamespace >AWS.Lambda.Powertools.Parameters</RootNamespace >
11
+ <IncludeCommonFiles >true</IncludeCommonFiles >
11
12
</PropertyGroup >
12
13
13
14
<ItemGroup >
19
20
<PackageReference Include =" AWSSDK.SecretsManager" />
20
21
<PackageReference Include =" AWSSDK.SimpleSystemsManagement" />
21
22
<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'" />
26
24
</ItemGroup >
27
25
28
26
</Project >
Original file line number Diff line number Diff line change 6
6
<Description >Powertools for AWS Lambda (.NET) - Tracing package.</Description >
7
7
<AssemblyName >AWS.Lambda.Powertools.Tracing</AssemblyName >
8
8
<RootNamespace >AWS.Lambda.Powertools.Tracing</RootNamespace >
9
+
10
+ <IncludeCommonFiles >true</IncludeCommonFiles >
9
11
</PropertyGroup >
10
12
11
13
<ItemGroup >
14
16
<PackageReference Include =" AWSSDK.XRay" />
15
17
<PackageReference Include =" AWSXRayRecorder.Core" />
16
18
<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'" />
21
20
</ItemGroup >
22
21
23
22
Original file line number Diff line number Diff line change 26
26
<EnableTrimAnalyzer >true</EnableTrimAnalyzer >
27
27
<IsAotCompatible >true</IsAotCompatible >
28
28
</PropertyGroup >
29
-
29
+
30
30
<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\**" />
33
45
</ItemGroup >
34
-
35
-
46
+
47
+
36
48
</Project >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments