File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 23
23
<PackageReference Include =" BlazorMonaco" Version =" 3.2.0" />
24
24
</ItemGroup >
25
25
26
- <Target Name =" CopyRuntimeSupportFiles" BeforeTargets =" _GetPackageFiles" >
26
+ <Target Name =" GetRuntimeSupportTargetFrameworks" >
27
+ <Exec Command =" dotnet msbuild ..\..\..\..\Libraries\src\Amazon.Lambda.RuntimeSupport\Amazon.Lambda.RuntimeSupport.csproj --getProperty:TargetFrameworks" ConsoleToMSBuild =" true" >
28
+ <Output TaskParameter =" ConsoleOutput" PropertyName =" RuntimeSupportTargetFrameworks" />
29
+ </Exec >
30
+ </Target >
31
+
32
+ <Target Name =" CopyRuntimeSupportFiles" DependsOnTargets =" GetRuntimeSupportTargetFrameworks" BeforeTargets =" _GetPackageFiles" >
27
33
<ItemGroup >
28
- <TargetFrameworks Include =" netstandard2.0;net6.0;net8.0;net9.0" />
34
+ <TempFrameworks Include =" $(RuntimeSupportTargetFrameworks.Split(';'))" />
35
+
36
+ <TargetFrameworks Include =" @(TempFrameworks)"
37
+ Condition =" '%(Identity)' != 'netstandard2.0'" />
29
38
</ItemGroup >
30
39
31
- <Exec Command =" dotnet publish " $(MSBuildThisFileDirectory)..\..\..\..\Libraries\src\Amazon.Lambda.RuntimeSupport\Amazon.Lambda.RuntimeSupport.csproj" -c $(Configuration) -f %(TargetFrameworks.Identity) /p:ExecutableOutputType=true -v n " />
40
+ <Exec Command =" dotnet publish " $(MSBuildThisFileDirectory)..\..\..\..\Libraries\src\Amazon.Lambda.RuntimeSupport\Amazon.Lambda.RuntimeSupport.csproj" -c $(Configuration) -f %(TargetFrameworks.Identity) /p:ExecutableOutputType=true" />
32
41
33
42
<ItemGroup >
34
43
<None Include =" $(MSBuildThisFileDirectory)..\..\..\..\Libraries\src\Amazon.Lambda.RuntimeSupport\bin\$(Configuration)\%(TargetFrameworks.Identity)\publish\**\*.*" >
You can’t perform that action at this time.
0 commit comments