|
3 | 3 | <Import Project="..\..\builds\worker.props" />
|
4 | 4 |
|
5 | 5 | <PropertyGroup>
|
6 |
| - <TargetFramework>netstandard2.0</TargetFramework> |
| 6 | + <TargetFrameworks>netstandard2.0;net6.0;net7.0</TargetFrameworks> |
7 | 7 | <IsPackable>true</IsPackable>
|
8 | 8 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
9 | 9 | <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
|
21 | 21 | <VersionSuffix></VersionSuffix> -->
|
22 | 22 | </PropertyGroup>
|
23 | 23 |
|
24 |
| - <PropertyGroup Condition="'$(Configuration)'=='Debug'"> |
| 24 | + <PropertyGroup Condition="'$(Configuration)'=='Debug' And '$(TargetFramework)'=='netstandard2.0'"> |
25 | 25 | <DocumentationFile>bin\Debug\netstandard2.0\Microsoft.Azure.Functions.Worker.Extensions.OpenApi.xml</DocumentationFile>
|
26 | 26 | </PropertyGroup>
|
| 27 | + <PropertyGroup Condition="'$(Configuration)'=='Debug' And '$(TargetFramework)'=='net6.0'"> |
| 28 | + <DocumentationFile>bin\Debug\net6.0\Microsoft.Azure.Functions.Worker.Extensions.OpenApi.xml</DocumentationFile> |
| 29 | + </PropertyGroup> |
| 30 | + <PropertyGroup Condition="'$(Configuration)'=='Debug' And '$(TargetFramework)'=='net7.0'"> |
| 31 | + <DocumentationFile>bin\Debug\net7.0\Microsoft.Azure.Functions.Worker.Extensions.OpenApi.xml</DocumentationFile> |
| 32 | + </PropertyGroup> |
27 | 33 |
|
28 |
| - <PropertyGroup Condition="'$(Configuration)'=='Release'"> |
| 34 | + <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(TargetFramework)'=='netstandard2.0'"> |
29 | 35 | <DocumentationFile>bin\Release\netstandard2.0\Microsoft.Azure.Functions.Worker.Extensions.OpenApi.xml</DocumentationFile>
|
30 | 36 | </PropertyGroup>
|
| 37 | + <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(TargetFramework)'=='net6.0'"> |
| 38 | + <DocumentationFile>bin\Release\net6.0\Microsoft.Azure.Functions.Worker.Extensions.OpenApi.xml</DocumentationFile> |
| 39 | + </PropertyGroup> |
| 40 | + <PropertyGroup Condition="'$(Configuration)'=='Release' And '$(TargetFramework)'=='net7.0'"> |
| 41 | + <DocumentationFile>bin\Release\net7.0\Microsoft.Azure.Functions.Worker.Extensions.OpenApi.xml</DocumentationFile> |
| 42 | + </PropertyGroup> |
| 43 | + |
| 44 | + <ItemGroup Condition=" '$(TargetFramework)'!='netstandard2.0' "> |
| 45 | + <FrameworkReference Include="Microsoft.AspNetCore.App" /> |
| 46 | + </ItemGroup> |
31 | 47 |
|
32 | 48 | <ItemGroup>
|
33 | 49 | <!--<FrameworkReference Include="Microsoft.AspNetCore.App" />-->
|
|
0 commit comments