Bug 27526 - Type ConstraintExpressionExtension not found in xmlns http://xamarin.com/schemas/2014/forms
Summary: Type ConstraintExpressionExtension not found in xmlns http://xamarin.com/sche...
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.4
Hardware: PC Windows
: Normal minor
Target Milestone: ---
Assignee: Stephane Delcroix
URL:
: 27730 ()
Depends on:
Blocks:
 
Reported: 2015-02-27 21:32 UTC by Adam
Modified: 2015-06-11 16:58 UTC (History)
7 users (show)

Tags: ac xaml
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Adam 2015-02-27 21:32:58 UTC
I get the error 

Type ConstraintExpressionExtension not found in xmlns http://xamarin.com/schemas/2014/forms

Thrown when I use a ConstraintExpression

        <RelativeLayout>
            <StackLayout x:Name="ContentContainer" BackgroundColor="Black" Opacity="0.7" Orientation="Vertical"
                         RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent,
                                        Property=Width,
                                        Factor=0}"
                         RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent,
                                        Property=Height,
                                        Factor=0.33}"
                         RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,
                                        Property=Width,
                                        Factor=1.00}"
                         RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent,
                                        Property=Height,
                                        Factor=0.33}">
              </StackLayout>
        </RelativeLayout>
Comment 1 Adam 2015-05-07 03:58:25 UTC
It comes through as a firstchanceexception if you don't specifically ask those errors to be thrown.

The code works as expected. However now with XamlC, this causes an issue.
Comment 2 Rui Marinho 2015-05-19 10:52:16 UTC
*** Bug 27730 has been marked as a duplicate of this bug. ***
Comment 3 Jason Smith [MSFT] 2015-06-11 16:58:39 UTC
Should be fixed in 1.4.3 final