Skip to content

Instantly share code, notes, and snippets.

View BretJohnson's full-sized avatar

Bret Johnson BretJohnson

View GitHub Profile
@BretJohnson
BretJohnson / gist:82f2c831a1a7ed2ddf1d74bb5710c717
Created August 23, 2023 04:55
MenuItemsSource ArgumentOutOfRangeException call stack
WinRT.Runtime.dll!ABI.System.Collections.IList.ToAbiHelper.EnsureIndexInt32(uint index, int listCapacity)
WinRT.Runtime.dll!ABI.System.Collections.IList.ToAbiHelper.GetAt(uint index)
WinRT.Runtime.dll!ABI.System.Collections.IList.Vftbl.Do_Abi_GetAt_0(nint thisPtr, uint index, nint* result)
[Native to Managed Transition]
[Inline Frame] Microsoft.UI.Xaml.Controls.dll!winrt::impl::consume_Windows_Foundation_Collections_IVector<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>,winrt::Windows::Foundation::IInspectable>::GetAt(unsigned int) Line 195
at D:\a\_work\1\s\BuildOutput\obj\x86fre\controls\dev\dll\generated\winrt\Windows.Foundation.Collections.h(195)
Microsoft.UI.Xaml.Controls.dll!InspectingDataSource::GetAtCore(int index) Line 75
at D:\a\_work\1\s\controls\dev\Repeater\InspectingDataSource.cpp(75)
[Inline Frame] Microsoft.UI.Xaml.Controls.dll!ItemsSourceView::GetAt(int) Line 26
at D:\a\_work\1\s\controls\dev\Repeater\ItemsSourceView.cpp(26)
C:\Users\bretjohn>reg query HKLM\SOFTWARE\Microsoft\Windows\currentversion\uninstall\ -s -f manifest
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\currentversion\uninstall\{0E4FBBE3-D152-44E3-8539-C2571D50979D}
InstallSource REG_SZ C:\ProgramData\dotnet\workloads\microsoft.net.sdk.macos.manifest-7.0.200.msi.x64\13.1.2024\
DisplayName REG_SZ Microsoft.NET.Sdk.macOS.Manifest-7.0.200 (x64)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\currentversion\uninstall\{448E9B08-748E-49A5-9653-2998954D2E78}
InstallSource REG_SZ C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.NET.Sdk.tvOS.Manifest-7.0.100,version=16.1.53,machinearch=x64\ DisplayName REG_SZ Microsoft.NET.Sdk.tvOS.Manifest-7.0.100 (x64)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\currentversion\uninstall\{54CD835C-7F22-4289-A942-DA63675515F3}
@BretJohnson
BretJohnson / gist:f97b8c22e96b0d55cde139aafc83d9cd
Created September 27, 2022 20:06
Infinite recursion (stack overflow) reloading project
at Xamarin.Addins.Core.ProjectSystem.SingleProjectState+<>c__DisplayClass47_0.<GetProjectStateThatAppliesFor>b__0(Xamarin.Addins.Core.ProjectSystem.IProjectState)
at Xamarin.Addins.Core.ProjectSystem.SingleProjectConfiguration.OnCopyFrom(MonoDevelop.Projects.ItemConfiguration, Boolean)
at System.Linq.Enumerable.TryGetFirst[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,Boolean>, Boolean ByRef)
at System.Linq.Enumerable.FirstOrDefault[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,Boolean>)
at Xamarin.Addins.Core.ProjectSystem.SingleProjectState.GetProjectStateThatAppliesFor(System.String)
at Xamarin.Addins.Core.ProjectSystem.SingleProjectConfiguration.GetConfiguration(System.String)
at Xamarin.Addi
2021-01-19 16:46:14.037 Visual Studio Update[9036:334221] Reading index file
2021-01-19 16:46:14.039 Visual Studio Update[9036:334221] Loaded 7 updates from index file
2021-01-19 16:46:14.039 Visual Studio Update[9036:334221] Requesting root authorization for <nothing>
2021-01-19 16:46:18.705 Visual Studio Update[9036:334221] Acquired root authorization
2021-01-19 16:46:18.705 Visual Studio Update[9036:334221] Updates require restart, terminating Visual Studio and related apps
2021-01-19 16:46:18.716 Visual Studio Update[9036:334405] Installing update 1 of 7
2021-01-19 16:46:18.716 Visual Studio Update[9036:334405] Installing package '/Users/bret/Library/Caches/VisualStudio/8.0/TempDownload/dotnet-sdk-5.0.102-osx-x64.pkg'
2021-01-19 16:46:18.716 Visual Studio Update[9036:334405] /usr/sbin/installer -pkg '/Users/bret/Library/Caches/VisualStudio/8.0/TempDownload/dotnet-sdk-5.0.102-osx-x64.pkg' -target / -verboseR
2021-01-19 16:46:18.716 Visual Studio Update[9036:334405] Requesting root authorization for /usr/sb
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.28.2
#
# LoaderDir = /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "The JPEG image format" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
INFO [2020-12-02 00:29:10Z]: Starting Visual Studio 2019 for Mac (Preview) 8.9 Preview (8.9 build 1065)
INFO [2020-12-02 00:29:10Z]: Build Information
Release ID: 809001065
Git revision: 64b715e0b948bd6a3983f514d6920aa0b4f5e096
Build date: 2020-11-27 04:17:07-05
Build branch: main
Xamarin extensions: 64b715e0b948bd6a3983f514d6920aa0b4f5e096
INFO [2020-12-02 00:29:10Z]: Running on Mono 6.12.0.107 (2020-02/a22ed3f094e) (64-bit)
INFO [2020-12-02 00:29:10Z]: Operating System: Mac OS X 10.15.7
MSBuild auto-detection: using msbuild version '16.7.0.21301' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\IntPreview\MSBuild\Current\bin'.
All packages listed in packages.config are already installed.
Restoring packages for C:\xamarin\monodroid\external\xamarin-android\build-tools\Xamarin.Android.Tools.BootstrapTasks\Xamarin.Android.Tools.BootstrapTasks.csproj...
Restoring packages for C:\xamarin\monodroid\external\xamarin-android\src\Xamarin.Android.Build.Tasks\Xamarin.Android.Build.Tasks.csproj...
Committing restore...
Committing restore...
Committing restore...
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: C:\xamarin\monodroid\external\xamarin-android\external\Java.Interop\src\Java.Interop.Export\obj\project.assets.json
Assets file has not changed. Skipping assets file writing. Path: C:\xamarin\monodroid\external\xamarin-android\external\Java.Interop\src\Java.Interop.Tools.Diagnostics\obj\project.assets.json
MSBuild auto-detection: using msbuild version '16.7.0.21301' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\IntPreview\MSBuild\Current\bin'.
All packages listed in packages.config are already installed.
Restoring packages for C:\xamarin\monodroid\external\xamarin-android\src\Xamarin.Android.Build.Tasks\Xamarin.Android.Build.Tasks.csproj...
Restoring packages for C:\xamarin\monodroid\external\xamarin-android\build-tools\Xamarin.Android.Tools.BootstrapTasks\Xamarin.Android.Tools.BootstrapTasks.csproj...
Committing restore...
Committing restore...
Committing restore...
Committing restore...
Committing restore...
Committing restore...
Build started 12/16/2019 4:17:29 PM.
__________________________________________________
Project "/Users/bret/Projects/Android15/Android15/Android15.csproj" (BuildApk target(s)):
Target _CleanIntermediateIfNuGetsChange:
Skipping target "_CleanIntermediateIfNuGetsChange" because all output files are up-to-date with respect to the input files.
Target _ResolveSdks:
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
Target _CheckInstantRunCondition:
Build started 12/16/2019 4:17:29 PM.
__________________________________________________
Project "/Users/bret/Projects/Android15/Android15/Android15.csproj" (BuildApk target(s)):
Target _CleanIntermediateIfNuGetsChange:
Skipping target "_CleanIntermediateIfNuGetsChange" because all output files are up-to-date with respect to the input files.
Target _ResolveSdks:
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
Target _CheckInstantRunCondition: