xamarin-macios/dotnet
Peter Collins 92092f67fd
[build] Make package metadata optional (#21081)
Looking at the package explorer for recent .NET 9 preview 7 builds I
noticed that other packages do not include sha metadata in the version
element. Compare the following by clicking "View Metadata source":

https://nuget.info/packages/Microsoft.iOS.Ref.net9.0_17.5/17.5.9231-net9-p7
https://nuget.info/packages/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/9.0.0-preview.7.24405.7
https://nuget.info/packages/Microsoft.Maui.Sdk/9.0.0-preview.7.24407.4

The sha metadata inclusion in the version element but not the .nupkg
name also causes conflicts with the latest version of the
[arcade publishing tooling][0] which expects these to be in sync.

While waiting for a fix in arcade, we can remove this metadata to
restore dependency flow. It can be restored in the future by setting
the following:

    NUGET_BUILD_METADATA=+sha.$(CURRENT_HASH)

The icon and other package metadata have been updated to better match
other .NET packages.

[0]:
b4f4d40741/src/Microsoft.DotNet.Build.Tasks.Feed/src/PushToBuildStorage.cs

---------

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2024-08-23 12:19:32 -04:00
..
Microsoft.MacCatalyst.Sdk [dotnet] Show a better error when using a .NET framework version we don't support. (#20142) 2024-02-21 10:07:09 +01:00
Microsoft.iOS.Sdk [dotnet] Show a better error when using a .NET framework version we don't support. (#20142) 2024-02-21 10:07:09 +01:00
Microsoft.iOS.Windows.Sdk [dotnet] Add targets to compute mlaunch arguments for installing and launching mobile apps. Fixes #18359. (#18446) 2023-06-15 07:21:09 +02:00
Microsoft.macOS.Sdk [dotnet] Show a better error when using a .NET framework version we don't support. (#20142) 2024-02-21 10:07:09 +01:00
Microsoft.tvOS.Sdk [dotnet] Show a better error when using a .NET framework version we don't support. (#20142) 2024-02-21 10:07:09 +01:00
Templates [dotnet] Make the VB templates compile use models instead of protocol interfaces. (#20576) 2024-05-08 10:12:30 +02:00
Workloads Revert "Migrate Messaging Build agent to .NET 8 (#20705)" (#20790) 2024-07-01 18:25:55 +02:00
package [build] Make package metadata optional (#21081) 2024-08-23 12:19:32 -04:00
targets [dotnet] Make the RelativeMlaunchPath and XamarinRelativeSdkRootDirectory properties public. (#21074) 2024-08-21 15:52:33 +02:00
.gitignore [net8.0] Remove support for .NET 6. (#17901) 2023-03-29 10:25:25 +02:00
BreakingChanges.md [dotnet] Update doc about breaking nfloat changes and when we generate a global using directive. (#14487) 2022-03-25 07:40:23 +01:00
BundleContents.md [msbuild/dotnet] Add support for app extensions which are xpc services. (#18295) 2024-01-03 12:41:37 +01:00
DefaultCompilationIncludes.md [dotnet] Don't include @(Compile) and @(EmbeddedResource) items in @(BundleResource) items by default. Fixes #14442. (#14571) 2022-03-31 08:17:53 +02:00
HIERARCHY.md [dotnet] Add support for 'dotnet publish'. Fixes #11807. (#12397) 2021-08-11 10:01:16 +02:00
Makefile [build] Make package metadata optional (#21081) 2024-08-23 12:19:32 -04:00
PackageInfo.plist
SingleProject.md [dotnet] rename $(AppleShortVersion) to $(ApplicationDisplayVersion) (#12647) 2021-09-08 10:13:29 -04:00
VERSIONS.md [build] Make package metadata optional (#21081) 2024-08-23 12:19:32 -04:00
build-custom-runtime.sh
generate-target-platforms.csharp [dotnet] Add warning when the TargetPlatformVersion isn't supported (#19901) 2024-01-25 09:23:03 +01:00
generate-vs-workload.csharp Simplify argument logic in the C# scripts. (#19805) 2024-01-15 16:51:36 +01:00
generate-wix.csharp Simplify argument logic in the C# scripts. (#19805) 2024-01-15 16:51:36 +01:00
generate-workloadmanifest-json.csharp [dotnet] Multi target with Xcode 15.0 (#20155) 2024-02-28 09:03:53 +01:00
generate-workloadmanifest-targets.csharp [dotnet] Show a better error when using a .NET framework version we don't support yet. (#20255) 2024-03-06 10:39:10 +01:00