unoplatform / uno.check Goto Github PK
View Code? Open in Web Editor NEWCLI tool to setup your environment to build Uno Platform apps
Home Page: https://platform.uno
CLI tool to setup your environment to build Uno Platform apps
Home Page: https://platform.uno
Uno-check should check if the executing version is the latest version available.
The first step could run dotnet tool search uno.check
and compare the executing version with the latest one presently published.
$ dotnet tool search uno.check
Package ID Latest Version Authors Downloads Verified
----------------------------------------------------------------------------
uno.check 1.12.1 unoplatform 245070 x
This would simplify the documentation (one less step) and would be useful for people running it without reading the documentation (or that forgot that it might need to be updated).
An auto update would be even nicer but is more tricky since it would need to replace itself while running (which is tricky for some file systems).
Hi,
When I run Uno-Check.exe (Version 1.14.1.0).
It comes up with an option to download the .NET SDK (7.0.400)
Then I get an error saying that the fix failed:
! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK
Downloading .NET SDK 7.0.400...
Downloading... 10%...
Downloading... 20%...
Downloading... 30%...
Downloading... 40%...
Downloading... 50%...
Downloading... 60%...
Downloading... 70%...
Downloading... 80%...
Downloading... 90%...
Downloading... 100%...
Downloaded .NET SDK 7.0.400.
Installing .NET SDK 7.0.400...
Installation failed for .NET SDK 7.0.400.
A newer version of dotnet SDK is already installed
See log file for more details: C:\Users\WardHorsfall\AppData\Local\Temp\tmp84CB.tmp
Fix failed - Installation failed for .NET SDK 7.0.400.
A newer version of dotnet SDK is already installed
See log file for more details: C:\Users\WardHorsfall\AppData\Local\Temp\tmp84CB.tmp
× Skipped: .NET SDK - Workload Deduplication
Any suggestions on how to resolve this?
Thanks
Ward.
Uno-Check to be able to automatically resolve fix issue.
No response
No response
None
No response
No response
No response
No response
No response
No response
No response
Fails with:
.NET SDK - Workloads (6.0.400-rtm.22364.21) Checkup...
× android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.448/6.0.400) not installed.
...
.NET SDK - Workloads (6.0.400-rtm.22364.21) Checkup...
� android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.448/6.0.400) not installed.
Recommendation: Install or Update SDK Workloads
! Attempt to fix? [y/n] (y): y
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
When I run the uno-check tooling in an M1 device, and I don't have an Android Emulator, it creates a x86_64
device which is incompatible with M1.
y
when asked to install the Android EmulatorI would like that uno-check knows that I'm running on a arm device and install the correct emulator for me. (hope that's possible)
There are a number of scenarios where we may want to validate that the system is in a good state or find out what needs to be fixed without actually fixing anything. We should have an option to execute something like uno-check validate
to get a summary of what is good/bad... and perhaps a uno-check validate -json
to output json content that could help tooling running Uno Check from a process to surface what the CLI tool reports back.
I installed and run the app as you suggest, installed so many missing thing, and created an avd. I don't know what happen but failed.
Running again with verbose throws this error:
Android Emulator Checkup...
System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetCheck.AndroidSdk.AvdManager.ListAvds() in //UnoCheck/AndroidSdk/AvdManager.cs:183
at DotNetCheck.Checkups.AndroidEmulatorCheckup.Examine(SharedState history) in //UnoCheck/Checkups/
AndroidEmulatorCheckup.cs:51
at DotNetCheck.Cli.CheckCommand.ExecuteAsync(CommandContext context, CheckSettings settings) in /_/UnoCheck/
CheckCommand.cs:167
Checking the code I found that the AVD was created in the admin profile: 'C:\Users\admin\.android\avd\Android_Emulator_31.avd', but there are only 3 files (avd.zip) but no error in verbose mode. I guess the problem is that the avd is incomplete.
Please add the possibility to pass a user that contains my avd 'C:\Users\florencia\.android\avd\Pixel_2_API_27.avd' or fix the problem creating your own one.
Note: Copying my user avd to admin folder works ok, but should not be the best option. Creating a shortcut to my user no works.
When running Uno-check
, I am currently getting a message Congratulations, everything looks great!. However, I am unable to run the Skia.Gtk template application because I am missing the gtk runtimes. It would be awesome for the tool to detect that. To make sure the user has the version of Gtk, and other requirements, that are required by the default templates.
Using the --preview option with the system configured in Spanish:
Checkup had Error status: wsl
wsl: Could not find color or style 'Argumento'.
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
I'll change the system language to English to see if it has something to do with it.
Here is the log (version is 0.2.0-dev.327
):
PS C:\WINDOWS\system32> uno-check --preview --verbose
╓╣╜"╙╬╖
╓╣` "╣╗
,@Ñ╜╩╬╗ ╙▒Ñ%,
╓╬╝ ]╣╦ ╓▓ ╙╣╖
╬╝ ,@╜ ╚@╬╜ ▒
╬╗ ,╣╜ ╝@╦╣` ╓╣╜
╙╬╦ ▒ ╙@╖ ╓╣╜
╙╝@ "╙╣▒
╚h ,@╝
╙Ñ@Ñ╜
_ _
_ _ _ __ ___ ___ | |__ ___ ___ | | __
| | | | | '_ \ / _ \ _____ / __| | '_ \ / _ \ / __| | |/ /
| |_| | | | | | | (_) | |_____| | (__ | | | | | __/ | (__ | <
\__,_| |_| |_| \___/ \___| |_| |_| \___| \___| |_|\_\
☼ Uno Platform Check v1.0.0.0 ☼
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will check your Uno Platform development environment.
If problems are detected, it will offer the option to try and fix them for you, or suggest a way to fix them yourself.
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
» Synchronizing configuration...Loading Manifest from: https://raw.githubusercontent.com/unoplatform/uno.check/main/manifests/uno.ui-preview.manifest.json
Required Version: 0.8.0
Current Version: 1.0.0.0
ok
» Scheduling appointments...SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
ok
> OpenJDK 11.0 Checkup...
ValidateAndroidSdkLocation: ``, result=False
ValidateAndroidSdkLocation: ``, result=False
Looking for Android SDK...
ValidateAndroidSdkLocation: `C:\Program Files (x86)\Android\android-sdk`, result=True
ValidateJavaSdkLocation: ``, result=False
ValidateJavaSdkLocation: `C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25`, result=True
ValidateAndroidNdkLocation: ``, result=False
Best NDK selected: v21.3.6528147 in C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ValidateAndroidNdkLocation: `C:\Program Files (x86)\Android\android-sdk\ndk-bundle`, result=True
SHELL: C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25\bin\javac.exe -version
javac 1.8.0-25
SHELL: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\bin\javac.exe -version
javac 1.8.0-25
SHELL: C:\Program Files\Android\Jdk\jdk-8.0.302.8-hotspot\jdk8u302-b08\bin\javac.exe -version
javac 1.8.0_302
SHELL: C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25\bin\javac.exe -version
javac 1.8.0-25
SHELL: C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\javac.exe -version
javac 11.0.12
- 1.8.0-25 (C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25)
- 1.8.0-25 (C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25)
- 11.0.12 (C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\..)
SetEnvironmentVariable: JAVA_HOME=C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot
> Visual Studio 17.0.0-pre.3.0 Checkup...
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild -format json -prerelease
[
{
"instanceId": "21d9f83c",
"installDate": "2019-04-06T07:50:31Z",
"installationName": "VisualStudio/16.11.3+31702.278",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31702.278",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-10-01T07:07:49.7911021Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31702.278",
"id": "VisualStudio/16.11.3+31702.278",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.3",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.3+31702.278",
"requiredEngineVersion": "2.11.40.25675"
},
"properties": {
"campaignId": "335342059.1510257259",
"canceled": "0",
"channelManifestId": "VisualStudio.16.Release/16.11.3+31702.278",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
}
},
{
"instanceId": "5f20c851",
"installDate": "2021-09-28T03:34:13Z",
"installationName": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.0.31825.309",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.0.0-pre.7.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-10-27T08:41:08.2678111Z",
"catalog": {
"buildBranch": "d17.0",
"buildVersion": "17.0.31825.309",
"id": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.0.0 Preview 7.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "7.0",
"productSemanticVersion": "17.0.0-pre.7.0+31825.309",
"requiredEngineVersion": "3.0.4491.49903"
},
"properties": {
"campaignId": "1321205985.1562745288",
"channelManifestId": "VisualStudio.17.Preview/17.0.0-pre.7.0+31825.309",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
},
{
"instanceId": "f1491160",
"installDate": "2017-03-12T16:48:50Z",
"installationName": "VisualStudio/15.9.3+28307.145",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community",
"installationVersion": "15.9.28307.145",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2017",
"description": "Free, fully-featured IDE for students, open-source and individual developers",
"channelId": "VisualStudio.15.Release",
"channelPath": "C:\\Users\\mikem\\AppData\\Local\\Microsoft\\VisualStudio\\Packages\\_Channels\\4CB340F5\\catalog.json",
"channelUri": "https://aka.ms/vs/15/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660692#15.9.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660708",
"updateDate": "2018-12-06T12:22:20.8672396Z",
"catalog": {
"buildBranch": "d15.9",
"buildVersion": "15.9.28307.145",
"id": "VisualStudio/15.9.3+28307.145",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "15.9.3",
"productLine": "Dev15",
"productLineVersion": "2017",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productRelease": "RTW",
"productSemanticVersion": "15.9.3+28307.145",
"requiredEngineVersion": "1.18.1036.54187"
},
"properties": {
"campaignId": "",
"canceled": "0",
"channelManifestId": "VisualStudio.15.Release/15.9.3+28307.145",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
}
}
]
- 16.11.3
- 17.0.0-pre.7.0 - C:\Program Files\Microsoft Visual Studio\2022\Preview
- 15.9.3
> Visual Studio Workloads Checkup...
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.Universal -format json -prerelease
[
{
"instanceId": "21d9f83c",
"installDate": "2019-04-06T07:50:31Z",
"installationName": "VisualStudio/16.11.3+31702.278",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31702.278",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-10-01T07:07:49.7911021Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31702.278",
"id": "VisualStudio/16.11.3+31702.278",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.3",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.3+31702.278",
"requiredEngineVersion": "2.11.40.25675"
},
"properties": {
"campaignId": "335342059.1510257259",
"canceled": "0",
"channelManifestId": "VisualStudio.16.Release/16.11.3+31702.278",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
}
},
{
"instanceId": "5f20c851",
"installDate": "2021-09-28T03:34:13Z",
"installationName": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.0.31825.309",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.0.0-pre.7.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-10-27T08:41:08.2678111Z",
"catalog": {
"buildBranch": "d17.0",
"buildVersion": "17.0.31825.309",
"id": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.0.0 Preview 7.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "7.0",
"productSemanticVersion": "17.0.0-pre.7.0+31825.309",
"requiredEngineVersion": "3.0.4491.49903"
},
"properties": {
"campaignId": "1321205985.1562745288",
"channelManifestId": "VisualStudio.17.Preview/17.0.0-pre.7.0+31825.309",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
},
{
"instanceId": "f1491160",
"installDate": "2017-03-12T16:48:50Z",
"installationName": "VisualStudio/15.9.3+28307.145",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community",
"installationVersion": "15.9.28307.145",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2017",
"description": "Free, fully-featured IDE for students, open-source and individual developers",
"channelId": "VisualStudio.15.Release",
"channelPath": "C:\\Users\\mikem\\AppData\\Local\\Microsoft\\VisualStudio\\Packages\\_Channels\\4CB340F5\\catalog.json",
"channelUri": "https://aka.ms/vs/15/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660692#15.9.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660708",
"updateDate": "2018-12-06T12:22:20.8672396Z",
"catalog": {
"buildBranch": "d15.9",
"buildVersion": "15.9.28307.145",
"id": "VisualStudio/15.9.3+28307.145",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "15.9.3",
"productLine": "Dev15",
"productLineVersion": "2017",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productRelease": "RTW",
"productSemanticVersion": "15.9.3+28307.145",
"requiredEngineVersion": "1.18.1036.54187"
},
"properties": {
"campaignId": "",
"canceled": "0",
"channelManifestId": "VisualStudio.15.Release/15.9.3+28307.145",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
}
}
]
- Universal Windows Platform development is installed (16.11.3, 17.0.0-pre.7.0, 15.9.3)
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.NetCrossPlat -format json -prerelease
[
{
"instanceId": "21d9f83c",
"installDate": "2019-04-06T07:50:31Z",
"installationName": "VisualStudio/16.11.3+31702.278",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31702.278",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-10-01T07:07:49.7911021Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31702.278",
"id": "VisualStudio/16.11.3+31702.278",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.3",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.3+31702.278",
"requiredEngineVersion": "2.11.40.25675"
},
"properties": {
"campaignId": "335342059.1510257259",
"canceled": "0",
"channelManifestId": "VisualStudio.16.Release/16.11.3+31702.278",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
}
},
{
"instanceId": "5f20c851",
"installDate": "2021-09-28T03:34:13Z",
"installationName": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.0.31825.309",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.0.0-pre.7.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-10-27T08:41:08.2678111Z",
"catalog": {
"buildBranch": "d17.0",
"buildVersion": "17.0.31825.309",
"id": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.0.0 Preview 7.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "7.0",
"productSemanticVersion": "17.0.0-pre.7.0+31825.309",
"requiredEngineVersion": "3.0.4491.49903"
},
"properties": {
"campaignId": "1321205985.1562745288",
"channelManifestId": "VisualStudio.17.Preview/17.0.0-pre.7.0+31825.309",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
}
]
- Mobile development with .NET is installed (16.11.3, 17.0.0-pre.7.0)
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.NetWeb -format json -prerelease
[
{
"instanceId": "21d9f83c",
"installDate": "2019-04-06T07:50:31Z",
"installationName": "VisualStudio/16.11.3+31702.278",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31702.278",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-10-01T07:07:49.7911021Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31702.278",
"id": "VisualStudio/16.11.3+31702.278",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.3",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.3+31702.278",
"requiredEngineVersion": "2.11.40.25675"
},
"properties": {
"campaignId": "335342059.1510257259",
"canceled": "0",
"channelManifestId": "VisualStudio.16.Release/16.11.3+31702.278",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
}
},
{
"instanceId": "5f20c851",
"installDate": "2021-09-28T03:34:13Z",
"installationName": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.0.31825.309",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "Powerful IDE, free for students, open-source contributors, and individuals",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.0.0-pre.7.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-10-27T08:41:08.2678111Z",
"catalog": {
"buildBranch": "d17.0",
"buildVersion": "17.0.31825.309",
"id": "VisualStudioPreview/17.0.0-pre.7.0+31825.309",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.0.0 Preview 7.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "7.0",
"productSemanticVersion": "17.0.0-pre.7.0+31825.309",
"requiredEngineVersion": "3.0.4491.49903"
},
"properties": {
"campaignId": "1321205985.1562745288",
"channelManifestId": "VisualStudio.17.Preview/17.0.0-pre.7.0+31825.309",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
},
{
"instanceId": "f1491160",
"installDate": "2017-03-12T16:48:50Z",
"installationName": "VisualStudio/15.9.3+28307.145",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community",
"installationVersion": "15.9.28307.145",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2017",
"description": "Free, fully-featured IDE for students, open-source and individual developers",
"channelId": "VisualStudio.15.Release",
"channelPath": "C:\\Users\\mikem\\AppData\\Local\\Microsoft\\VisualStudio\\Packages\\_Channels\\4CB340F5\\catalog.json",
"channelUri": "https://aka.ms/vs/15/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660692#15.9.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660708",
"updateDate": "2018-12-06T12:22:20.8672396Z",
"catalog": {
"buildBranch": "d15.9",
"buildVersion": "15.9.28307.145",
"id": "VisualStudio/15.9.3+28307.145",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "15.9.3",
"productLine": "Dev15",
"productLineVersion": "2017",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productRelease": "RTW",
"productSemanticVersion": "15.9.3+28307.145",
"requiredEngineVersion": "1.18.1036.54187"
},
"properties": {
"campaignId": "",
"canceled": "0",
"channelManifestId": "VisualStudio.15.Release/15.9.3+28307.145",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
}
}
]
- ASP.NET and web development is installed (16.11.3, 17.0.0-pre.7.0, 15.9.3)
> Android SDK Checkup...
ValidateAndroidSdkLocation: ``, result=False
ValidateAndroidSdkLocation: ``, result=False
Looking for Android SDK...
ValidateAndroidSdkLocation: `C:\Program Files (x86)\Android\android-sdk`, result=True
ValidateJavaSdkLocation: `C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot`, result=True
ValidateAndroidNdkLocation: ``, result=False
Best NDK selected: v21.3.6528147 in C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ValidateAndroidNdkLocation: `C:\Program Files (x86)\Android\android-sdk\ndk-bundle`, result=True
SetEnvironmentVariable: ANDROID_SDK_ROOT=C:\Program Files (x86)\Android\android-sdk
SetEnvironmentVariable: ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
- emulator (30.9.5)
- build-tools;31.0.0 (31.0.0)
- platforms;android-31 (1)
- system-images;android-31;google_apis;x86_64 (8)
- platform-tools (31.0.3)
- cmdline-tools;3.0 (3.0)
> Android Emulator Checkup...
- Emulator: pixel_2_pie_9_0_-_api_28 found.
> .NET SDK Checkup...
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
SHELL: C:\Program Files\dotnet\dotnet.exe --list-sdks
1.0.0 [C:\Program Files\dotnet\sdk]
1.0.2 [C:\Program Files\dotnet\sdk]
1.0.4 [C:\Program Files\dotnet\sdk]
1.1.0 [C:\Program Files\dotnet\sdk]
1.1.14 [C:\Program Files\dotnet\sdk]
2.0.2 [C:\Program Files\dotnet\sdk]
2.1.4 [C:\Program Files\dotnet\sdk]
2.1.103 [C:\Program Files\dotnet\sdk]
2.1.200 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.500 [C:\Program Files\dotnet\sdk]
2.1.504 [C:\Program Files\dotnet\sdk]
2.1.602 [C:\Program Files\dotnet\sdk]
2.1.701 [C:\Program Files\dotnet\sdk]
2.2.207 [C:\Program Files\dotnet\sdk]
2.2.301 [C:\Program Files\dotnet\sdk]
3.0.100 [C:\Program Files\dotnet\sdk]
3.1.200 [C:\Program Files\dotnet\sdk]
3.1.301 [C:\Program Files\dotnet\sdk]
5.0.401 [C:\Program Files\dotnet\sdk]
6.0.100-rc.2.21505.57 [C:\Program Files\dotnet\sdk]
- 1.0.0 - C:\Program Files\dotnet\sdk\1.0.0
- 1.0.2 - C:\Program Files\dotnet\sdk\1.0.2
- 1.0.4 - C:\Program Files\dotnet\sdk\1.0.4
- 1.1.0 - C:\Program Files\dotnet\sdk\1.1.0
- 1.1.14 - C:\Program Files\dotnet\sdk\1.1.14
- 2.0.2 - C:\Program Files\dotnet\sdk\2.0.2
- 2.1.4 - C:\Program Files\dotnet\sdk\2.1.4
- 2.1.103 - C:\Program Files\dotnet\sdk\2.1.103
- 2.1.200 - C:\Program Files\dotnet\sdk\2.1.200
- 2.1.202 - C:\Program Files\dotnet\sdk\2.1.202
- 2.1.500 - C:\Program Files\dotnet\sdk\2.1.500
- 2.1.504 - C:\Program Files\dotnet\sdk\2.1.504
- 2.1.602 - C:\Program Files\dotnet\sdk\2.1.602
- 2.1.701 - C:\Program Files\dotnet\sdk\2.1.701
- 2.2.207 - C:\Program Files\dotnet\sdk\2.2.207
- 2.2.301 - C:\Program Files\dotnet\sdk\2.2.301
- 3.0.100 - C:\Program Files\dotnet\sdk\3.0.100
- 3.1.200 - C:\Program Files\dotnet\sdk\3.1.200
- 3.1.301 - C:\Program Files\dotnet\sdk\3.1.301
- 5.0.401 - C:\Program Files\dotnet\sdk\5.0.401
- 6.0.100-rc.2.21505.57 - C:\Program Files\dotnet\sdk\6.0.100-rc.2.21505.57
SetEnvironmentVariable: DOTNET_SDK=C:\Program Files\dotnet\sdk\6.0.100-rc.2.21505.57
SetEnvironmentVariable: DOTNET_SDK_VERSION=6.0.100-rc.2.21505.57
> .NET SDK - Workload Deduplication Checkup...
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
> Edge WebView2 Checkup...
- Found Edge WebView2 version 95.0.1020.30
> Windows Subsystem for Linux Checkup...
SHELL: wsl -l
Copyright (c) Microsoft Corporation. All rights reserved.
Usage: wsl.exe [Argument]
Arguments:
--install <Options>
Install Windows Subsystem for Linux features. If no options are specified,
the recommended features will be installed along with the default distribution.
To view the default distribution as well as a list of other valid distributions,
use 'wsl --list --online'.
Options:
--distribution, -d [Argument]
Specifies the distribution to be downloaded and installed by name.
Arguments:
A valid distribution name (not case sensitive).
Examples:
wsl --install -d Ubuntu
wsl --install --distribution Debian
--list, -l [Options]
Lists distributions.
Options:
--online, -o
Displays a list of available distributions for install with 'wsl --install'.
--help
Display usage information.
System.InvalidOperationException: Could not find color or style 'Argument'.
at Spectre.Console.StyleParser.Parse(String text) in /_/src/Spectre.Console/StyleParser.cs:13
at Spectre.Console.MarkupParser.Parse(String text, Style style) in /_/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:26
at Spectre.Console.AnsiConsoleExtensions.Markup(IAnsiConsole console, String value) in /_/src/Spectre.Console/Extensions/
AnsiConsoleExtensions.Markup.cs:41
at Spectre.Console.AnsiConsoleExtensions.MarkupLine(IAnsiConsole console, String value) in /_/src/Spectre.Console/Extensions/
AnsiConsoleExtensions.Markup.cs:62
at Spectre.Console.AnsiConsole.MarkupLine(String value) in /_/src/Spectre.Console/AnsiConsole.Markup.cs:46
at DotNetCheck.Cli.CheckCommand.checkupStatusUpdated(Object sender, CheckupStatusEventArgs e) in /_/UnoCheck/CheckCommand.cs:318
at DotNetCheck.Checkups.WSLCheckup.Examine(SharedState history) in /_/UnoCheck/Checkups/WSLCheckup.cs:34
at DotNetCheck.Cli.CheckCommand.ExecuteAsync(CommandContext context, CheckSettings settings) in /_/UnoCheck/CheckCommand.cs:166
> .NET SDK - Workloads (6.0.100-rc.1.21452.64) Checkup...
x android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 31.0.100-rc.1.17) not installed.
x ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.100-rc.1.1536) not installed.
x maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.100-rc.1.1536) not installed.
x tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.100-rc.1.1536) not installed.
x macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.100-rc.1.1536) not installed.
x maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.100-rc.1.1641) not installed.
x wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-rc.1.21451.13) not installed.
x microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-rc.1.21430.3) not installed.
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
☼ Recommendation: Install or Update SDK Workloads
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK - Workloads (6.0.100-rc.1.21452.64)
Updating with Rollback File:
{
"microsoft.net.sdk.android": "31.0.100-rc.1.17",
"microsoft.net.sdk.ios": "15.0.100-rc.1.1536",
"microsoft.net.sdk.maccatalyst": "15.0.100-rc.1.1536",
"microsoft.net.sdk.tvos": "15.0.100-rc.1.1536",
"microsoft.net.sdk.macos": "12.0.100-rc.1.1536",
"microsoft.net.sdk.maui": "6.0.100-rc.1.1641",
"microsoft.net.workload.mono.toolchain": "6.0.0-rc.1.21451.13",
"microsoft.net.workload.emscripten": "6.0.0-rc.1.21430.3"
}
SHELL: C:\Program Files\dotnet\dotnet.exe workload update --no-cache --disable-parallel --from-rollback-file "C:\Users\mikem\AppData\Local\Temp\maui-check-feb453f0\workload.json" --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://api.nuget.org/v3/index.json"
No workloads installed for this feature band. To update workloads installed with earlier SDK versions, include the --from-previous-sdk option.
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.tvos.
Failed to update the advertising manifest microsoft.net.workload.emscripten: Failed to validate package signing.
Verifying Microsoft.NET.Workload.Emscripten.Manifest-6.0.100.6.0.0-rtm.21514.1
error: NU3004: The package is not signed.
Package signature validation failed.
.
Failed to update the advertising manifest microsoft.net.workload.mono.toolchain: Failed to validate package signing.
Verifying Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.100.6.0.0-rtm.21518.12
error: NU3004: The package is not signed.
Package signature validation failed.
.
The machine has a pending reboot. Installation will continue, but you may need to restart.
No workloads installed for this feature band. To update workloads installed with earlier SDK versions, include the --from-previous-sdk option.
Successfully updated workload(s): .
SHELL: C:\Program Files\dotnet\dotnet.exe workload install --no-cache --disable-parallel android-aot ios maccatalyst tvos macos maui wasm-tools --skip-manifest-update --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://api.nuget.org/v3/index.json"
The machine has a pending reboot. Installation will continue, but you may need to restart.
Installing Microsoft.tvOS.Sdk.15.0.101.31-x64.msi ...... Done
Installing Microsoft.tvOS.Ref.15.0.101.31-x64.msi .... Done
Installing Microsoft.tvOS.Runtime.tvos-arm64.15.0.101.31-x64.msi ..... Done
Installing Microsoft.tvOS.Runtime-x64.15.0.101.31.msi ..... Done
Installing Microsoft.tvOS.Templates.15.0.101.31-x64.msi .... Done
Installing Microsoft.Mono.tvos-arm64.6.0.0-rc.2.21480.5-x64.msi ........... Done
Installing Microsoft.Mono.tvossimulator-arm64.6.0.0-rc.2.21480.5-x64.msi .......... Done
Installing Microsoft.Mono.tvossimulator-x64.6.0.0-rc.2.21480.5.msi .......... Done
Installing Microsoft.macOS.Sdk.12.0.101.31-x64.msi ..... Done
Installing Microsoft.macOS.Ref.12.0.101.31-x64.msi ..... Done
Installing Microsoft.macOS.Runtime.osx-arm64.12.0.101.31-x64.msi ..... Done
Installing Microsoft.macOS.Runtime.osx-x64.12.0.101.31.msi ..... Done
Installing Microsoft.macOS.Templates.12.0.101.31-x64.msi .... Done
Installing Microsoft.Maui.Core.Ref.win.6.0.101.1843-x64.msi .... Done
Installing Microsoft.Maui.Core.Runtime.win.6.0.101.1843-x64.msi .... Done
Installing Microsoft.Maui.Controls.Ref.win.6.0.101.1843-x64.msi .... Done
Installing Microsoft.Maui.Controls.Runtime.win.6.0.101.1843-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Ref.win.6.0.101.1843-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Runtime.win.6.0.101.1843-x64.msi .... Done
Installing Microsoft.WebAssembly.Sdk.6.0.0-rc.2.21480.5-x64.msi ..... Done
Installing Microsoft.Mono.browser-wasm.6.0.0-rc.2.21480.5-x64.msi ....... Done
Installing Microsoft.AOT.win-x64.Cross.browser-wasm.6.0.0-rc.2.21480.5.msi .... Done
Downloading Microsoft.NET.Runtime.Emscripten.2.0.23.Node.win-x64.Msi.x64 (6.0.0-rc.2.21474.1)
Downloading Microsoft.NET.Runtime.Emscripten.2.0.23.Node.win-x64.Msi.x64 (6.0.0-rc.2.21474.1)
Workload installation failed. Rolling back installed packs...
Removing Microsoft.tvOS.Sdk.15.0.101.31-x64.msi ........ Done
Removing Microsoft.tvOS.Ref.15.0.101.31-x64.msi .... Done
Removing Microsoft.tvOS.Runtime.tvos-arm64.15.0.101.31-x64.msi ..... Done
Removing Microsoft.tvOS.Runtime-x64.15.0.101.31.msi ..... Done
Removing Microsoft.tvOS.Templates.15.0.101.31-x64.msi .... Done
Removing Microsoft.Mono.tvos-arm64.6.0.0-rc.2.21480.5-x64.msi ............. Done
Removing Microsoft.Mono.tvossimulator-arm64.6.0.0-rc.2.21480.5-x64.msi ............. Done
Removing Microsoft.Mono.tvossimulator-x64.6.0.0-rc.2.21480.5.msi .................. Done
Removing Microsoft.macOS.Sdk.12.0.101.31-x64.msi ....... Done
Removing Microsoft.macOS.Ref.12.0.101.31-x64.msi .... Done
Removing Microsoft.macOS.Runtime.osx-arm64.12.0.101.31-x64.msi ..... Done
Removing Microsoft.macOS.Runtime.osx-x64.12.0.101.31.msi ..... Done
Removing Microsoft.macOS.Templates.12.0.101.31-x64.msi .... Done
Removing Microsoft.Maui.Core.Ref.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Core.Runtime.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Controls.Ref.win.6.0.101.1843-x64.msi ..... Done
Removing Microsoft.Maui.Controls.Runtime.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Ref.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Runtime.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.WebAssembly.Sdk.6.0.0-rc.2.21480.5-x64.msi ...... Done
Removing Microsoft.Mono.browser-wasm.6.0.0-rc.2.21480.5-x64.msi .............. Done
Removing Microsoft.AOT.win-x64.Cross.browser-wasm.6.0.0-rc.2.21480.5.msi ..... Done
Downloading Microsoft.NET.Runtime.Emscripten.2.0.23.Node.win-x64.Msi.x64 (6.0.0-rc.2.21474.1)
Installation rollback failed: One or more errors occurred. (Failed to validate package signing.
Verifying Microsoft.NET.Runtime.Emscripten.2.0.23.Node.win-x64.Msi.x64.6.0.0-rc.2.21474.1
error: NU3004: The package is not signed.
Package signature validation failed.
)
Workload installation failed: One or more errors occurred. (Failed to validate package signing.
Verifying Microsoft.NET.Runtime.Emscripten.2.0.23.Node.win-x64.Msi.x64.6.0.0-rc.2.21474.1
error: NU3004: The package is not signed.
Package signature validation failed.
)
System.Exception: Workload Install failed: `dotnet workload install --no-cache --disable-parallel android-aot ios maccatalyst tvos macos maui
wasm-tools --skip-manifest-update --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://api.nuget.org/v3/index.json"`
at DotNetCheck.DotNet.DotNetWorkloadManager.CliInstall(IEnumerable`1 workloadIds) in /_/UnoCheck/DotNet/DotNetWorkloadManager.cs:177
at DotNetCheck.DotNet.DotNetWorkloadManager.Install(DotNetWorkload[] workloads) in /_/UnoCheck/DotNet/DotNetWorkloadManager.cs:69
at DotNetCheck.Checkups.DotNetWorkloadsCheckup.<>c__DisplayClass12_0.<<Examine>b__0>d.MoveNext() in /_/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs:
104
Fix failed - Workload Install failed: `dotnet workload install --no-cache --disable-parallel android-aot ios maccatalyst tvos macos maui wasm-tools
--skip-manifest-update --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://api.nuget.org/v3/index.json"`
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Checkup had Error status: wsl
Checkup had Error status: dotnetworkloads-6.0.100-rc.1.21452.64
wsl: Could not find color or style 'Argument'.
dotnetworkloads-6.0.100-rc.1.21452.64:
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
Press Enter to finish...
On macOS the dotnet sdk default installation location is /usr/local/share/dotnet/dotnet
, which points to the x64 sdk on Intel machines and to the arm64 sdk on arm machines.
On arm64 machines the x64 dotnet sdk is installed to the x64 subfolder, that is /usr/local/share/dotnet/x64/dotnet
. Since the uno-check only installs the x64 version of the sdk, on an M1 mac it installs the SDK to the dotnet/x64 folder, but then does not recognize it again later because it searches for the sdk in the dotnet folder (that contains the arm64 sdk, it would need to search in the x64 subfolder)
Would it be possible to also include the arm64 dotnet sdk in uno-check for M1 macs?
uno.check/manifests/uno.ui.manifest.json
Line 94 in 25049ee
Alternatively it might be a solution to look specifically for the x64 sdk on M1 macs (which would be in the x64 subfolder)
uno.check/UnoCheck/DotNet/DotNetSdk.cs
Line 46 in 25049ee
It happens with Visual Studio 17.4.0 Preview 5
I think this error has happened because before installing .NET SDK workloads other components were installed that requested to restart the machine because there were files pending to be updated, however, I have not restarted the machine and I have continued trying to install .NET SDK Workloads. When doing this, the error has occurred and, even retrying the installation of the .NET SDk worklodas, it has already been impossible. It is as if the workloads are half installed.
Installing
dotnet workload install wasm-tools-net6
...
Removing Microsoft.Android.Ref.33.33.0.4-x64.msi ..... Done
Removing Microsoft.Android.Runtime.33.android-arm.33.0.4-x64.msi ..... Done
Removing Microsoft.Android.Runtime.33.android-arm64.33.0.4-x64.msi ..... Done
Removing Microsoft.Android.Runtime.33.android-x64.33.0.4.msi ..... Done
Removing Microsoft.Android.Runtime.33.android-x86.33.0.4-x64.msi ..... Done
Removing Microsoft.Android.Sdk.Windows.32.0.476-x64.msi ........... Done
Removing Microsoft.Android.Sdk.Windows.33.0.4-x64.msi ........... Done
Removing Microsoft.Android.Templates.33.0.4-x64.msi .... Done
Removing Microsoft.macOS.Ref.12.3.0.2372-x64.msi ..... Done
Removing Microsoft.macOS.Runtime.osx-arm64.12.3.0.2372-x64.msi ..... Done
Removing Microsoft.macOS.Runtime.osx-x64.12.3.0.2372.msi ..... Done
Removing Microsoft.macOS.Sdk.12.3.0.2372-x64.msi ...... Done
Removing Microsoft.macOS.Sdk.12.3.471.471-x64.msi ...... Done
Removing Microsoft.macOS.Templates.12.3.0.2372-x64.msi .... Done
....
uno-check
....
.NET SDK - Workloads (7.0.100) Checkup...
× android (Microsoft.NET.Sdk.Android.Manifest-7.0.100 : 33.0.4/7.0.100) not installed.
× ios (Microsoft.NET.Sdk.iOS.Manifest-7.0.100 : 16.0.1478/7.0.100) not installed.
× maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-7.0.100 : 15.4.2372/7.0.100) not installed.
× macos (Microsoft.NET.Sdk.macOS.Manifest-7.0.100 : 12.3.2372/7.0.100) not installed.
......
Attempt to fix (Y)
...
Installing Microsoft.NET.Sdk.Android.Manifest-7.0.100.33.0.4-x64.msi ..... Done
Installing Microsoft.NET.Sdk.iOS.Manifest-7.0.100.16.0.1478-x64.msi ..... Done
Installing Microsoft.NET.Sdk.MacCatalyst.Manifest-7.0.100.15.4.2372-x64.msi ..... Done
Installing Microsoft.NET.Sdk.macOS.Manifest-7.0.100.12.3.2372-x64.msi .... Done
Installing Microsoft.Android.Sdk.Windows.33.0.4-x64.msi .............. Done
Installing Microsoft.Android.Sdk.Windows.32.0.476-x64.msi ............. Done
Installing Microsoft.Android.Ref.33.33.0.4-x64.msi ...... Done
Installing Microsoft.Android.Runtime.33.android-arm.33.0.4-x64.msi ...... Done
Installing Microsoft.Android.Runtime.33.android-arm64.33.0.4-x64.msi ...... Done
Installing Microsoft.Android.Runtime.33.android-x86.33.0.4-x64.msi ...... Done
Installing Microsoft.Android.Runtime.33.android-x64.33.0.4.msi ...... Done
Installing Microsoft.Android.Templates.33.0.4-x64.msi .... Done
Installing Microsoft.macOS.Sdk.12.3.0.2372-x64.msi ..... Done
Installing Microsoft.macOS.Sdk.12.3.471.471-x64.msi ..... Done
Installing Microsoft.macOS.Ref.12.3.0.2372-x64.msi ..... Done
Installing Microsoft.macOS.Runtime.osx-x64.12.3.0.2372.msi ...... Done
Installing Microsoft.macOS.Runtime.osx-arm64.12.3.0.2372-x64.msi ...... Done
Installing Microsoft.macOS.Templates.12.3.0.2372-x64.msi .... Done
...
Which is correct ? wasm-tools-net6 / uno-check ? Each installes/removes the other ?
Thanks
Since Android development can [1] be made with Linux is would be nice to have uno-check
help developers to set it up.
At the moment the checks for the Android SDK limits it to macOS and Windows. This is rather easy to enable but Boots support is not implemented for Linux so it cannot install MS OpenJDK11.
This can be done manually, e.g. sudo apt-get install msopenjdk-11
for Ubuntu, but it really belongs inside uno-check
😄
[1] even if unsupported
For documentation purpose only.
This is still not available in VS/Win 17.4 preview 6...
Currently, the Android SDK installer validation fails with the following error:
System.Xml.XmlException: ''en' is an unexpected token. The expected token is '"' or '''. Line 3, position 12.'
when the download of this resource fails with a 404:
https://dl.google.com/android/repository/sys-img/android-desktop/sys-img2-3.xml
This url is provided by this manifest, and seems to be incorrectly provided by Google's servers:
https://dl.google.com/android/repository/addons_list-5.xml
This may be a temporary issue, let's give it a few days to resolve itself.
Install the Android SDK 31 and 32 manually, following the instructions here https://aka.ms/dotnet-androidsdk-help.
Add the following parameter to uno-check --skip androidemulator --skip androidsdk
Currently executing uno-check triggers an elevated privileges prompt.
I don't know if elevated privileges are really necessary unless the user answers 'yes' to the attempt to fix questions. If it is not necessary, could be an argument added to run without elevated privileges?
We are in a constrained security machines and before calling someone with elevated privileges to fix the errors it would be great to know if there is anything to fix.
Ideally uno-check should verify latest version of CLI templates is installed
On the PR #94 that works like a progress bar to download the files was duplicates. We need to centralize this code to avoid other duplications.
[UnoCheck/Solutions/GTK3NotInstalledOnWindowsSolution.cs](https://github.com/unoplatform/uno.check/blob/f92ca0fe863769178014673e122aa5376d0b079e/UnoCheck/Solutions/GTK3NotInstalledOnWindowsSolution.cs)
It fails...
> Windows Hyper-V Checkup Checkup...
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Recommendation: Activate Hyper-V on this computer to benefit from faster Android Emulators
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! Attempt to fix? [y/n] (y): y
» Attempting to fix: Windows Hyper-V Checkup
Please, restart your computer to complete the Hyper-V activation process.
Fix failed - Please, restart your computer to complete the Hyper-V activation process.
but Windows Features shows it as enabled.
the command used to check this seems not to work properly on the arm64 hardware.
c:\Windows>c:\Windows\System32\bcdedit.exe /enum {current}
The specified entry type is invalid.
Run "bcdedit /?" for command line assistance.
The parameter is incorrect.
c:\Windows>c:\Windows\System32\bcdedit.exe /enum
The boot configuration data store could not be opened.
Access is denied.
Validate for the presence of the Windows registry key which enables long path support.
The suggestion should also include a mention to reboot once the change has been made.
This is required to get fast performing Android emulators.
Validate that either HAXM or Hyper-V is installed (#46 (comment))
I did all:
╔╣╝"╚╬╗
╔╣` "╣╗
,@Ñ╝╩╬╗ ╚▒Ñ%,
╔╬╝ ]╣╦ ╔▓ ╚╣╗
╬╝ ,@╝ ╚@╬╝ ▒
╬╗ ,╣╝ ╝@╦╣` ╔╣╝
╚╬╦ ▒ ╚@╗ ╔╣╝
╚╝@ "╚╣▒
╚h ,@╝
╚Ñ@Ñ╝
_ _
_ _ _ __ ___ ___ | |__ ___ ___ | | __
| | | | | '_ \ / _ \ _____ / __| | '_ \ / _ \ / __| | |/ /
| |_| | | | | | | (_) | |_____| | (__ | | | | | __/ | (__ | <
\__,_| |_| |_| \___/ \___| |_| |_| \___| \___| |_|\_\
¤ Uno Platform Check v1.0.2.0 ¤
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will check your Uno Platform development environment.
If problems are detected, it will offer the option to try and fix them for you, or suggest a way to fix them yourself.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
» Synchronizing configuration...Loading Manifest from: https://raw.githubusercontent.com/unoplatform/uno.check/bf3684e2ad725baa66da3573759129d6bb1d8817/manifests/uno.ui.manifest.json
Required Version: 1.0.0
Current Version: 1.0.2.0
ok
» Scheduling appointments...SetEnvironmentVariable: DOTNET_FORCE=true
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
ok
> OpenJDK 11.0 Checkup...
ValidateAndroidSdkLocation: ``, result=False
ValidateAndroidSdkLocation: ``, result=False
Looking for Android SDK...
ValidateAndroidSdkLocation: `C:\Program Files (x86)\Android\android-sdk`, result=True
ValidateJavaSdkLocation: ``, result=False
ValidateJavaSdkLocation: ``, result=False
ValidateJavaSdkLocation: `C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot`, result=True
ValidateAndroidNdkLocation: ``, result=False
ValidateAndroidNdkLocation: ``, result=False
Looking for Android NDK...
ValidateAndroidNdkLocation: `C:\Android_SDK`, result=False
Looking for Android SDK...
SHELL: C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\javac.exe -version
javac 11.0.12
SHELL: C:\Program Files\Android\Jdk\jdk-8.0.302.8-hotspot\jdk8u302-b08\bin\javac.exe -version
javac 1.8.0_302
SHELL: C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\javac.exe -version
javac 11.0.12
SHELL: C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin\javac.exe -version
javac 1.8.0_302
- 11.0.12 (C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\..)
SetEnvironmentVariable: JAVA_HOME=C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot
> Visual Studio 17.0.0-pre.7.0 Checkup...
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild -format json -prerelease
[
{
"instanceId": "634e9c8f",
"installDate": "2021-10-07T10:05:27Z",
"installationName": "VisualStudio/16.11.7+31911.196",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31911.196",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "IDE avançado, gratuito para estudantes, colaboradores de código aberto e indivíduos",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.7",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-11-17T23:52:43.3501389Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31911.196",
"id": "VisualStudio/16.11.7+31911.196",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.7",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "7",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.7+31911.196",
"requiredEngineVersion": "2.11.52.58712"
},
"properties": {
"campaignId": "1578470881.1618977364",
"channelManifestId": "VisualStudio.16.Release/16.11.7+31911.196",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
},
{
"instanceId": "a48ca6c6",
"installDate": "2021-08-15T03:04:04Z",
"installationName": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.1.32104.313",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "IDE avançado, gratuito para estudantes, colaboradores de software livre e indivíduos",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.1.0-pre.2.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2022-01-15T00:55:53.9986247Z",
"catalog": {
"buildBranch": "d17.1",
"buildVersion": "17.1.32104.313",
"id": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.1.0 Preview 2.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "2.0",
"productSemanticVersion": "17.1.0-pre.2.0+32104.313",
"requiredEngineVersion": "3.1.1137.46088"
},
"properties": {
"campaignId": "1578470881.1618977364",
"canceled": "0",
"channelManifestId": "VisualStudio.17.Preview/17.1.0-pre.2.0+32104.313",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
}
]
- 16.11.7
- 17.1.0-pre.2.0 - C:\Program Files\Microsoft Visual Studio\2022\Preview
> Visual Studio Workloads Checkup...
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.Universal -format json -prerelease
[
{
"instanceId": "634e9c8f",
"installDate": "2021-10-07T10:05:27Z",
"installationName": "VisualStudio/16.11.7+31911.196",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31911.196",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "IDE avançado, gratuito para estudantes, colaboradores de código aberto e indivíduos",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.7",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-11-17T23:52:43.3501389Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31911.196",
"id": "VisualStudio/16.11.7+31911.196",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.7",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "7",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.7+31911.196",
"requiredEngineVersion": "2.11.52.58712"
},
"properties": {
"campaignId": "1578470881.1618977364",
"channelManifestId": "VisualStudio.16.Release/16.11.7+31911.196",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
},
{
"instanceId": "a48ca6c6",
"installDate": "2021-08-15T03:04:04Z",
"installationName": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.1.32104.313",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "IDE avançado, gratuito para estudantes, colaboradores de software livre e indivíduos",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.1.0-pre.2.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2022-01-15T00:55:53.9986247Z",
"catalog": {
"buildBranch": "d17.1",
"buildVersion": "17.1.32104.313",
"id": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.1.0 Preview 2.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "2.0",
"productSemanticVersion": "17.1.0-pre.2.0+32104.313",
"requiredEngineVersion": "3.1.1137.46088"
},
"properties": {
"campaignId": "1578470881.1618977364",
"canceled": "0",
"channelManifestId": "VisualStudio.17.Preview/17.1.0-pre.2.0+32104.313",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
}
]
- Universal Windows Platform development is installed (16.11.7, 17.1.0-pre.2.0)
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.NetCrossPlat -format json -prerelease
[
{
"instanceId": "634e9c8f",
"installDate": "2021-10-07T10:05:27Z",
"installationName": "VisualStudio/16.11.7+31911.196",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31911.196",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "IDE avançado, gratuito para estudantes, colaboradores de código aberto e indivíduos",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.7",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-11-17T23:52:43.3501389Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31911.196",
"id": "VisualStudio/16.11.7+31911.196",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.7",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "7",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.7+31911.196",
"requiredEngineVersion": "2.11.52.58712"
},
"properties": {
"campaignId": "1578470881.1618977364",
"channelManifestId": "VisualStudio.16.Release/16.11.7+31911.196",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
},
{
"instanceId": "a48ca6c6",
"installDate": "2021-08-15T03:04:04Z",
"installationName": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.1.32104.313",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "IDE avançado, gratuito para estudantes, colaboradores de software livre e indivíduos",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.1.0-pre.2.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2022-01-15T00:55:53.9986247Z",
"catalog": {
"buildBranch": "d17.1",
"buildVersion": "17.1.32104.313",
"id": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.1.0 Preview 2.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "2.0",
"productSemanticVersion": "17.1.0-pre.2.0+32104.313",
"requiredEngineVersion": "3.1.1137.46088"
},
"properties": {
"campaignId": "1578470881.1618977364",
"canceled": "0",
"channelManifestId": "VisualStudio.17.Preview/17.1.0-pre.2.0+32104.313",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
}
]
- Mobile development with .NET is installed (16.11.7, 17.1.0-pre.2.0)
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.NetWeb -format json -prerelease
[
{
"instanceId": "634e9c8f",
"installDate": "2021-10-07T10:05:27Z",
"installationName": "VisualStudio/16.11.7+31911.196",
"installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
"installationVersion": "16.11.31911.196",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "IDE avançado, gratuito para estudantes, colaboradores de código aberto e indivíduos",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.7",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-11-17T23:52:43.3501389Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31911.196",
"id": "VisualStudio/16.11.7+31911.196",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.7",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "7",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.7+31911.196",
"requiredEngineVersion": "2.11.52.58712"
},
"properties": {
"campaignId": "1578470881.1618977364",
"channelManifestId": "VisualStudio.16.Release/16.11.7+31911.196",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
},
{
"instanceId": "a48ca6c6",
"installDate": "2021-08-15T03:04:04Z",
"installationName": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview",
"installationVersion": "17.1.32104.313",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2022",
"description": "IDE avançado, gratuito para estudantes, colaboradores de software livre e indivíduos",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.1.0-pre.2.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2022-01-15T00:55:53.9986247Z",
"catalog": {
"buildBranch": "d17.1",
"buildVersion": "17.1.32104.313",
"id": "VisualStudioPreview/17.1.0-pre.2.0+32104.313",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.1.0 Preview 2.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "2.0",
"productSemanticVersion": "17.1.0-pre.2.0+32104.313",
"requiredEngineVersion": "3.1.1137.46088"
},
"properties": {
"campaignId": "1578470881.1618977364",
"canceled": "0",
"channelManifestId": "VisualStudio.17.Preview/17.1.0-pre.2.0+32104.313",
"nickname": "",
"setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
}
}
]
- ASP.NET and web development is installed (16.11.7, 17.1.0-pre.2.0)
> Android SDK Checkup...
ValidateAndroidSdkLocation: ``, result=False
ValidateAndroidSdkLocation: ``, result=False
Looking for Android SDK...
ValidateAndroidSdkLocation: `C:\Program Files (x86)\Android\android-sdk`, result=True
ValidateJavaSdkLocation: `C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot`, result=True
ValidateAndroidNdkLocation: ``, result=False
ValidateAndroidNdkLocation: ``, result=False
Looking for Android NDK...
ValidateAndroidNdkLocation: `C:\Android_SDK`, result=False
Looking for Android SDK...
SetEnvironmentVariable: ANDROID_SDK_ROOT=C:\Program Files (x86)\Android\android-sdk
SetEnvironmentVariable: ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
- emulator (31.1.4)
- build-tools;31.0.0 (31.0.0)
- platforms;android-31 (1)
- system-images;android-31;google_apis;x86_64 (8)
- platform-tools (31.0.3)
- cmdline-tools;3.0 (3.0)
> Android Emulator Checkup...
- Emulator: pixel_5_-_api_30 found.
> .NET SDK Checkup...
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
SHELL: C:\Program Files\dotnet\dotnet.exe --list-sdks
2.1.526 [C:\Program Files\dotnet\sdk]
2.2.207 [C:\Program Files\dotnet\sdk]
3.1.416 [C:\Program Files\dotnet\sdk]
5.0.104 [C:\Program Files\dotnet\sdk]
5.0.210 [C:\Program Files\dotnet\sdk]
5.0.303 [C:\Program Files\dotnet\sdk]
5.0.403 [C:\Program Files\dotnet\sdk]
5.0.404 [C:\Program Files\dotnet\sdk]
6.0.200-preview.21617.4 [C:\Program Files\dotnet\sdk]
- 2.1.526 - C:\Program Files\dotnet\sdk\2.1.526
- 2.2.207 - C:\Program Files\dotnet\sdk\2.2.207
- 3.1.416 - C:\Program Files\dotnet\sdk\3.1.416
- 5.0.104 - C:\Program Files\dotnet\sdk\5.0.104
- 5.0.210 - C:\Program Files\dotnet\sdk\5.0.210
- 5.0.303 - C:\Program Files\dotnet\sdk\5.0.303
- 5.0.403 - C:\Program Files\dotnet\sdk\5.0.403
- 5.0.404 - C:\Program Files\dotnet\sdk\5.0.404
- 6.0.200-preview.21617.4 - C:\Program Files\dotnet\sdk\6.0.200-preview.21617.4
SetEnvironmentVariable: DOTNET_SDK=C:\Program Files\dotnet\sdk\6.0.200-preview.21617.4
SetEnvironmentVariable: DOTNET_SDK_VERSION=6.0.200-preview.21617.4
> .NET SDK - Workload Deduplication Checkup...
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
> Edge WebView2 Checkup...
- Found Edge WebView2 version 97.0.1072.55
> Windows Subsystem for Linux Checkup...
SHELL: wsl -l
Distribuições do Subsistema do Windows para Linux:
docker-desktop-data (Padrão)
- docker-desktop-data (Padrão)
> .NET SDK - Workloads (6.0.100) Checkup...
× android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 31.0.101-preview.11.81) not installed.
× ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.101-preview.11.391) not installed.
× maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.101-preview.11.391) not installed.
× tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.101-preview.11.391) not installed.
× macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.101-preview.11.391) not installed.
× maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.101-preview.10.2068) not installed.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
¤ Recommendation: Install or Update SDK Workloads
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK - Workloads (6.0.100)
SHELL: C:\Program Files\dotnet\dotnet.exe workload repair --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://api.nuget.org/v3/index.json"
Nenhuma carga de trabalho instalada, nada para reparar. Execute a 'pesquisa de carga de trabalho dotnet' para encontrar cargas de trabalho a serem instaladas.
Updating with Rollback File:
{
"microsoft.net.sdk.android": "31.0.101-preview.11.81",
"microsoft.net.sdk.ios": "15.0.101-preview.11.391",
"microsoft.net.sdk.maccatalyst": "15.0.101-preview.11.391",
"microsoft.net.sdk.tvos": "15.0.101-preview.11.391",
"microsoft.net.sdk.macos": "12.0.101-preview.11.391",
"microsoft.net.sdk.maui": "6.0.101-preview.10.2068"
}
SHELL: C:\Program Files\dotnet\dotnet.exe workload update --no-cache --disable-parallel --from-rollback-file "C:\Users\Marcelo\AppData\Local\Temp\maui-check-53ad6969\workload.json" --source "https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet6/nuget/v3/index.json" --source "https://api.nuget.org/v3/index.json"
Nenhuma carga de trabalho instalada para esta faixa de recursos. Para atualizar cargas de trabalho instaladas com versões anteriores do SDK, inclua a opção --from-previous-sdk.
Manifesto de publicidade atualizado microsoft.net.sdk.android.
Manifesto de publicidade atualizado microsoft.net.sdk.ios.
Manifesto de publicidade atualizado microsoft.net.sdk.maccatalyst.
Manifesto de publicidade atualizado microsoft.net.sdk.macos.
Manifesto de publicidade atualizado microsoft.net.sdk.maui.
Manifesto de publicidade atualizado microsoft.net.sdk.tvos.
Falha ao atualizar o manifesto de publicidade microsoft.net.workload.emscripten: microsoft.net.workload.emscripten.manifest-6.0.200 não foi encontrado no NuGet feeds https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json, https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json, https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json, https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet6/nuget/v3/index.json, https://api.nuget.org/v3/index.json"..
Falha ao atualizar o manifesto de publicidade microsoft.net.workload.mono.toolchain: Falhou ao validar a assinatura do pacote.
Verificando Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.200.6.0.2-mauipre.1.22061.2
error: NU3004: O pacote não está assinado.
Falha na validação da assinatura do pacote.
.
Instalando manifesto de carga de trabalho microsoft.net.sdk.android versão 31.0.101-preview.11.81...
A instalação da carga de trabalho falhou, revertendo os pacotes instalados...
Instalando manifesto de carga de trabalho microsoft.net.sdk.android versão 31.0.101-preview.11.117...
Falha na reversão da instalação: Falha ao instalar o manifesto microsoft.net.sdk.android versão 31.0.101-preview.11.117: The transaction has aborted..
A atualização da carga de trabalho falhou: Falha ao instalar o manifesto microsoft.net.sdk.android versão 31.0.101-preview.11.81: microsoft.net.sdk.android.manifest-6.0.200::31.0.101-preview.11.81 não foi encontrado no NuGet feeds https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json;https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json;https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json;https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet6/nuget/v3/index.json;https://api.nuget.org/v3/index.json"..
Description:
Atualizar todas as cargas de trabalho instaladas.
Usage:
dotnet workload update [options]
Options:
--configfile <ARQUIVO> O arquivo de configuração do NuGet a ser usado.
-s, --source <ORIGEM> A origem do pacote NuGet a ser usada durante a restauração. Para especificar várias fontes, repita a opção.
--include-previews Permitir manifestos de carga de trabalho de pré-lançamento.
--temp-dir <temp-dir> Especifique um diretório temporário para este comando baixar e extrair pacotes NuGet (deve ser seguro).
--from-previous-sdk Inclua cargas de trabalho instaladas com versões anteriores do SDK na atualização.
--advertising-manifests-only Atualizar somente manifestos de anúncio.
--disable-parallel Evite restaurar vários projetos em paralelo.
--ignore-failed-sources Tratar falhas de origem de pacote como avisos.
--no-cache Não armazenar pacotes e solicitações HTTP em cache.
--interactive Permite que o comando seja interrompido e aguarde a ação ou entrada do usuário (por exemplo, para concluir a autenticação).
-v, --verbosity <LEVEL> Definir o nível de detalhamento do MSBuild. Os valores permitidos são q[uiet], m[inimal], n[ormal], d[etailed] e diag[nostic].
-?, -h, --help Mostrar a ajuda da linha de comando.
System.Exception: Workload Update failed: `dotnet workload update --no-cache --disable-parallel --from-rollback-file
"C:\Users\Marcelo\AppData\Local\Temp\maui-check-53ad6969\workload.json" --source
"https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source
"https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet6/nuget/v3/index.json" --source
"https://api.nuget.org/v3/index.json"`
at DotNetCheck.DotNet.DotNetWorkloadManager.CliUpdateWithRollback(String rollbackFile) in /_/UnoCheck/DotNet/
DotNetWorkloadManager.cs:199
at DotNetCheck.DotNet.DotNetWorkloadManager.Install(DotNetWorkload[] workloads) in /_/UnoCheck/DotNet/
DotNetWorkloadManager.cs:67
at DotNetCheck.Checkups.DotNetWorkloadsCheckup.<>c__DisplayClass12_0.<<Examine>b__0>d.MoveNext() in
/_/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs:104
Fix failed - Workload Update failed: `dotnet workload update --no-cache --disable-parallel --from-rollback-file
"C:\Users\Marcelo\AppData\Local\Temp\maui-check-53ad6969\workload.json" --source
"https://pkgs.dev.azure.com/xamarin/public/_packaging/maui-main/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" --source
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" --source
"https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet6/nuget/v3/index.json" --source
"https://api.nuget.org/v3/index.json"`
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Checkup had Error status: dotnetworkloads-6.0.100
dotnetworkloads-6.0.100:
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
Press Enter to finish...
This line is always true, so the path that is set by AndroidSdkInfo is ignored. https://github.com/unoplatform/uno.check/blob/main/UnoCheck/Checkups/AndroidSdkCheckup.cs#L106
Is this expected?
Is there a way to override the SDK path?
The current Hyper-V check fails when run under Windows 10/11 Home editions (and some others) and should be disabled in this case.
I am unable to update to the latest SDK or finish running uno-check. I tried also saying "No" to the "attempt to fix" dialog, and it also shows the deduplication workflow message.
🚑 Uno Platform Check v1.5.3.0 💉
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will check your Uno Platform development environment.
If problems are detected, it will offer the option to try and fix them for you, or suggest a way to fix them yourself.
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration... ok
⏳ Scheduling appointments... ok
🔎 .NET SDK Checkup...
– 6.0.108 - /usr/lib/dotnet/dotnet6-6.0.108/sdk/6.0.108
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download .NET SDK (6.0.400-rtm.22364.21)
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK
Fix applied. Checking again...
🔎 .NET SDK Checkup...
– 6.0.108 - /usr/lib/dotnet/dotnet6-6.0.108/sdk/6.0.108
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download .NET SDK (6.0.400-rtm.22364.21)
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
❌ Skipped: .NET SDK - Workload Deduplication
🔎 GTK3+ Checkup...
❌ Skipped: .NET SDK - Workloads (6.0.400-rtm.22364.21)
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
Press Enter to finish...
Checking the dotnet library folder:
$ ls -la /usr/lib/dotnet
total 12
drwxr-xr-x 3 root root 4096 Aug 22 13:35 .
drwxr-xr-x 125 root root 4096 Aug 12 13:39 ..
lrwxrwxrwx 1 root root 25 Aug 22 13:35 dotnet6 -> /etc/alternatives/dotnet6
drwxr-xr-x 10 root root 4096 Aug 22 13:35 dotnet6-6.0.108
Running it as root (sudo) it bizarrely shows that it requires superuser permission and should be run with sudo:
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK
🔔 Super User Permissions Required. Try running this tool again with 'sudo'.
❌ Skipped: .NET SDK - Workload Deduplication
🔎 GTK3+ Checkup...
❌ Skipped: .NET SDK - Workloads (6.0.400-rtm.22364.21)
Here's my platform and dotnet information (Installed by Ubuntu's package manager, not using the microsoft repository):
$ dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.108
Commit: 4e3a463d2b
Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/lib/dotnet/dotnet6-6.0.108/sdk/6.0.108/
global.json file:
Not found
Host:
Version: 6.0.8
Architecture: x64
Commit: 55fb7ef977
.NET SDKs installed:
6.0.108 [/usr/lib/dotnet/dotnet6-6.0.108/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.8 [/usr/lib/dotnet/dotnet6-6.0.108/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.8 [/usr/lib/dotnet/dotnet6-6.0.108/shared/Microsoft.NETCore.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
I was following the guide Get Started on JetBrains Rider and ran the command uno-check --pre
, then I got:
It seemed that no problem was found but it still said some problems detected. Is this normal?
My operating system is MacOS Monterey 12.4 with Apple M1 Pro chip.
ninja --version
or similar to validate)apt install ninja-build
(if running on debian or ubuntu-based system).Not sure how easy it is to detect and adjust output according to the user's current background color, but on anything less than my laptop screen's highest brightness setting, it was really hard to read the [bold blue]
output (PowerShell 7.1.3 in Windows Terminal, if it helps).
I know it's going to be specific to the user environment outside of the tool's direct control, but it could be nice to have it adapt colors as best as it can. If it helps to have some outside evaluation, WebAIM identified the contrast as 2.44:1, with a target in of 4.5:1 for normal text and 3:1 for large text.
I updated uno-check as per here and got this when running
uno-check
(without any parameters). Expected?
Hello, good afternoon, I want to comment on an error with the dotnet-sdk snap in ubuntu, I used version 20.04, in bash I get this error:
"Segmentation Fault"
When running v1.0.2.0 I get the following message
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
However, there are no error messages.
When I run uno-check --verbose
I get the following response.
You will see an error during the Android Emulator Checkup...
System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetCheck.AndroidSdk.AvdManager.ListAvds() in /_/UnoCheck/AndroidSdk/AvdManager.cs:183
at DotNetCheck.Checkups.AndroidEmulatorCheckup.Examine(SharedState history) in /_/UnoCheck/Checkups/
AndroidEmulatorCheckup.cs:51
at DotNetCheck.Cli.CheckCommand.ExecuteAsync(CommandContext context, CheckSettings settings) in /_/UnoCheck/
CheckCommand.cs:167
Is Uno.Check expecting the emulators in a certain folder?
The mlaunch
tool, part of the iOS SDK, is broken on Xcode 14.3.1.
This makes VSfM not show the simulators and, of course, deployments won't work.
sudo dotnet workload update
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.1.1481/tools/bin/mlaunch -sdkroot "/Applications/Xcode-14.3.1.app/Contents/Developer" --installdev "/Users/poupou/Projects/uno/collab20230706/MyApp01/MyApp01.Mobile/bin/Debug/net7.0-ios/iossimulator-x64/MyApp01.Mobile.app" --device ios "--devname=Mercure (2)" --install-progress
error HE0004: Could not load the framework 'ContentDeliveryServices' (path: /Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/ContentDeliveryServices):
dlopen(/Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/ContentDeliveryServices, 0x0001): Library not loaded: @rpath/ContentDelivery.framework/Versions/A/ContentDelivery
Referenced from: <77B7BF95-A673-3DD7-875F-6393D0092351> /Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/ITunesConnectFoundation.framework/Versions/A/ITunesConnectFoundation
Reason: tried: '/Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/ITunesConnectFoundation.framework/Versions/A/../../../../Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.1.1481/tools/lib/mlaunch/mlaunch.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework/Versions/A/../../../../Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.1.1481/tools/lib/mlaunch/mlaunch.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.1.1481/tools/lib/mlaunch/mlaunch.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/../ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.1.1481/tools/lib/mlaunch/mlaunch.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Applications/Xcode-14.3.1.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/../ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Library/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/System/Library/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file, not in dyld cache)
I'm on a Windows 10 machine
So, I installed the workloads using the uno-check
tool and when I run dotnet workload list
I see this error
Unhandled exception: System.Collections.Generic.KeyNotFoundException: The given key 'Microsoft.Android.Sdk' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.<>c__DisplayClass30_0.<GetUpdatedWorkloads>b__2(WorkloadPackId p)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.GetUpdatedWorkloads(WorkloadResolver advertisingManifestResolver, IEnumerable`1 installedWorkloads)+MoveNext()
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at Microsoft.DotNet.Workloads.Workload.List.WorkloadListCommand.Execute()
at Microsoft.DotNet.Cli.WorkloadListCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
I uninstalled the android, ios, macos, and maccatalyst
workloads and installed them again using the dotnet workload install
for each one. After that, the error disappears.
Then I ran the uno-check
again and complains that I don't have these workloads installed, if I let the tool install the workload the error reappears.
This condition can happen if Xcode is not present and only the command-line tools are installed. It's also known to happen, under some circumstances, when updating brew
$ dotnet tool update uno.check -g
Tool 'uno.check' was reinstalled with the latest stable version (version '1.12.1').
$ sudo xcode-select -s /Library/Developer/CommandLineTools
$ uno-check
The Xcode check fails and the tool ask to fix the issue... but that does not work, so it ask again (and again...)
XCode 14.0 Checkup...
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Run xcode-select --install
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: XCode 14.0
Fix applied. Checking again...
🔎 XCode 14.0 Checkup...
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Run xcode-select --install
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y):
The tool reports exactly this:
As you will see, there's no prior error that gives a clue on what's failing. I'm attaching the whole output, since I found no log file.
Additional info:
Thanks in advance!
╔╣╝"╚╬╗
╔╣` "╣╗
,@Ñ╝╩╬╗ ╚▒Ñ%,
╔╬╝ ]╣╦ ╔▓ ╚╣╗
╬╝ ,@╝ ╚@╬╝ ▒
╬╗ ,╣╝ ╝@╦╣` ╔╣╝
╚╬╦ ▒ ╚@╗ ╔╣╝
╚╝@ "╚╣▒
╚h ,@╝
╚Ñ@Ñ╝
_ _
_ _ _ __ ___ ___ | |__ ___ ___ | | __
| | | | | '_ \ / _ \ _____ / __| | '_ \ / _ \ / __| | |/ /
| |_| | | | | | | (_) | |_____| | (__ | | | | | __/ | (__ | <
\__,_| |_| |_| \___/ \___| |_| |_| \___| \___| |_|\_\
¤ Uno Platform Check v1.0.0.0 ¤
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will check your Uno Platform development environment.
If problems are detected, it will offer the option to try and fix them for you, or suggest a way to fix them yourself.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
» Synchronizing configuration... ok
» Scheduling appointments... ok
> OpenJDK 11.0 Checkup...
- 11.0.10 (C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot\bin\..)
- 1.8.0-25 (C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25)
> Visual Studio 17.0.0-pre.2.0 Checkup...
- 16.11.1
- 17.0.0-pre.3.1 - C:\Program Files\Microsoft Visual Studio\2022\Preview
- 16.11.1-pre.1.0
> Visual Studio Workloads Checkup...
- Universal Windows Platform development is installed (17.0.0-pre.3.1, 16.11.1-pre.1.0)
- Mobile development with .NET is installed (17.0.0-pre.3.1, 16.11.1-pre.1.0)
- ASP.NET and web development is installed (16.11.1, 17.0.0-pre.3.1, 16.11.1-pre.1.0)
> Android SDK Checkup...
- emulator (30.6.5)
- build-tools;30.0.2 (30.0.2)
- platforms;android-30 (3)
- system-images;android-30;google_apis;x86 (9)
- platform-tools (30.0.4)
> Android Emulator Checkup...
- Emulator: pixel_2_q_10_0_-_api_29 found.
> .NET SDK Checkup...
- 3.1.408 - C:\Program Files\dotnet\sdk\3.1.408
- 5.0.202 - C:\Program Files\dotnet\sdk\5.0.202
- 5.0.400 - C:\Program Files\dotnet\sdk\5.0.400
- 6.0.100-preview.6.21355.2 - C:\Program Files\dotnet\sdk\6.0.100-preview.6.21355.2
- 6.0.100-preview.7.21379.14 - C:\Program Files\dotnet\sdk\6.0.100-preview.7.21379.14
> .NET SDK - Workload Deduplication Checkup...
> Edge WebView2 Checkup...
- Found Edge WebView2 version 92.0.902.73
> Windows Subsystem for Linux Checkup...
- docker-desktop (predet.)
- docker-desktop-data
> .NET SDK - Workloads (6.0.100-preview.6.21355.2) Checkup...
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
Press Enter to finish...
Uno.Check should also check if VS2022 template vsix is installed and offer installation/update.
Related: #132.
Installing Python 3.10 from the Microsoft Store does not create the registry key that the check is looking for.
Regedit does not find any key named PyLauncher
elsewhere...
I'm getting the above error when running uno-check --preview --verbose
Here is the entire output:
╓╣╜"╙╬╖ ╓╣
"╣╗
,@Ñ╜╩╬╗ ╙▒Ñ%,
╓╬╝ ]╣╦ ╓▓ ╙╣╖
╬╝ ,@╜ ╚@╬╜ ▒
╬╗ ,╣╜ ╝@╦╣` ╓╣╜
╙╬╦ ▒ ╙@╖ ╓╣╜
╙╝@ "╙╣▒
╚h ,@╝
╙Ñ@Ñ╜
_ _
_ _ _ __ ___ ___ | |__ ___ ___ | | __
| | | | | '_ \ / _ \ _____ / | | ' \ / _ \ / | | |/ /
| || | | | | | | () | || | ( | | | | | / | ( | <
_,| || || _/ _| || || _| _| |_|_\
☼ Uno Platform Check v1.0.2.0 ☼
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will check your Uno Platform development environment.
If problems are detected, it will offer the option to try and fix them for you, or suggest a way to fix them yourself.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
» Synchronizing configuration...Loading Manifest from: https://raw.githubusercontent.com/unoplatform/uno.check/bf3684e2ad725baa66da3573759129d6bb1d8817/manifests/uno.ui-preview.manifest.json
Required Version: 1.0.0
Current Version: 1.0.2.0
ok
» Scheduling appointments...SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
ok
OpenJDK 11.0 Checkup...
ValidateAndroidSdkLocation:, result=False ValidateAndroidSdkLocation:
, result=False
Looking for Android SDK...
ValidateAndroidSdkLocation:C:\Program Files (x86)\Android\android-sdk
, result=True
ValidateJavaSdkLocation:, result=False ValidateJavaSdkLocation:
, result=False
ValidateJavaSdkLocation:C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot
, result=True
ValidateAndroidNdkLocation:, result=False ValidateAndroidNdkLocation:
, result=False
Looking for Android NDK...
Looking for Android SDK...
SHELL: C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\javac.exe -version
javac 11.0.12
SHELL: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\bin\javac.exe -version
javac 1.8.0-25
SHELL: C:\Program Files\Android\Jdk\jdk-8.0.302.8-hotspot\jdk8u302-b08\bin\javac.exe -version
javac 1.8.0_302
SHELL: C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\javac.exe -version
javac 11.0.12
SHELL: C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot\bin\javac.exe -version
javac 11.0.10
Visual Studio 17.0.0-pre.7.0 Checkup...
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild -format json -prerelease
[
{
"instanceId": "169e0afc",
"installDate": "2019-07-12T17:11:48Z",
"installationName": "VisualStudio/16.11.5+31729.503",
"installationPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional",
"installationVersion": "16.11.31729.503",
"productId": "Microsoft.VisualStudio.Product.Professional",
"productPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Professional 2019",
"description": "Professional IDE best suited to small teams",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.5",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-10-14T17:19:58.9957859Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31729.503",
"id": "VisualStudio/16.11.5+31729.503",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.5",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "5",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.5+31729.503",
"requiredEngineVersion": "2.11.40.25675"
},
"properties": {
"campaignId": "1090231564.1545254982",
"canceled": "0",
"channelManifestId": "VisualStudio.16.Release/16.11.5+31729.503",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe"
}
},
{
"instanceId": "542938e0",
"installDate": "2021-11-09T13:17:37Z",
"installationName": "VisualStudio/17.0.0+31903.59",
"installationPath": "C:\Program Files\Microsoft Visual Studio\2022\Professional",
"installationVersion": "17.0.31903.59",
"productId": "Microsoft.VisualStudio.Product.Professional",
"productPath": "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Professional 2022",
"description": "Professional IDE best suited to small teams",
"channelId": "VisualStudio.17.Release",
"channelUri": "https://aka.ms/vs/17/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.0#17.0.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-11-09T13:17:37.3632266Z",
"catalog": {
"buildBranch": "d17.0",
"buildVersion": "17.0.31903.59",
"id": "VisualStudio/17.0.0+31903.59",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "17.0.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "8.0",
"productSemanticVersion": "17.0.0+31903.59",
"requiredEngineVersion": "3.0.4492.23473"
},
"properties": {
"campaignId": "847182680.1563533830",
"channelManifestId": "VisualStudio.17.Release/17.0.0+31903.59",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
}
},
{
"instanceId": "a48be1da",
"installDate": "2021-07-20T13:15:57Z",
"installationName": "VisualStudioPreview/17.1.0-pre.1.1+31911.260",
"installationPath": "C:\Program Files\Microsoft Visual Studio\2022\Preview",
"installationVersion": "17.1.31911.260",
"productId": "Microsoft.VisualStudio.Product.Professional",
"productPath": "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Professional 2022",
"description": "Professional IDE best suited to small teams",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.1.0-pre.1.1",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-12-06T19:56:20.4661321Z",
"catalog": {
"buildBranch": "d17.1",
"buildVersion": "17.1.31911.260",
"id": "VisualStudioPreview/17.1.0-pre.1.1+31911.260",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.1.0 Preview 1.1",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "1.1",
"productSemanticVersion": "17.1.0-pre.1.1+31911.260",
"requiredEngineVersion": "3.1.59.42013"
},
"properties": {
"campaignId": "847182680.1563533830",
"channelManifestId": "VisualStudio.17.Preview/17.1.0-pre.1.1+31911.260",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
}
}
]
Visual Studio Workloads Checkup...
SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.Universal -format json -prerelease
[
{
"instanceId": "169e0afc",
"installDate": "2019-07-12T17:11:48Z",
"installationName": "VisualStudio/16.11.5+31729.503",
"installationPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional",
"installationVersion": "16.11.31729.503",
"productId": "Microsoft.VisualStudio.Product.Professional",
"productPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Professional 2019",
"description": "Professional IDE best suited to small teams",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.5",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2021-10-14T17:19:58.9957859Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.31729.503",
"id": "VisualStudio/16.11.5+31729.503",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.5",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "5",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.5+31729.503",
"requiredEngineVersion": "2.11.40.25675"
},
"properties": {
"campaignId": "1090231564.1545254982",
"canceled": "0",
"channelManifestId": "VisualStudio.16.Release/16.11.5+31729.503",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe"
}
},
{
"instanceId": "542938e0",
"installDate": "2021-11-09T13:17:37Z",
"installationName": "VisualStudio/17.0.0+31903.59",
"installationPath": "C:\Program Files\Microsoft Visual Studio\2022\Professional",
"installationVersion": "17.0.31903.59",
"productId": "Microsoft.VisualStudio.Product.Professional",
"productPath": "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Professional 2022",
"description": "Professional IDE best suited to small teams",
"channelId": "VisualStudio.17.Release",
"channelUri": "https://aka.ms/vs/17/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.0#17.0.0",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-11-09T13:17:37.3632266Z",
"catalog": {
"buildBranch": "d17.0",
"buildVersion": "17.0.31903.59",
"id": "VisualStudio/17.0.0+31903.59",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "17.0.0",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "8.0",
"productSemanticVersion": "17.0.0+31903.59",
"requiredEngineVersion": "3.0.4492.23473"
},
"properties": {
"campaignId": "847182680.1563533830",
"channelManifestId": "VisualStudio.17.Release/17.0.0+31903.59",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
}
},
{
"instanceId": "a48be1da",
"installDate": "2021-07-20T13:15:57Z",
"installationName": "VisualStudioPreview/17.1.0-pre.1.1+31911.260",
"installationPath": "C:\Program Files\Microsoft Visual Studio\2022\Preview",
"installationVersion": "17.1.31911.260",
"productId": "Microsoft.VisualStudio.Product.Professional",
"productPath": "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": true,
"isRebootRequired": false,
"displayName": "Visual Studio Professional 2022",
"description": "Professional IDE best suited to small teams",
"channelId": "VisualStudio.17.Preview",
"channelUri": "https://aka.ms/vs/17/pre/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=661273#17.1.0-pre.1.1",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2021-12-06T19:56:20.4661321Z",
"catalog": {
"buildBranch": "d17.1",
"buildVersion": "17.1.31911.260",
"id": "VisualStudioPreview/17.1.0-pre.1.1+31911.260",
"localBuild": "build-lab",
"manifestName": "VisualStudioPreview",
"manifestType": "installer",
"productDisplayVersion": "17.1.0 Preview 1.1",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "Preview",
"productMilestoneIsPreRelease": "True",
"productName": "Visual Studio",
"productPatchVersion": "0",
"productPreReleaseMilestoneSuffix": "1.1",
"productSemanticVersion": "17.1.0-pre.1.1+31911.260",
"requiredEngineVersion": "3.1.59.42013"
},
"properties": {
"campaignId": "847182680.1563533830",
"channelManifestId": "VisualStudio.17.Preview/17.1.0-pre.1.1+31911.260",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
}
}
]
Android SDK Checkup...
ValidateAndroidSdkLocation:, result=False ValidateAndroidSdkLocation:
, result=False
Looking for Android SDK...
ValidateAndroidSdkLocation:C:\Program Files (x86)\Android\android-sdk
, result=True
ValidateJavaSdkLocation:C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot
, result=True
ValidateAndroidNdkLocation:, result=False ValidateAndroidNdkLocation:
, result=False
Looking for Android NDK...
Looking for Android SDK...
SetEnvironmentVariable: ANDROID_SDK_ROOT=C:\Program Files (x86)\Android\android-sdk
SetEnvironmentVariable: ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
Android Emulator Checkup...
.NET SDK Checkup...
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
SHELL: C:\Program Files\dotnet\dotnet.exe --list-sdks
2.1.201 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.302 [C:\Program Files\dotnet\sdk]
2.1.526 [C:\Program Files\dotnet\sdk]
2.1.701 [C:\Program Files\dotnet\sdk]
3.1.415 [C:\Program Files\dotnet\sdk]
5.0.104 [C:\Program Files\dotnet\sdk]
5.0.209 [C:\Program Files\dotnet\sdk]
5.0.303 [C:\Program Files\dotnet\sdk]
5.0.402 [C:\Program Files\dotnet\sdk]
5.0.403 [C:\Program Files\dotnet\sdk]
6.0.100-preview.3.21202.5 [C:\Program Files\dotnet\sdk]
6.0.100-rc.1.21458.32 [C:\Program Files\dotnet\sdk]
6.0.100 [C:\Program Files\dotnet\sdk]
.NET SDK - Workload Deduplication Checkup...
SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet
Edge WebView2 Checkup...
Windows Subsystem for Linux Checkup...
SHELL: wsl -l
Copyright (c) Microsoft Corporation. All rights reserved.
Usage: wsl.exe [Argument]
Arguments:
--install <Options>
Install Windows Subsystem for Linux features. If no options are specified,
the recommended features will be installed along with the default distribution.
To view the default distribution as well as a list of other valid distributions,
use 'wsl --list --online'.
Options:
--distribution, -d [Argument]
Specifies the distribution to be downloaded and installed by name.
Arguments:
A valid distribution name (not case sensitive).
Examples:
wsl --install -d Ubuntu
wsl --install --distribution Debian
--list, -l [Options]
Lists distributions.
Options:
--online, -o
Displays a list of available distributions for install with 'wsl --install'.
--help
Display usage information.
System.InvalidOperationException: Could not find color or style 'Argument'.
at Spectre.Console.StyleParser.Parse(String text) in //src/Spectre.Console/StyleParser.cs:13
at Spectre.Console.MarkupParser.Parse(String text, Style style) in //src/Spectre.Console/Internal/Text/Markup/
MarkupParser.cs:26
at Spectre.Console.AnsiConsoleExtensions.Markup(IAnsiConsole console, String value) in
//src/Spectre.Console/Extensions/AnsiConsoleExtensions.Markup.cs:41
at Spectre.Console.AnsiConsoleExtensions.MarkupLine(IAnsiConsole console, String value) in
//src/Spectre.Console/Extensions/AnsiConsoleExtensions.Markup.cs:62
at Spectre.Console.AnsiConsole.MarkupLine(String value) in //src/Spectre.Console/AnsiConsole.Markup.cs:46
at DotNetCheck.Cli.CheckCommand.checkupStatusUpdated(Object sender, CheckupStatusEventArgs e) in //UnoCheck/
CheckCommand.cs:319
at DotNetCheck.Checkups.WSLCheckup.Examine(SharedState history) in //UnoCheck/Checkups/WSLCheckup.cs:34
at DotNetCheck.Cli.CheckCommand.ExecuteAsync(CommandContext context, CheckSettings settings) in //UnoCheck/
CheckCommand.cs:167
.NET SDK - Workloads (6.0.100) Checkup...
Checkup had Error status: wsl
wsl: Could not find color or style 'Argument'.
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
Press Enter to finish...
`
The application should run as a verified signed publisher
python --version
for instance)with mono 6.04 installed by uno-check I cannot start an android application.
The error message is ... java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "mono_opt_aot_lazy_assembly_load" referenced ...
editing workload.json from temp dir and changing "microsoft.net.workload.mono.toolchain": from 6.04 to "6.0.5" and calling dotnet workload install --from-rollback-file workload.json android ios maccatalyst tvos macos wasm-tools wasm-tools --source "https://api.nuget.org/v3/index.json" --source "https://aka.ms/dotnet6/nuget/index.json" fixes it
¤ Uno Platform Check v1.6.0.0 ¤
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────This tool will check your Uno Platform development environment.
If problems are detected, it will offer the option to try and fix them for you, or suggest a way to fix them yourself.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────» Synchronizing configuration... ok
» Scheduling appointments... ok
OpenJDK 11.0 Checkup...
Visual Studio 17.3.0 Checkup...
Visual Studio Workloads Checkup...
Android SDK Checkup...
Android Emulator Checkup...
.NET SDK Checkup...
.NET SDK - Workload Deduplication Checkup...
Edge WebView2 Checkup...
Windows Subsystem for Linux Checkup...
Windows Phyton Installation Checkup Checkup...
Windows Long Path Checkup Checkup...
Windows Hyper-V Checkup Checkup...
.NET SDK - Workloads (6.0.400-rtm.22364.21) Checkup...
× android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.448/6.0.400) not installed.
× ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.400 : 15.4.446-ci.-release-6-0-4xx.446/6.0.400) not installed.
× maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.446-ci.-release-6-0-4xx.446/6.0.400) not installed.
× macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.446-ci.-release-6-0-4xx.446/6.0.400) not installed.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
¤ Recommendation: Install or Update SDK Workloads
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK - Workloads (6.0.400-rtm.22364.21)
SHELL: C:\Program Files\dotnet\dotnet.exe workload install --from-rollback-file "C:\Users\andrew\AppData\Local\Temp\maui-check-a24313b2\workload.json" android ios maccatalyst macos --source "https://api.nuget.org/v3/index.json"
Workload(s) 'android ios maccatalyst macos' are already installed.
Warning: Workload garbage collection failed with error: An item with the same key has already been added. Key: (Microsoft.NETCore.App.Runtime.Mono.android-arm, 6.0.11).
Successfully installed workload(s) android ios maccatalyst macos.
Fix applied. Checking again...
.NET SDK - Workloads (6.0.400-rtm.22364.21) Checkup...
� android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.448/6.0.400) not installed.
� ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.400 : 15.4.446-ci.-release-6-0-4xx.446/6.0.400) not installed.
� maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.446-ci.-release-6-0-4xx.446/6.0.400) not installed.
� macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.446-ci.-release-6-0-4xx.446/6.0.400) not installed.
� Recommendation: Install or Update SDK Workloads
! Attempt to fix? [y/n] (y): y
! There were one or more problems detected.
Please review the errors and correct them and run uno-check again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.