Skip to content

Instantly share code, notes, and snippets.

View borgdylan's full-sized avatar

Dylan Borg borgdylan

  • Malta
View GitHub Profile
@borgdylan
borgdylan / build.log
Last active April 14, 2017 16:32
xamapp-build-14apr17
>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
XBuild Engine Version 14.0
Mono, Version 5.3.0.0
Copyright (C) 2005-2013 Various Mono authors
Loading default tasks for ToolsVersion: 14.0 from /usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.tasks
Build started 14/04/2017 18:31:53.
__________________________________________________
dylan@ubuntu-server:/usr/local/lib/mono/4.5.1-api$ ikdasm Microsoft.Build.dll | grep ".class public"
.class public auto ansi sealed Microsoft.Build.Logging.ColorResetter
.class public auto ansi sealed Microsoft.Build.Logging.ColorSetter
.class public auto ansi beforefieldinit Microsoft.Build.Logging.ConfigurableForwardingLogger
.class public auto ansi beforefieldinit Microsoft.Build.Logging.ConsoleLogger
.class public auto ansi beforefieldinit Microsoft.Build.Logging.DistributedFileLogger
.class public auto ansi beforefieldinit Microsoft.Build.Logging.FileLogger
.class public auto ansi beforefieldinit Microsoft.Build.Logging.ForwardingLoggerRecord
.class public auto ansi beforefieldinit Microsoft.Build.Logging.LoggerDescription
.class public auto ansi sealed Microsoft.Build.Logging.WriteHandler
@borgdylan
borgdylan / XamApp.dylproj
Last active August 11, 2017 16:24
xamapp-v4-diag-build
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<Import Project="packages/Xamarin.Build.Download.0.4.7-rc1/build/Xamarin.Build.Download.props" />-->
<Import Project="packages/dylan.NET.11.8.3.8/build/dylan.NET.props" />
<!--<Import Project="packages/name.atsushieno.proguard.facebook.5.3.2.2/build/name.atsushieno.proguard.facebook.props" />-->
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2305B00D-DE81-4744-B0DA-357835CAFE5A}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages/Xamarin.Build.Download.0.4.1/build/Xamarin.Build.Download.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2305B00D-DE81-4744-B0DA-357835CAFE5A}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>XamApp</RootNamespace>
@borgdylan
borgdylan / support-mono.patch
Created August 5, 2016 10:33
dotnet-cli-mono-patch
diff --git a/src/Microsoft.DotNet.Cli.Utils/Command.cs b/src/Microsoft.DotNet.Cli.Utils/Command.cs
index 631c508..b7dede6 100644
--- a/src/Microsoft.DotNet.Cli.Utils/Command.cs
+++ b/src/Microsoft.DotNet.Cli.Utils/Command.cs
@@ -30,6 +30,10 @@ private Command(CommandSpec commandSpec)
UseShellExecute = false
};
+ #if NET461 || NET451
+ psi.UseShellExecute = false;
@borgdylan
borgdylan / ji-linux.patch
Last active May 8, 2016 22:21
Java.Interop - Linux x64 build
diff --git a/Makefile b/Makefile
index 7ded1ec..764744d 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ run-all-tests: run-tests run-test-jnimarshal run-test-generator-core run-ptests
clean:
-$(XBUILD) /t:Clean
-rm -Rf bin/$(CONFIGURATION) bin/Build$(CONFIGURATION) bin/Test$(CONFIGURATION) bin/XAIntegration$(CONFIGURATION)
- -rm src/Java.Runtime.Environment/Java.Runtime.Environment.dll.config
+ -rm -f src/Java.Runtime.Environment/Java.Runtime.Environment.dll.config
dylan@ubuntu-server:/var/www/git/npgsql/src/Npgsql$ xbuild /t:RewriteAsync Npgsql.csproj
XBuild Engine Version 12.0
Mono, Version 4.1.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 05/05/2015 14:12:48.
__________________________________________________
Project "/var/www/git/npgsql/src/Npgsql/Npgsql.csproj" (RewriteAsync target(s)):
Target RewriteAsync:
/var/www/git/npgsql/packages/AsyncRewriter.0.5.6-beta/build/AsyncRewriter.targets: error : Error executing task RewriteAsync: Object reference not set to an instance of an object
@borgdylan
borgdylan / file.txt
Last active August 29, 2015 14:10
Sample code for using dylan.NET.Tasks v. 1.1.1.1
This is an example text file.
The is is being read line by
line in an asynchronous fashion.
This is an example text file.
The is is being read line by
line in an asynchronous fashion.
This is an example text file.
The is is being read line by