Skip to content

Conversation

@jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Jul 23, 2025

Context: dotnet/android-tools#259

This adds the suffix:

<PackageVersionSuffix>-preview.$(PackVersionCommitCount)</PackageVersionSuffix>

In order to allow the package to be published as a "transport" package with a non-stable version:

packages\microsoft.dotnet.arcade.sdk\10.0.0-beta.25367.5\tools\SdkTasks\PublishArtifactsInManifest.proj(124,5): error :
Package 'Xamarin.Android.Tools.AndroidSdk' has stable version '1.0.104' but is targeted at a non-isolated feed 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json'

This produces Xamarin.Android.Tools.AndroidSdk.1.0.104-preview.223.nupkg.

Context: dotnet/android-tools#259

This adds the suffix:

    <PackageVersionSuffix>-preview.$(PackVersionCommitCount)</PackageVersionSuffix>

In order to allow the package to be published as a "transport" package
with a non-stable version:

    packages\microsoft.dotnet.arcade.sdk\10.0.0-beta.25367.5\tools\SdkTasks\PublishArtifactsInManifest.proj(124,5): error :
    Package 'Xamarin.Android.Tools.AndroidSdk' has stable version '1.0.104' but is targeted at a non-isolated feed 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json'
Context: https://github.com/rainersigwald/build-task-in-solution-demo/blob/master/Task/DemoFunctionality.targets

Fixes:

(_CopyFilesMarkedCopyLocal target) ->
         C:\a\_work\1\s\bin\Release\dotnet\sdk\10.0.100-preview.7.25368.105\Microsoft.Common.CurrentVersion.targets(5080,5): error MSB3027: Could not copy "C:\a\_work\1\s\external\xamarin-android-tools\src\Microsoft.Android.Build.BaseTasks\bin\Release\netstandard2.0\Microsoft.Android.Build.BaseTasks.dll" to "C:\a\_work\1\s\bin\BuildRelease\netstandard2.0\Microsoft.Android.Build.BaseTasks.dll". Exceeded retry count of 10. Failed. The file is locked by: ".NET Host (8356)" [C:\a\_work\1\s\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]
         C:\a\_work\1\s\bin\Release\dotnet\sdk\10.0.100-preview.7.25368.105\Microsoft.Common.CurrentVersion.targets(5080,5): error MSB3021: Unable to copy file "C:\a\_work\1\s\external\xamarin-android-tools\src\Microsoft.Android.Build.BaseTasks\bin\Release\netstandard2.0\Microsoft.Android.Build.BaseTasks.dll" to "C:\a\_work\1\s\bin\BuildRelease\netstandard2.0\Microsoft.Android.Build.BaseTasks.dll". The process cannot access the file 'C:\a\_work\1\s\bin\BuildRelease\netstandard2.0\Microsoft.Android.Build.BaseTasks.dll' because it is being used by another process. [C:\a\_work\1\s\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]
@jonathanpeppers jonathanpeppers merged commit bf304cf into main Jul 23, 2025
59 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/peppers/PackageVersionSuffix branch July 23, 2025 19:15
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants