Fix template PackageDownloads

This commit is contained in:
Daniel Plaisted 2020-10-20 23:43:16 -07:00
parent e505707598
commit 20c40af16b

View file

@ -116,12 +116,14 @@
<TargetFramework>$(TargetFramework)</TargetFramework> <TargetFramework>$(TargetFramework)</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@(BundledTemplatePackageDownload->'<BundledTemplatePackageDownload Include="%(Identity)" Version="%(Version)" />', ' @(BundledTemplatePackageDownload->'<PackageDownload Include="%(Identity)" Version="%(Version)" />', '
') ')
</ItemGroup> </ItemGroup>
</Project> </Project>
]]> ]]>
</TemplatePackageDownloadProjectContent> </TemplatePackageDownloadProjectContent>
<!-- Escape semicolons as %3B in order to avoid being interpreted as line splits in WriteLinesToFile -->
<TemplatePackageDownloadProjectContent>$(TemplatePackageDownloadProjectContent.Replace(';', '%3B'))</TemplatePackageDownloadProjectContent>
<TemplatePackageDownloadProjectDirectory>$(IntermediateOutputPath)TemplatePackageDownloader\</TemplatePackageDownloadProjectDirectory> <TemplatePackageDownloadProjectDirectory>$(IntermediateOutputPath)TemplatePackageDownloader\</TemplatePackageDownloadProjectDirectory>
<TemplatePackageDownloadProjectPath>$(TemplatePackageDownloadProjectDirectory)TemplatePackageDownloader.csproj</TemplatePackageDownloadProjectPath> <TemplatePackageDownloadProjectPath>$(TemplatePackageDownloadProjectDirectory)TemplatePackageDownloader.csproj</TemplatePackageDownloadProjectPath>
</PropertyGroup> </PropertyGroup>