MyGit

6.0.200-preview.14.2

dotnet/maui

版本发布时间: 2022-03-17 01:53:36

dotnet/maui最新发布版本:8.0.92(2024-10-16 02:14:42)

What's Changed

New Contributors

Full Changelog: https://github.com/dotnet/maui/compare/6.0.200-preview.13.2...6.0.200-preview.14.2

Known Issues

  1. 6.0.300 SDK workload CLI cannot install Preview 14 workloads on macOS
  2. Visual Studio 17.2 Preview 2.0 connects to a remote iOS build agent but cannot debug an iOS app (NOTE: This will be fixed in an upcoming 17.2 Preview servicing release)

macOS / macOS Build Host Preview 14 installation workaround:

  1. Install the latest 6.0.201 SDK: https://dotnet.microsoft.com/en-us/download/dotnet/6.0
  2. Install a preview of the 6.0.300 SDK: https://github.com/dotnet/installer#table
  3. Open a terminal window
  4. Create a new working folder: mkdir ./p14 and cd ./p14
  5. Create a global.json file to use the 6.0.201 SDK version specifically: dotnet new globaljson --sdk-version 6.0.201
  6. Run the following workload command to install iOS:
sudo dotnet workload install ios \
   --from-rollback-file https://aka.ms/dotnet/maui/preview.14.json 
   --source https://api.nuget.org/v3/index.json
  1. Delete the global.json file rm ./global.json
  2. Delete the 6.0.3xx sdk workload manifests from your global install if they exist, and replace them with the ones the previous command just installed into the 6.0.2xx manifests folder (note: the default global dotnet SDK location is assumed):
sudo rm -rf /usr/local/share/dotnet/sdk-manifests/6.0.300/*
sudo cp -R /usr/local/share/dotnet/sdk-manifests/6.0.200/* /usr/local/share/dotnet/sdk-manifests/6.0.300
  1. Run the following workload command to install the copied manifests into the 6.0.3xx SDK:
sudo dotnet workload install ios \
   --skip-manifest-update \
   --from-rollback-file https://aka.ms/dotnet/maui/preview.14.json \
   --source https://api.nuget.org/v3/index.json
  1. Next, fix the remote iOS build host SDK's installation (this assumes you are logged in as the same user you will connect to from windows, otherwise replace the user path as appropriate):
rm -rf ~/Library/Caches/Xamarin/XMA/SDKs/dotnet/sdk-manifests/6.0.300/*
cp -R /usr/local/share/dotnet/sdk-manifests/6.0.200/* ~/Library/Caches/Xamarin/XMA/SDKs/dotnet/sdk-manifests/6.0.300
  1. Run the workload command in the build host sdk install directory:
~/Library/Caches/Xamarin/XMA/SDKs/dotnet/dotnet workload install ios \
   --skip-manifest-update \
   --from-rollback-file https://aka.ms/dotnet/maui/preview.14.json \
   --source https://api.nuget.org/v3/index.json

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-03-17发行的版本