
* add text-only packages to tarball * add BuildTextOnlyPackages target to tarball build targets * fix typo * add content to text only package nuspec files * Change reference to single nuspec file * Update based on PR review * prevent inner buildlog from being overwritten * condition SourceBuildIntermediate.proj copy and build on the file not existing * condition entire copy target on SourceBuildIntermediateProjTarget file existing * Revert "condition entire copy target on SourceBuildIntermediateProjTarget file existing" This reverts commit 995e106c81751b7d9597abf0c120963c2ab5374b. * Revert "condition SourceBuildIntermediate.proj copy and build on the file not existing" This reverts commit 3fbaa11bdb34cf9bb8f006f4c27bbd16783cac09. * Revert "prevent inner buildlog from being overwritten" This reverts commit f994e885fd7e0938dcc80150f3a0a8aad215f014. Co-authored-by: dseefeld <dseefeld@microsoft.com>
68 lines
No EOL
4.4 KiB
XML
68 lines
No EOL
4.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net6.0</TargetFrameworks>
|
|
<RestorePackagesPath>$(TargetPackagesPath)</RestorePackagesPath>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
The following text-only packages are ones that are consumed by the installer repo, whose
|
|
versions are dynamic. These are maintained here so the dynamic version numbers can
|
|
come from the source (eng/Versions.props). All other more static text-only packages
|
|
should be added to source-build-reference-packages.
|
|
-->
|
|
<ItemGroup>
|
|
<PackageDownload Include="Microsoft.DotNet.Common.ItemTemplates"
|
|
Version="[$(MicrosoftDotNetCommonItemTemplates21PackageVersion)];
|
|
[$(MicrosoftDotNetCommonItemTemplates30PackageVersion)];
|
|
[$(MicrosoftDotNetCommonItemTemplates31PackageVersion)];
|
|
[$(MicrosoftDotNetCommonItemTemplates50PackageVersion)];
|
|
[$(MicrosoftDotNetCommonItemTemplates60PackageVersion)]" />
|
|
|
|
<PackageDownload Include="Microsoft.DotNet.Web.ItemTemplates"
|
|
Version="[$(AspNetCorePackageVersionFor21Templates)];
|
|
[$(AspNetCorePackageVersionFor30Templates)];
|
|
[$(AspNetCorePackageVersionFor31Templates)];
|
|
[$(AspNetCorePackageVersionFor50Templates)]" />
|
|
|
|
<PackageDownload Include="Microsoft.DotNet.Web.ItemTemplates.6.0" Version="[$(AspNetCorePackageVersionFor60Templates)]" />
|
|
|
|
<PackageDownload Include="Microsoft.DotNet.Common.ProjectTemplates.2.1" Version="[$(MicrosoftDotNetCommonProjectTemplates21PackageVersion)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Common.ProjectTemplates.3.0" Version="[$(MicrosoftDotNetCommonProjectTemplates30PackageVersion)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Common.ProjectTemplates.3.1" Version="[$(MicrosoftDotNetCommonProjectTemplates31PackageVersion)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Common.ProjectTemplates.5.0" Version="[$(MicrosoftDotNetCommonProjectTemplates50PackageVersion)]" />
|
|
|
|
<PackageDownload Include="Microsoft.DotNet.Web.ProjectTemplates.2.1" Version="[$(AspNetCorePackageVersionFor21Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.ProjectTemplates.3.0" Version="[$(AspNetCorePackageVersionFor30Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.ProjectTemplates.3.1" Version="[$(AspNetCorePackageVersionFor31Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.ProjectTemplates.5.0" Version="[$(AspNetCorePackageVersionFor50Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.ProjectTemplates.6.0" Version="[$(AspNetCorePackageVersionFor60Templates)]" />
|
|
|
|
<PackageDownload Include="Microsoft.DotNet.Web.Spa.ProjectTemplates.2.1" Version="[$(AspNetCorePackageVersionFor21Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.Spa.ProjectTemplates.3.0" Version="[$(AspNetCorePackageVersionFor30Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.Spa.ProjectTemplates.3.1" Version="[$(AspNetCorePackageVersionFor31Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.Spa.ProjectTemplates.5.0" Version="[$(AspNetCorePackageVersionFor50Templates)]" />
|
|
<PackageDownload Include="Microsoft.DotNet.Web.Spa.ProjectTemplates.6.0" Version="[$(AspNetCorePackageVersionFor60Templates)]" />
|
|
|
|
<PackageDownload Include="Microsoft.NET.Workload.Emscripten.Manifest-6.0.100" Version="[$(EmscriptenWorkloadManifestVersion)]" />
|
|
<PackageDownload Include="Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.100" Version="[$(MonoWorkloadManifestVersion)]" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
Write out directories in which text-only packages are downloaded to be consumed by the "CopyTextOnlyPackages"
|
|
target.
|
|
-->
|
|
<Target Name="WriteTextOnlyDirectoryFile" BeforeTargets="Restore">
|
|
<ItemGroup>
|
|
<TextOnlyPackagesDirectories Include="$(TargetPackagesPath)$([System.String]::copy('%(PackageDownload.Identity)').ToLower())" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<TextOnlyPackageDirectoriesContent>@(TextOnlyPackagesDirectories)</TextOnlyPackageDirectoriesContent>
|
|
</PropertyGroup>
|
|
|
|
<WriteLinesToFile
|
|
Lines="$(TextOnlyPackageDirectoriesContent)"
|
|
File="$(TargetPackagesPath)/TextOnlyPackageDirectories.txt"
|
|
Overwrite="true" />
|
|
</Target>
|
|
</Project> |