|
14 | 14 | <StaticWebAssetBasePath>Identity</StaticWebAssetBasePath>
|
15 | 15 | <ProvideApplicationPartFactoryAttributeTypeName>Microsoft.AspNetCore.Mvc.ApplicationParts.NullApplicationPartFactory, Microsoft.AspNetCore.Mvc.Core</ProvideApplicationPartFactoryAttributeTypeName>
|
16 | 16 | <DisableStaticWebAssetsBuildPropsFileGeneration>true</DisableStaticWebAssetsBuildPropsFileGeneration>
|
| 17 | + <DisableStaticWebAssetEndpointsBuildPropsFileGeneration>true</DisableStaticWebAssetEndpointsBuildPropsFileGeneration> |
17 | 18 | <StaticWebAssetsDisableProjectBuildPropsFileGeneration>true</StaticWebAssetsDisableProjectBuildPropsFileGeneration>
|
18 | 19 | <StaticWebAssetsDisableProjectBuildMultiTargetingPropsFileGeneration>true</StaticWebAssetsDisableProjectBuildMultiTargetingPropsFileGeneration>
|
19 | 20 | <StaticWebAssetsDisableProjectBuildTransitivePropsFileGeneration>true</StaticWebAssetsDisableProjectBuildTransitivePropsFileGeneration>
|
|
89 | 90 | <RelativePath>%(RecursiveDir)%(FileName)%(Extension)</RelativePath>
|
90 | 91 | </V5AssetsCandidates>
|
91 | 92 | </ItemGroup>
|
92 |
| - <DefineStaticWebAssets Condition="'@(V4AssetsCandidates->Count())' != '0'" CandidateAssets="@(V4AssetsCandidates)" SourceId="$(PackageId)" SourceType="Discovered" AssetKind="All" ContentRoot="assets/V4" BasePath="$(StaticWebAssetBasePath)"> |
| 93 | + |
| 94 | + <DefineStaticWebAssets Condition="'@(V4AssetsCandidates->Count())' != '0'" CandidateAssets="@(V4AssetsCandidates)" SourceId="$(PackageId)" SourceType="Discovered" AssetKind="All" ContentRoot="assets/V4" BasePath="$(StaticWebAssetBasePath)"> |
93 | 95 | <Output TaskParameter="Assets" ItemName="V4Assets" />
|
94 | 96 | </DefineStaticWebAssets>
|
95 |
| - <DefineStaticWebAssets Condition="'@(V5AssetsCandidates->Count())' != '0'" CandidateAssets="@(V5AssetsCandidates)" SourceId="$(PackageId)" SourceType="Discovered" AssetKind="All" ContentRoot="assets/V5" BasePath="$(StaticWebAssetBasePath)"> |
| 97 | + <DefineStaticWebAssets Condition="'@(V5AssetsCandidates->Count())' != '0'" CandidateAssets="@(V5AssetsCandidates)" SourceId="$(PackageId)" SourceType="Discovered" AssetKind="All" ContentRoot="assets/V5" BasePath="$(StaticWebAssetBasePath)"> |
96 | 98 | <Output TaskParameter="Assets" ItemName="V5Assets" />
|
97 | 99 | </DefineStaticWebAssets>
|
98 | 100 |
|
99 |
| - <GenerateStaticWebAsssetsPropsFile StaticWebAssets="@(V4Assets)" PackagePathPrefix="staticwebassets/V4" TargetPropsFilePath="$(IntermediateOutputPath)IdentityUI.V4.targets" /> |
100 |
| - <GenerateStaticWebAsssetsPropsFile StaticWebAssets="@(V5Assets)" PackagePathPrefix="staticwebassets/V5" TargetPropsFilePath="$(IntermediateOutputPath)IdentityUI.V5.targets" /> |
| 101 | + <DefineStaticWebAssetEndpoints |
| 102 | + Condition="'@(V4Assets)' != ''" |
| 103 | + CandidateAssets="@(V4Assets)" |
| 104 | + ExistingEndpoints="@()" |
| 105 | + ContentTypeMappings="@(StaticWebAssetContentTypeMapping)" |
| 106 | + > |
| 107 | + <Output TaskParameter="Endpoints" ItemName="V4AssetEndpoints" /> |
| 108 | + </DefineStaticWebAssetEndpoints> |
| 109 | + |
| 110 | + <DefineStaticWebAssetEndpoints |
| 111 | + Condition="'@(V5Assets)' != ''" |
| 112 | + CandidateAssets="@(V5Assets)" |
| 113 | + ExistingEndpoints="@()" |
| 114 | + ContentTypeMappings="@(StaticWebAssetContentTypeMapping)" |
| 115 | + > |
| 116 | + <Output TaskParameter="Endpoints" ItemName="V5AssetEndpoints" /> |
| 117 | + </DefineStaticWebAssetEndpoints> |
| 118 | + |
| 119 | + <GenerateStaticWebAssetsPropsFile StaticWebAssets="@(V4Assets)" PackagePathPrefix="staticwebassets/V4" TargetPropsFilePath="$(IntermediateOutputPath)IdentityUI.V4.targets" /> |
| 120 | + <GenerateStaticWebAssetsPropsFile StaticWebAssets="@(V5Assets)" PackagePathPrefix="staticwebassets/V5" TargetPropsFilePath="$(IntermediateOutputPath)IdentityUI.V5.targets" /> |
| 121 | + |
| 122 | + <GenerateStaticWebAssetEndpointsPropsFile |
| 123 | + StaticWebAssets="@(V4Assets)" |
| 124 | + StaticWebAssetEndpoints="@(V4AssetEndpoints)" |
| 125 | + TargetPropsFilePath="$(IntermediateOutputPath)IdentityUI.V4.endpoints.targets" /> |
| 126 | + |
| 127 | + <GenerateStaticWebAssetEndpointsPropsFile |
| 128 | + StaticWebAssets="@(V5Assets)" |
| 129 | + StaticWebAssetEndpoints="@(V5AssetEndpoints)" |
| 130 | + TargetPropsFilePath="$(IntermediateOutputPath)IdentityUI.V5.endpoints.targets" /> |
101 | 131 |
|
102 | 132 | <ComputeStaticWebAssetsTargetPaths Assets="@(V4Assets)" PathPrefix="staticwebassets/V4" AdjustPathsForPack="true">
|
103 | 133 | <Output TaskParameter="AssetsWithTargetPath" ItemName="_PackStaticWebAssetWithTargetPath" />
|
|
110 | 140 | <StaticWebAssetPackageFile Include="$(IntermediateOutputPath)IdentityUI.V4.targets">
|
111 | 141 | <PackagePath>build\Microsoft.AspNetCore.StaticWebAssets.V4.targets</PackagePath>
|
112 | 142 | </StaticWebAssetPackageFile>
|
| 143 | + <StaticWebAssetPackageFile Include="$(IntermediateOutputPath)IdentityUI.V4.endpoints.targets"> |
| 144 | + <PackagePath>build\Microsoft.AspNetCore.StaticWebAssets.V4.endpoints.targets</PackagePath> |
| 145 | + </StaticWebAssetPackageFile> |
113 | 146 | <StaticWebAssetPackageFile Include="$(IntermediateOutputPath)IdentityUI.V5.targets">
|
114 | 147 | <PackagePath>build\Microsoft.AspNetCore.StaticWebAssets.V5.targets</PackagePath>
|
115 | 148 | </StaticWebAssetPackageFile>
|
| 149 | + <StaticWebAssetPackageFile Include="$(IntermediateOutputPath)IdentityUI.V5.endpoints.targets"> |
| 150 | + <PackagePath>build\Microsoft.AspNetCore.StaticWebAssets.V5.endpoints.targets</PackagePath> |
| 151 | + </StaticWebAssetPackageFile> |
116 | 152 | </ItemGroup>
|
117 | 153 | </Target>
|
118 | 154 | </Project>
|
0 commit comments