-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Download and include runtime packs"
This reverts commit 6bd1b0e. This idea doesn't fully work yet, see: dotnet/sdk#14044 It partially works for Android, you can do: > .\bin\dotnet\dotnet build .\samples\HelloMaui\HelloMaui.Android\HelloMaui.Android.csproj But it fails if you set `$(RuntimeIdentifier)`: > .\bin\dotnet\dotnet build .\samples\HelloMaui\HelloMaui.Android\HelloMaui.Android.csproj -r android.21-arm ... error NU1101: Unable to find package Microsoft.Android.Runtime.android.21-arm. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org I think the first one only works because we set `$(RuntimeIdentifiers)` *plural* by default--targeting two RIDs. There is some special `restore` logic running when you define `$(RuntimeIdentifier)` *singular*.
- Loading branch information
1 parent
6bd1b0e
commit 69bc71f
Showing
6 changed files
with
27 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<clear /> | ||
<!-- ensure only the sources defined below are used --> | ||
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" /> | ||
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" /> | ||
<add key="public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" /> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.Build.NoTargets"> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageDownload Include="Microsoft.Android.Ref" Version="[$(MicrosoftAndroidVersion)]" /> | ||
<PackageDownload Include="Microsoft.Android.Sdk.win-x64" Version="[$(MicrosoftAndroidVersion)]" Condition="$([MSBuild]::IsOSPlatform('windows'))" /> | ||
<PackageDownload Include="Microsoft.Android.Sdk.osx-x64" Version="[$(MicrosoftAndroidVersion)]" Condition="$([MSBuild]::IsOSPlatform('osx'))" /> | ||
<PackageDownload Include="Microsoft.Android.Sdk.BundleTool" Version="[$(MicrosoftAndroidVersion)]" /> | ||
<PackageDownload Include="Microsoft.iOS.Ref" Version="[$(MicrosoftiOSVersion)]" /> | ||
<PackageDownload Include="Microsoft.iOS.Sdk" Version="[$(MicrosoftiOSVersion)]" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters