File tree Expand file tree Collapse file tree 8 files changed +16
-21
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 +16
-21
lines changed Original file line number Diff line number Diff line change 1313 <PackageReference Include =" Amazon.Lambda.DynamoDBEvents" />
1414 <PackageReference Include =" Amazon.Lambda.KinesisEvents" />
1515 <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' " />
1717 </ItemGroup >
1818</Project >
Original file line number Diff line number Diff line change 1515 <!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
1616 <PackageReference Include =" Amazon.Lambda.Core" />
1717 <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' " />
1919 <ProjectReference Include =" ..\AWS.Lambda.Powertools.JMESPath\AWS.Lambda.Powertools.JMESPath.csproj" Condition =" '$(Configuration)'=='Debug'" />
2020 </ItemGroup >
2121
Original file line number Diff line number Diff line change 1616 <PackageReference Include =" Amazon.Lambda.Serialization.SystemTextJson" />
1717 <PackageReference Include =" Microsoft.Extensions.Logging" />
1818 <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' " />
2020 </ItemGroup >
2121
2222</Project >
Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <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' " />
1313 </ItemGroup >
1414
1515 <ItemGroup >
Original file line number Diff line number Diff line change 2020 <PackageReference Include =" AWSSDK.SecretsManager" />
2121 <PackageReference Include =" AWSSDK.SimpleSystemsManagement" />
2222 <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' " />
2424 </ItemGroup >
2525
2626</Project >
Original file line number Diff line number Diff line change 1717 <PackageReference Include =" AWSXRayRecorder.Core" />
1818 <PackageReference Include =" AWSXRayRecorder.Handlers.AwsSdk" />
1919 <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' " />
2121 </ItemGroup >
2222
2323
Original file line number Diff line number Diff line change 3535
3636 <!-- Include Common files in projects that reference AWS.Lambda.Powertools.Common -->
3737 <!-- 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 >
4547
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 >
5348
5449</Project >
Original file line number Diff line number Diff line change 44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66 <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" />
88 </ItemGroup >
99</Project >
You can’t perform that action at this time.
0 commit comments