Skip to content

Instantly share code, notes, and snippets.

View rmarinho's full-sized avatar

Rui Marinho rmarinho

View GitHub Profile
@rmarinho
rmarinho / rc_release.md
Last active April 12, 2022 13:59
Clean up release notes
@rmarinho
rmarinho / installing.log
Created March 29, 2022 15:41
Log macOS
Downloading from "https://dot.net/v1/dotnet-install.sh" to "/Users/ruimarinho/dotnet/maui/bin/dotnet-install.sh" (55,234 bytes).
  dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
  dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
  dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
  dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
"CopyOption": "LangIDOnName",
"OutputPath": ".\\src\\Templates\\src\\templates\\maui-contentpage-xaml\\.template.config\\localize\\"
},
{
"SourceFile": ".\\src\\Templates\\src\\templates\\maui-contentview-csharp\\.template.config\\localize\\templatestrings.json",
"LclFile": "loc\\{Lang}\\src\\Templates\\src\\templates\\maui-contentview-csharp\\.template.config\\localize\\templatestrings.json.lcl",
"CopyOption": "LangIDOnName",
"OutputPath": ".\\src\\Templates\\src\\templates\\maui-contentview-csharp\\.template.config\\localize\\"
},
@rmarinho
rmarinho / crash.report
Last active February 3, 2022 16:42
vsmac.crash
This file has been truncated, but you can view the full file.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: VisualStudio [4664]
Path: /Applications/Visual Studio (Preview).app/Contents/MacOS/VisualStudio
Identifier: com.microsoft.visual-studio-preview
Version: 17.0.0.7143 (17.0.0.7143)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
@rmarinho
rmarinho / log
Last active August 6, 2021 14:09
output
.NET SDK - Workloads (6.0.100-rc.1.21403.66) Checkup...
❌ android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 30.0.100-ci.main.117) not installed.
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.100-ci.main.368) not installed.
❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.100-ci.main.368) not installed.
❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.100-ci.main.368) not installed.
❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.100-ci.main.368) not installed.
❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.100-rc.1.1273) not installed.
✔ wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-rc.1.21401.3) installed.
✔ microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-rc.1.21378.1) installed.
@rmarinho
rmarinho / msbuild.log
Created February 26, 2021 16:34
StackOverflowException
Test Name: AddNewFile(True)
Test Outcome: Failed
Result Message:
MSBuild exited with -1073741571
Expected: 0
But was: -1073741571
Result StandardOutput:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\MSBuild.exe /nologo /bl /t:Restore /v:normal C:\Xamarin\Xamarin.Forms\src\Controls\tests\Xaml.UnitTests\bin\Debug\net47\temp\AddNewFile(True)\test.csproj
Build started 2/26/2021 4:28:55 PM.
Project "C:\Xamarin\Xamarin.Forms\src\Controls\tests\Xaml.UnitTests\bin\Debug\net47\temp\AddNewFile(True)\test.csproj" on node 1 (Restore target(s)).
Process: VisualStudio [3324]
Path: /Applications/Visual Studio.app/Contents/MacOS/VisualStudio
Identifier: com.microsoft.visual-studio
Version: 8.9.0.1593 (8.9.0.1593)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: VisualStudio [3324]
User ID: 501
Date/Time: 2021-02-20 00:14:07.399 +0000
@rmarinho
rmarinho / logcat.android
Created February 10, 2021 20:36
Debug crash .net6 android
02-10 20:35:01.349: I/debug-app-helper(9123): Setting up for DSO lookup in app data directories
02-10 20:35:01.349: D/debug-app-helper(9123): Added filesystem DSO lookup location: /data/app/~~pKk4wt0PAp_Su3jlvPkL_A==/com.microsoft.net6.helloandroid-Ok0ZqhqFdO15YOSDML1YUQ==/lib/arm64
02-10 20:35:01.349: W/debug-app-helper(9123): Using runtime path: /data/app/~~pKk4wt0PAp_Su3jlvPkL_A==/com.microsoft.net6.helloandroid-Ok0ZqhqFdO15YOSDML1YUQ==/lib/arm64
02-10 20:35:01.349: W/debug-app-helper(9123): checking directory: `/data/user/0/com.microsoft.net6.helloandroid/files/.__override__/lib`
02-10 20:35:01.349: W/debug-app-helper(9123): directory does not exist: `/data/user/0/com.microsoft.net6.helloandroid/files/.__override__/lib`
02-10 20:35:01.349: W/debug-app-helper(9123): Checking whether Mono runtime exists at: /data/user/0/com.microsoft.net6.helloandroid/files/.__override__/libmonosgen-2.0.so
02-10 20:35:01.349: W/debug-app-helper(9123): Checking whether Mono runtime exists at: /data/app/~~pKk4wt0PAp_Su3jlvPkL
@rmarinho
rmarinho / ide.log
Last active January 27, 2021 16:22
Could not restore
ERROR [2021-01-27 16:15:05Z]: Could not restore packages.
System.AggregateException: One or more errors occurred. (Interrupted system call) ---> MonoDevelop.Projects.MSBuild.ProjectEvaluationException: Interrupted system call ---> System.IO.IOException: Interrupted system call
at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0002a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:89
at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:49
at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEn
@rmarinho
rmarinho / Main.xaml
Created November 12, 2019 22:08
ButtonTemplateWithEvents
<ControlTemplate TargetType="{x:Type Button}">
<Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
<ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
<ContentPresenter.Content>
<StackPanel>
<Button Content="{TemplateBinding Content}" Click="Button_Click"></Button>
<Button Content="{TemplateBinding Content}" Click="Button_Click_1"></Button>
</StackPanel>