-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update the versions in the templates to the real values #1912
Update the versions in the templates to the real values #1912
Conversation
.Replace('MICROSOFT_EXTENSIONS_VERSION_VALUE', '$(MicrosoftExtensionsFileProvidersEmbeddedPackageVersion)') | ||
.Replace('PROJECT_REUNION_VERSION_VALUE', '$(_MicrosoftProjectReunionVersion)'))" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hackiest way, but basically replace the values in the json files with the props values.
The logic looks legit, but does it leave the files changed on disk? What I did in another project where I had a similar problem is that the checked-in files were called |
I am working in the obj directory, so we should be safe. |
…ev/replace-template-versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D:\agent\1\s\bin\dotnet\sdk\6.0.100-preview.7.21379.14\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(137,5): error NETSDK1085: The 'NoBuild' property was set to true but the 'Build' target was invoked. [D:\agent\1\s\src\Templates\src\Microsoft.Maui.Templates.csproj]
Description of Change
Use the version that we built against in the templates.