|
22 | 22 | </ItemGroup>
|
23 | 23 |
|
24 | 24 | <ItemGroup>
|
| 25 | + <Reference Include="System.IdentityModel" /> |
25 | 26 | <Reference Include="System.Net.Http" />
|
26 | 27 | </ItemGroup>
|
27 | 28 |
|
| 29 | + <!-- |
| 30 | + Warning: due to a design change in NuGet, framework assemblies (represented as 'References' nodes in this file) |
| 31 | + are no longer automatically added to the .nuspec file published with this package. To avoid a breaking change that |
| 32 | + would force final users to reference the framework assemblies in their own project, automatic .nuspec generation |
| 33 | + is disabled and replaced by a custom Owin.Security.OAuth.Introspection.nuspec file that explicitly references |
| 34 | + them under the 'frameworkAssemblies' node. See https://github.com/NuGet/Home/issues/4853 for more information. |
| 35 | + --> |
| 36 | + |
| 37 | + <PropertyGroup> |
| 38 | + <NuSpecFile>$(MSBuildThisFileDirectory)$(MSBuildProjectName).nuspec</NuSpecFile> |
| 39 | + </PropertyGroup> |
| 40 | + |
| 41 | + <Target Name="SetPackageProperties" BeforeTargets="GenerateNuspec"> |
| 42 | + <PropertyGroup> |
| 43 | + <NuspecProperties>$(NuspecProperties);id=$(PackageId)</NuspecProperties> |
| 44 | + <NuspecProperties>$(NuspecProperties);version=$(PackageVersion)</NuspecProperties> |
| 45 | + <NuspecProperties>$(NuspecProperties);authors=$(Authors)</NuspecProperties> |
| 46 | + <NuspecProperties>$(NuspecProperties);requireLicenseAcceptance=$(PackageRequireLicenseAcceptance)</NuspecProperties> |
| 47 | + <NuspecProperties>$(NuspecProperties);licenseUrl=$(PackageLicenseUrl)</NuspecProperties> |
| 48 | + <NuspecProperties>$(NuspecProperties);projectUrl=$(PackageProjectUrl)</NuspecProperties> |
| 49 | + <NuspecProperties>$(NuspecProperties);iconUrl=$(PackageIconUrl)</NuspecProperties> |
| 50 | + <NuspecProperties>$(NuspecProperties);description=$(Description)</NuspecProperties> |
| 51 | + <NuspecProperties>$(NuspecProperties);tags=$(PackageTags.Replace(";"," "))</NuspecProperties> |
| 52 | + <NuspecProperties>$(NuspecProperties);repositoryType=$(RepositoryType)</NuspecProperties> |
| 53 | + <NuspecProperties>$(NuspecProperties);repositoryUrl=$(RepositoryUrl)</NuspecProperties> |
| 54 | + <NuspecProperties>$(NuspecProperties);configuration=$(Configuration)</NuspecProperties> |
| 55 | + <NuspecProperties>$(NuspecProperties);aspNetCoreVersion=$(AspNetCoreVersion)</NuspecProperties> |
| 56 | + <NuspecProperties>$(NuspecProperties);jsonNetVersion=$(JsonNetVersion)</NuspecProperties> |
| 57 | + <NuspecProperties>$(NuspecProperties);identityModelVersion=$(IdentityModelVersion)</NuspecProperties> |
| 58 | + </PropertyGroup> |
| 59 | + </Target> |
| 60 | + |
28 | 61 | </Project>
|
0 commit comments