File tree Expand file tree Collapse file tree 9 files changed +17
-22
lines changed
examples/Tracing/src/HelloWorld
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 9 files changed +17
-22
lines changed Original file line number Diff line number Diff line change 8
8
<PackageReference Include =" Amazon.Lambda.Core" Version =" 2.5.0" />
9
9
<PackageReference Include =" Amazon.Lambda.APIGatewayEvents" Version =" 2.7.0" />
10
10
<PackageReference Include =" Amazon.Lambda.Serialization.SystemTextJson" Version =" 2.4.4" />
11
- <PackageReference Include =" AWS.Lambda.Powertools.Logging" Version =" 1.6.5 " />
11
+ <PackageReference Include =" AWS.Lambda.Powertools.Logging" Version =" 2.0.3 " />
12
12
<PackageReference Include =" AWS.Lambda.Powertools.Tracing" Version =" 1.6.1" />
13
13
<PackageReference Include =" AWSSDK.DynamoDBv2" Version =" 3.7.301.18" />
14
14
</ItemGroup >
Original file line number Diff line number Diff line change 13
13
<PackageReference Include =" Amazon.Lambda.DynamoDBEvents" />
14
14
<PackageReference Include =" Amazon.Lambda.KinesisEvents" />
15
15
<PackageReference Include =" Amazon.Lambda.SQSEvents" />
16
- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
16
+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition = " '$(Configuration)'=='Debug' " />
17
17
</ItemGroup >
18
18
</Project >
Original file line number Diff line number Diff line change 15
15
<!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
16
16
<PackageReference Include =" Amazon.Lambda.Core" />
17
17
<PackageReference Include =" AWSSDK.DynamoDBv2" />
18
- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
18
+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition = " '$(Configuration)'=='Debug' " />
19
19
<ProjectReference Include =" ..\AWS.Lambda.Powertools.JMESPath\AWS.Lambda.Powertools.JMESPath.csproj" Condition =" '$(Configuration)'=='Debug'" />
20
20
</ItemGroup >
21
21
Original file line number Diff line number Diff line change 16
16
<PackageReference Include =" Amazon.Lambda.Serialization.SystemTextJson" />
17
17
<PackageReference Include =" Microsoft.Extensions.Logging" />
18
18
<PackageReference Include =" Microsoft.Extensions.Logging.Configuration" />
19
- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
19
+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition = " '$(Configuration)'=='Debug' " />
20
20
</ItemGroup >
21
21
22
22
</Project >
Original file line number Diff line number Diff line change 9
9
</PropertyGroup >
10
10
11
11
<ItemGroup >
12
- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
12
+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition = " '$(Configuration)'=='Debug' " />
13
13
</ItemGroup >
14
14
15
15
<ItemGroup >
Original file line number Diff line number Diff line change 20
20
<PackageReference Include =" AWSSDK.SecretsManager" />
21
21
<PackageReference Include =" AWSSDK.SimpleSystemsManagement" />
22
22
<PackageReference Include =" Microsoft.Extensions.Configuration" />
23
- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
23
+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition = " '$(Configuration)'=='Debug' " />
24
24
</ItemGroup >
25
25
26
26
</Project >
Original file line number Diff line number Diff line change 17
17
<PackageReference Include =" AWSXRayRecorder.Core" />
18
18
<PackageReference Include =" AWSXRayRecorder.Handlers.AwsSdk" />
19
19
<PackageReference Include =" Amazon.Lambda.Serialization.SystemTextJson" />
20
- <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
20
+ <ProjectReference Include =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition = " '$(Configuration)'=='Debug' " />
21
21
</ItemGroup >
22
22
23
23
Original file line number Diff line number Diff line change 35
35
36
36
<!-- Include Common files in projects that reference AWS.Lambda.Powertools.Common -->
37
37
<!-- This is needed because of the way nuget expects dependencies to be nuget packages as well which is not what we want -->
38
- <Target Name =" CopyCommonFilesAfterAspect"
39
- AfterTargets =" AfterCompile"
40
- BeforeTargets =" GenerateNuspec"
41
- Condition =" '$(IncludeCommonFiles)' == 'true' AND'$(Configuration)'=='Release'" >
42
- <ItemGroup >
43
- <ProjectReference Remove =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
44
- <PackageReference Include =" AspectInjector" />
38
+ <ItemGroup Condition =" '$(IncludeCommonFiles)' == 'true' AND '$(Configuration)'=='Release'" >
39
+
40
+ <ProjectReference Remove =" ..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
41
+ <PackageReference Include =" AspectInjector" />
42
+ <Compile Include =" ..\AWS.Lambda.Powertools.Common\**\*.cs" >
43
+ <Link >Common\%(RecursiveDir)%(Filename)%(Extension)</Link >
44
+ </Compile >
45
+ <Compile Remove =" ..\AWS.Lambda.Powertools.Common\obj\**" />
46
+ </ItemGroup >
45
47
46
- <CommonSourceFiles Include =" ..\AWS.Lambda.Powertools.Common\**\*.cs"
47
- Exclude =" ..\AWS.Lambda.Powertools.Common\obj\**" >
48
- <Link >Common\Common\</Link >
49
- </CommonSourceFiles >
50
- <Compile Include =" @(CommonSourceFiles)" />
51
- </ItemGroup >
52
- </Target >
53
48
54
49
</Project >
Original file line number Diff line number Diff line change 4
4
<IsPackable >false</IsPackable >
5
5
</PropertyGroup >
6
6
<ItemGroup >
7
- <ProjectReference Include =" ..\..\src\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
7
+ <ProjectReference Condition = " '$(Configuration)'!='Release' " Include =" ..\..\src\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" />
8
8
</ItemGroup >
9
9
</Project >
You can’t perform that action at this time.
0 commit comments