Skip to content

Instantly share code, notes, and snippets.

View markjulmar's full-sized avatar

Mark Smith markjulmar

View GitHub Profile
@markjulmar
markjulmar / gist:898d60f3ab6fbe7eea45
Last active October 17, 2015 22:32
Rebuild Verbose - AOT Error
This file has been truncated, but you can view the full file.
1>Project 'ProtocolAssistDevice.iOS' is not up to date. Missing output file 'C:\Users\mark\Desktop\Error\ProtocolAssistDevice\ProtocolAssistDevice.iOS\bin\iPhone\Debug\ProtocolAssistDeviceiOS.exe'.
1>------ Build started: Project: ProtocolAssistDevice.iOS, Configuration: Debug iPhone ------
1>Build started 10/17/2015 5:30:06 PM.
1>Environment at start of build:
1>ALLUSERSPROFILE = C:\ProgramData
1>ANDROID_NDK_PATH = C:\Users\mark\Documents\Android\ndk\android-ndk-r10d
1>APPDATA = C:\Users\mark\AppData\Roaming
1>CommonProgramFiles = C:\Program Files (x86)\Common Files
1>CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
1>CommonProgramW6432 = C:\Program Files\Common Files
@markjulmar
markjulmar / build.txt
Created October 16, 2015 17:04
AOT-VS-Fail Build Output
This file has been truncated, but you can view the full file.
1>Project 'ProtocolAssistDevice' is not up to date. Error (0x8000FFFF).
Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
NuGet package restore finished.
1>------ Build started: Project: ProtocolAssistDevice, Configuration: Debug Any CPU ------
1>Build started 10/16/2015 11:59:02 AM.
1>Environment at start of build:
1>ALLUSERSPROFILE = C:\ProgramData
1>ANDROID_NDK_PATH = C:\Users\mark\Documents\Android\ndk\android-ndk-r10d
1>APPDATA = C:\Users\mark\AppData\Roaming
@markjulmar
markjulmar / AnimateCells
Last active August 29, 2015 14:22
Fancy UITableViewCell animations
// To get some fancy animation for your UITableViewCells
// (converted from ObjC code found at http://www.thinkandbuild.it/animating-uitableview-cells/):
// Put this into the UITableViewDelegate
public override void WillDisplay (UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)
{
CATransform3D rotation = CATransform3D.MakeRotation( (90.0f*(float)Math.PI)/180f, 0.0f, 0.7f, 0.4f);
rotation.m34 = 1.0f/ -600f;
cell.Layer.ShadowColor = UIColor.Black.CGColor;
cell.Layer.ShadowOffset = new SizeF (10, 10);
@markjulmar
markjulmar / gist:0831db8f4a5c3d0700f3
Created July 1, 2014 16:55
Creating a Color in XAML
<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage x:Class="TestXaml.MainPage"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:me="clr-namespace:TestXaml;assembly=TestXaml"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<StackLayout Spacing="10">
<StackLayout.Resources>
<ResourceDictionary>