Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GenerateFileFromTemplate task from arcade instead of repo copy #96049

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Dec 15, 2023

They were both based on some aspnetcore build tooling, the only difference in the arcade one is that is uses key=value strings for the replacement properties instead of msbuild items.

Also fix an issue in workloads-testing.targets where we didn't use a separate MSBuild evaluation for the Restore task which meant that the build tasks weren't loaded in the Pack task.

@ghost
Copy link

ghost commented Dec 15, 2023

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

They were both based on some aspnetcore build tooling, the only difference in the arcade one is that is uses key=value strings for the replacement properties instead of msbuild items.

Author: akoeplinger
Assignees: -
Labels:

area-Infrastructure

Milestone: -

@ghost ghost assigned akoeplinger Dec 15, 2023
@akoeplinger akoeplinger force-pushed the fix-templating branch 3 times, most recently from 78d2e13 to d432872 Compare December 15, 2023 11:11
@@ -7,6 +7,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Packaging" Version="$(MicrosoftDotNetBuildTasksPackagingVersion)" />
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Templating" Version="$(MicrosoftDotNetBuildTasksTemplatingVersion)" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this required?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .pkgproj didn't work otherwise.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Annoying pkgprojs. Right, they might use Arcade's Tools.proj project.assets.json and nuget.g.props and nuget.g.targets files.

They were both based on some aspnetcore build tooling, the only difference in the arcade one is that is uses key=value strings for the replacement properties instead of msbuild items.

Also fix an issue in workloads-testing.targets where we didn't use a separate MSBuild evaluation for the Restore task which meant that the build tasks weren't loaded in the Pack task.
@akoeplinger akoeplinger merged commit 52f7d32 into dotnet:main Dec 15, 2023
185 of 188 checks passed
@akoeplinger akoeplinger deleted the fix-templating branch December 15, 2023 16:48
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants