File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Extensions.ApiDescription.Server/src Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
<PropertyGroup >
5
5
<!-- Included primarily to ensure dotnet-getdocument and GetDocument.Insider can be referenced. -->
6
- <TargetFrameworks >netcoreapp2.1;$(DefaultNetFxTargetFramework)</TargetFrameworks >
6
+ <TargetFrameworks >netcoreapp2.1;$(DefaultNetCoreTargetFramework);$( DefaultNetFxTargetFramework)</TargetFrameworks >
7
7
8
8
<Description >MSBuild tasks and targets for build-time Swagger and OpenApi document generation</Description >
9
9
<DisableImplicitFrameworkReferences >true</DisableImplicitFrameworkReferences >
19
19
because publish output matches what was built.
20
20
-->
21
21
<Reference Include =" dotnet-getdocument"
22
- Condition =" '$(TargetFramework)' == 'netcoreapp2.1 ' "
22
+ Condition =" '$(TargetFramework)' != '$(DefaultNetFxTargetFramework) ' "
23
23
Targets =" Publish"
24
24
Private =" false"
25
25
ReferenceOutputAssembly =" false"
28
28
Private =" false"
29
29
ReferenceOutputAssembly =" false"
30
30
SkipGetTargetFrameworkProperties =" true" >
31
- <Targets Condition =" '$(TargetFramework)' == 'netcoreapp2.1 ' " >Publish</Targets >
31
+ <Targets Condition =" '$(TargetFramework)' != '$(DefaultNetFxTargetFramework) ' " >Publish</Targets >
32
32
</Reference >
33
33
</ItemGroup >
34
34
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" utf-8" ?>
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<package xmlns =" http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd" >
3
3
<metadata minClientVersion =" 2.8" >
4
4
$CommonMetadataElements$
12
12
<file src =" $artifactsBinDir$\GetDocument.Insider\$configuration$\net462\*.*" target =" tools\net462" />
13
13
<file src =" $artifactsBinDir$\GetDocument.Insider\x86\$configuration$\net462\*.*" target =" tools\net462-x86" />
14
14
<file src =" $artifactsBinDir$\GetDocument.Insider\$configuration$\netcoreapp2.1\publish\*.*" target =" tools\netcoreapp2.1" />
15
+ <file src =" $artifactsBinDir$\GetDocument.Insider\$configuration$\net7.0\publish\*.*" target =" tools\net7.0" />
15
16
</files >
16
17
</package >
Original file line number Diff line number Diff line change 16
16
</ItemGroup >
17
17
18
18
<ItemGroup Condition =" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'" >
19
- <Reference Include =" Microsoft.AspNetCore" />
19
+ <Reference Include =" Microsoft.AspNetCore.Hosting.Server.Abstractions" />
20
+ <Reference Include =" Microsoft.Extensions.Hosting.Abstractions" />
20
21
</ItemGroup >
21
22
22
23
<ItemGroup >
You can’t perform that action at this time.
0 commit comments