Skip to content

Instantly share code, notes, and snippets.

Jason Smith jassmith

Block or report user

Report or block jassmith

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:6ba986fdb3199769f1a0
[05:47:27]Start MSBuild...
[05:47:27]'C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe' '"@C:\BuildAgent2\work\88c312df9c542e6c\Xamarin.Forms.sln.teamcity.msbuild.tcargs" C:\BuildAgent2\work\88c312df9c542e6c\Xamarin.Forms.sln.teamcity'
[05:47:27]working dir = 'C:\BuildAgent2\work\88c312df9c542e6c'
[05:47:27]Microsoft (R) Build Engine version 14.0.24720.0
[05:47:27]Copyright (C) Microsoft Corporation. All rights reserved.
[05:47:27]
[05:47:27]MSBUILD : error MSB1021: Cannot create an instance of the logger. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
[05:47:27]Switch: JetBrains.BuildServer.MSBuildLoggers.MSBuildLogger,C:\BuildAgent2\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MSBuildLoggers.dll
View xf-bug-repro-guidelines.md

Xamarin.Forms Bug Reproduction Guidelines

Do

  • Start with a clean Xamarin.Forms project.
  • Use a ContentPage subclass if possible
  • Use the most recent version
  • Clean project and delete packages/bin/obj folders before sending
  • Use .zip if possible
  • Minimize the number of Pages in your reproduction as much as possible
  • Remove extraneous content from the reproduction case
View FUPanel.cs
using System;
using Windows.Foundation;
using Windows.UI.Xaml.Controls;
namespace MeasureScrewsArrange
{
public class FUPanel : Panel
{
public FUPanel ()
{
View FUPanel.cs
using System;
using Windows.Foundation;
using Windows.UI.Xaml.Controls;
namespace MeasureScrewsArrange
{
public class FUPanel : Panel
{
public FUPanel ()
{
View gist:fc4cf31b45c73c91e68e
public class SliderViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private double limitedValue = 10;
public double LimitedValue
{
get { return limitedValue; }
set
View gist:1d49c173d46f09610ffe
using System;
using NUnit.Framework;
namespace Xamarin.Forms.Core.UnitTests
{
[TestFixture]
public class MessagingCenterTests
{
[Test]
View gist:d53964946bf3410867cd
You can add native WP controls into standard Xamarin.Forms layouts.
You cannot do this however in cross platform code however (obviously)
because you will need to have access to the windows phone types to do
that (otherwise you wouldn't by able to access your windows phone
controls). Thus it wont fit well into a cross platform app, but it is
possible.
You can’t perform that action at this time.