-
foo
foo
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1>------ Skipped Build: Project: NativeLibrary, Configuration: Debug x86 ------ | |
1>Project not selected to build for this solution configuration | |
2>Project 'Scratch.Gxa1704' is not up to date. Missing output file 'C:\Users\jopryo\source\repos\Scratch.Gxa1704\Scratch.Gxa1704\bin\Debug\Scratch.Gxa1704.dll'. | |
Restoring NuGet packages... | |
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the NuGet Package Manager node and uncheck 'Allow NuGet to download missing packages during build.' | |
Running restore with 8 concurrent jobs. | |
Reading project file C:\Users\jopryo\source\repos\Scratch.Gxa1704\Scratch.Gxa1704\Scratch.Gxa1704.csproj. | |
Restoring packages for C:\Users\jopryo\source\repos\Scratch.Gxa1704\Scratch.Gxa1704\Scratch.Gxa1704.csproj... | |
Restoring packages for MonoAndroid,Version=v8.1... | |
Resolving conflicts for MonoAndroid,Version=v8.1... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// switch on type? | |
using System; | |
class App { | |
public static void Main () | |
{ | |
sbyte v; | |
if (TryConvert (42.0, out v)) { | |
Console.WriteLine ($"v={v}"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<api | |
api-source="class-parse"> | |
<package | |
name="android.support.v7.recyclerview.extensions" | |
jni-name="android/support/v7/recyclerview/extensions"> | |
<class | |
abstract="false" | |
deprecated="not deprecated" | |
jni-extends="Ljava/lang/Object;" | |
extends="java.lang.Object" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Build with: csc curl.cs -r:System.Net.Http.dll /langversion:7.1 | |
using System; | |
using System.IO; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using TTask = System.Threading.Tasks.Task; | |
class App { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<!-- Ankit: Override these! --> | |
<MonoSourceFullPath>/Volumes/Seagate4TB/work/xamarin-android/external/mono</MonoSourceFullPath> | |
</PropertyGroup> | |
<ItemGroup> | |
<MonoTestAssembly Include="monodroid_corlib_test.dll"> | |
<SourcePath>corlib</SourcePath> | |
</MonoTestAssembly> | |
</ItemGroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname -a | |
Darwin casper 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64 | |
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1 | |
ce28d4e5bfebff5cc727d624f222db13bf03646c - Merge pull request #1907 from LuaAndC/build-pkg-ignore-some-gitkeep [2 days ago] [ (HEAD -> mxe-upstream, mxe-upstream/master)] | |
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true | |
ProductName: Mac OS X | |
ProductVersion: 10.12.6 | |
BuildVersion: 16G29 | |
autoconf --version 2>/dev/null | head -1 | |
autoconf (GNU Autoconf) 2.69 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// array hash | |
class ah { | |
public static void main (String[] args) { | |
int[] a = new int []{1,2,3}; | |
int[] b = new int []{1,2,3}; | |
System.out.println ("a hash: " + a.hashCode()); | |
System.out.println ("b hash: " + b.hashCode()); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Android.App; | |
using Android.Widget; | |
using Android.OS; | |
using System.Threading.Tasks; | |
using PCLStorage; | |
namespace FurkanErasian_PclStorage |
Note: A xamarin-android checkout maintains its own Android NDK + SDK to ensure consistent builds and build behavior, permitting reproducible builds and providing greater flexibility around when we need to perform Android SDK + NDK updates. The Android SDK and NDK are maintained by default via two directories in your home directory:
$(AndroidToolchainCacheDirectory)
: Where downloaded files are cached. Defaults to the$HOME/android-archives
directory.