11<Project Sdk =" Microsoft.NET.Sdk" >
22
3- <PropertyGroup >
4- <PackageId >Azure.ApiManagement.PolicyToolkit</PackageId >
5- <PackageVersion >0.0.1</PackageVersion >
6- <Authors >Mielek</Authors >
7- <!-- <PackageLicenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</PackageLicenseUrl>-->
8- <!-- <PackageProjectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</PackageProjectUrl>-->
9- <!-- <PackageIconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</PackageIconUrl>-->
10- <!-- <RepositoryUrl>http://REPOSITORY_URL_HERE_OR_DELETE_THIS_LINE</RepositoryUrl>-->
11- <!-- <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>-->
12- <!-- <Description>Azure.ApiManagement.PolicyToolkit</Description>-->
13- <!-- <PackageReleaseNotes>Summary of changes made in this release of the package.</PackageReleaseNotes>-->
14- <!-- <Copyright>Copyright</Copyright>-->
15- <!-- <PackageTags>Azure.ApiManagement.PolicyToolkit</PackageTags>-->
16- <NoPackageAnalysis >true</NoPackageAnalysis >
3+ <PropertyGroup >
4+ <PackageId >Azure.ApiManagement.PolicyToolkit</PackageId >
5+ <PackageVersion >0.0.1</PackageVersion >
6+ <Authors >Microsoft</Authors >
7+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
8+ <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
9+ <Copyright >© Microsoft Corporation. All rights reserved.</Copyright >
10+ <RepositoryUrl >https://github.com/Azure/azure-api-management-policy-toolkit</RepositoryUrl >
11+ <Description >Azure API Management Policy Toolkit is a library allowing creation of policy documents in code.</Description >
12+ <PackageTags >Azure;Azure API Management;API Gateway;API Management;Policy;Policies;Policy Toolkit;Authoring policies</PackageTags >
13+ </PropertyGroup >
14+
15+ <PropertyGroup >
16+ <TargetFramework >.net8</TargetFramework >
17+ <IncludeBuildOutput >false</IncludeBuildOutput >
18+ <SuppressDependenciesWhenPacking >true</SuppressDependenciesWhenPacking >
19+ <GeneratePackageOnBuild >false</GeneratePackageOnBuild >
20+ <PackageOutputPath >..\..\..\output</PackageOutputPath >
21+ <NoPackageAnalysis >true</NoPackageAnalysis >
22+ <TargetsForTfmSpecificContentInPackage >
23+ $(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput;_IncludeReferencedProjectInPackage
24+ </TargetsForTfmSpecificContentInPackage >
25+ </PropertyGroup >
1726
18- <TargetsForTfmSpecificContentInPackage >
19- $(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput;_IncludeReferencedProjectInPackage
20- </TargetsForTfmSpecificContentInPackage >
21- </PropertyGroup >
22-
23- <PropertyGroup >
24- <TargetFramework >.net8</TargetFramework >
25- <IncludeBuildOutput >false</IncludeBuildOutput >
26- <SuppressDependenciesWhenPacking >true</SuppressDependenciesWhenPacking >
27- <GeneratePackageOnBuild >false</GeneratePackageOnBuild >
28- <PackageOutputPath >..\..\..\output</PackageOutputPath >
29- </PropertyGroup >
30-
31- <ItemGroup >
32- <ProjectReference Include =" ..\..\Authoring\Authoring.csproj" />
33- <ProjectReference Include =" ..\..\Analyzers\Analyzers.csproj" />
34- </ItemGroup >
35-
36- <ItemGroup >
37- <None Update =" tools\*.ps1" CopyToOutputDirectory =" Always" Pack =" true" PackagePath =" " />
38- </ItemGroup >
39-
40- <Target Name =" _AddAnalyzersToOutput" >
4127 <ItemGroup >
42- < TfmSpecificPackageFile Include =" $(OutputPath)\Analyzers.dll "
43- PackagePath = " analyzers/dotnet/cs " />
28+ < ProjectReference Include =" ..\..\Authoring\Authoring.csproj " />
29+ < ProjectReference Include = " ..\..\Analyzers\Analyzers.csproj " />
4430 </ItemGroup >
45- </Target >
4631
47- <Target Name =" _IncludeReferencedProjectInPackage" >
48- <GetNuGetShortFolderName
49- TargetFrameworkMoniker =" $(TargetFrameworkMoniker)"
50- TargetPlatformMoniker =" $(TargetPlatformMoniker)" >
51- <Output TaskParameter =" NuGetShortFolderName" PropertyName =" _NuGetShortFolderName" />
52- </GetNuGetShortFolderName >
5332 <ItemGroup >
54- <TfmSpecificPackageFile Include =" $(OutputPath)\Authoring.dll" PackagePath =" lib/$(_NuGetShortFolderName)" />
55- <TfmSpecificPackageFile Include =" $(OutputPath)\Authoring.xml" PackagePath =" lib/$(_NuGetShortFolderName)" />
56- <TfmSpecificPackageFile Include =" $(OutputPath)\Authoring.pdb" PackagePath =" lib/$(_NuGetShortFolderName)" />
33+ <None Update =" tools\*.ps1" CopyToOutputDirectory =" Always" Pack =" true" PackagePath =" " />
5734 </ItemGroup >
58- </Target >
35+
36+ <Target Name =" _AddAnalyzersToOutput" >
37+ <ItemGroup >
38+ <TfmSpecificPackageFile Include =" $(OutputPath)\Analyzers.dll"
39+ PackagePath =" analyzers/dotnet/cs" />
40+ </ItemGroup >
41+ </Target >
42+
43+ <Target Name =" _IncludeReferencedProjectInPackage" >
44+ <GetNuGetShortFolderName
45+ TargetFrameworkMoniker =" $(TargetFrameworkMoniker)"
46+ TargetPlatformMoniker =" $(TargetPlatformMoniker)" >
47+ <Output TaskParameter =" NuGetShortFolderName" PropertyName =" _NuGetShortFolderName" />
48+ </GetNuGetShortFolderName >
49+ <ItemGroup >
50+ <TfmSpecificPackageFile Include =" $(OutputPath)\Authoring.dll" PackagePath =" lib/$(_NuGetShortFolderName)" />
51+ <TfmSpecificPackageFile Include =" $(OutputPath)\Authoring.xml" PackagePath =" lib/$(_NuGetShortFolderName)" />
52+ <TfmSpecificPackageFile Include =" $(OutputPath)\Authoring.pdb" PackagePath =" lib/$(_NuGetShortFolderName)" />
53+ </ItemGroup >
54+ </Target >
5955
6056</Project >
0 commit comments