# HG changeset patch # User stevenh7776 # Date 1338469963 -3600 # Node ID 48c389520e5d6b7a136d41c40260d8be44008010 # Parent 2362f40014dcf3e99ea149cb9e8ba4bc2a80cfce initial commit diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo.Web/OverlapStackPanelDemo.Web.csproj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo.Web/OverlapStackPanelDemo.Web.csproj Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,98 @@ + + + + Debug + AnyCPU + + + 2.0 + {8188E2EA-36A4-458C-8E21-4D3DE3522B4E} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + OverlapStackPanelDemo.Web + OverlapStackPanelDemo.Web + v4.0 + false + {842D2854-F003-46F2-B3B5-3124DA04CCF9}|..\OverlapStackPanelDemo\OverlapStackPanelDemo.csproj|ClientBin|False + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + Web.config + + + Web.config + + + + + + + + + + + + + False + True + 9137 + / + + + False + False + + + False + + + + + + \ No newline at end of file diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo.Web/Properties/AssemblyInfo.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo.Web/Properties/AssemblyInfo.cs Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("OverlapStackPanelDemo.Web")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("OverlapStackPanelDemo.Web")] +[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("fffa5ddd-2278-4b0f-8914-e2eafb692545")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo.Web/Silverlight.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo.Web/Silverlight.js Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,2 @@ +//v2.0.30511.0 +if(!window.Silverlight)window.Silverlight={};Silverlight._silverlightCount=0;Silverlight.__onSilverlightInstalledCalled=false;Silverlight.fwlinkRoot="http://go2.microsoft.com/fwlink/?LinkID=";Silverlight.__installationEventFired=false;Silverlight.onGetSilverlight=null;Silverlight.onSilverlightInstalled=function(){window.location.reload(false)};Silverlight.isInstalled=function(b){if(b==undefined)b=null;var a=false,m=null;try{var i=null,j=false;if(window.ActiveXObject)try{i=new ActiveXObject("AgControl.AgControl");if(b===null)a=true;else if(i.IsVersionSupported(b))a=true;i=null}catch(l){j=true}else j=true;if(j){var k=navigator.plugins["Silverlight Plug-In"];if(k)if(b===null)a=true;else{var h=k.description;if(h==="1.0.30226.2")h="2.0.30226.2";var c=h.split(".");while(c.length>3)c.pop();while(c.length<4)c.push(0);var e=b.split(".");while(e.length>4)e.pop();var d,g,f=0;do{d=parseInt(e[f]);g=parseInt(c[f]);f++}while(f");delete a.id;delete a.width;delete a.height;for(var c in a)if(a[c])b.push('');b.push("");return b.join("")};Silverlight.createObjectEx=function(b){var a=b,c=Silverlight.createObject(a.source,a.parentElement,a.id,a.properties,a.events,a.initParams,a.context);if(a.parentElement==null)return c};Silverlight.buildPromptHTML=function(b){var a="",d=Silverlight.fwlinkRoot,c=b.version;if(b.alt)a=b.alt;else{if(!c)c="";a="Get Microsoft Silverlight";a=a.replace("{1}",c);a=a.replace("{2}",d+"108181")}return a};Silverlight.getSilverlight=function(e){if(Silverlight.onGetSilverlight)Silverlight.onGetSilverlight();var b="",a=String(e).split(".");if(a.length>1){var c=parseInt(a[0]);if(isNaN(c)||c<2)b="1.0";else b=a[0]+"."+a[1]}var d="";if(b.match(/^\d+\056\d+$/))d="&v="+b;Silverlight.followFWLink("149156"+d)};Silverlight.followFWLink=function(a){top.location=Silverlight.fwlinkRoot+String(a)};Silverlight.HtmlAttributeEncode=function(c){var a,b="";if(c==null)return null;for(var d=0;d96&&a<123||a>64&&a<91||a>43&&a<58&&a!=47||a==95)b=b+String.fromCharCode(a);else b=b+"&#"+a+";"}return b};Silverlight.default_error_handler=function(e,b){var d,c=b.ErrorType;d=b.ErrorCode;var a="\nSilverlight error message \n";a+="ErrorCode: "+d+"\n";a+="ErrorType: "+c+" \n";a+="Message: "+b.ErrorMessage+" \n";if(c=="ParserError"){a+="XamlFile: "+b.xamlFile+" \n";a+="Line: "+b.lineNumber+" \n";a+="Position: "+b.charPosition+" \n"}else if(c=="RuntimeError"){if(b.lineNumber!=0){a+="Line: "+b.lineNumber+" \n";a+="Position: "+b.charPosition+" \n"}a+="MethodName: "+b.methodName+" \n"}alert(a)};Silverlight.__cleanup=function(){for(var a=Silverlight._silverlightCount-1;a>=0;a--)window["__slEvent"+a]=null;Silverlight._silverlightCount=0;if(window.removeEventListener)window.removeEventListener("unload",Silverlight.__cleanup,false);else window.detachEvent("onunload",Silverlight.__cleanup)};Silverlight.__getHandlerName=function(b){var a="";if(typeof b=="string")a=b;else if(typeof b=="function"){if(Silverlight._silverlightCount==0)if(window.addEventListener)window.addEventListener("onunload",Silverlight.__cleanup,false);else window.attachEvent("onunload",Silverlight.__cleanup);var c=Silverlight._silverlightCount++;a="__slEvent"+c;window[a]=b}else a=null;return a};Silverlight.onRequiredVersionAvailable=function(){};Silverlight.onRestartRequired=function(){};Silverlight.onUpgradeRequired=function(){};Silverlight.onInstallRequired=function(){};Silverlight.IsVersionAvailableOnError=function(d,a){var b=false;try{if(a.ErrorCode==8001&&!Silverlight.__installationEventFired){Silverlight.onUpgradeRequired();Silverlight.__installationEventFired=true}else if(a.ErrorCode==8002&&!Silverlight.__installationEventFired){Silverlight.onRestartRequired();Silverlight.__installationEventFired=true}else if(a.ErrorCode==5014||a.ErrorCode==2106){if(Silverlight.__verifySilverlight2UpgradeSuccess(a.getHost()))b=true}else b=true}catch(c){}return b};Silverlight.IsVersionAvailableOnLoad=function(b){var a=false;try{if(Silverlight.__verifySilverlight2UpgradeSuccess(b.getHost()))a=true}catch(c){}return a};Silverlight.__verifySilverlight2UpgradeSuccess=function(d){var c=false,b="2.0.31005",a=null;try{if(d.IsVersionSupported(b+".99")){a=Silverlight.onRequiredVersionAvailable;c=true}else if(d.IsVersionSupported(b+".0"))a=Silverlight.onRestartRequired;else a=Silverlight.onUpgradeRequired;if(a&&!Silverlight.__installationEventFired){a();Silverlight.__installationEventFired=true}}catch(e){}return c} \ No newline at end of file diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo.Web/Web.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo.Web/Web.config Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,13 @@ + + + + + + + + + + diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo.Web/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo.Web/index.html Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,73 @@ + + + + + OverlapStackPanelDemo + + + + + +
+
+ + + + + + + + Get Microsoft Silverlight + +
+
+ + diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo.sln --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo.sln Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OverlapStackPanelDemo", "OverlapStackPanelDemo\OverlapStackPanelDemo.csproj", "{842D2854-F003-46F2-B3B5-3124DA04CCF9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OverlapStackPanelDemo.Web", "OverlapStackPanelDemo.Web\OverlapStackPanelDemo.Web.csproj", "{8188E2EA-36A4-458C-8E21-4D3DE3522B4E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {842D2854-F003-46F2-B3B5-3124DA04CCF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {842D2854-F003-46F2-B3B5-3124DA04CCF9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {842D2854-F003-46F2-B3B5-3124DA04CCF9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {842D2854-F003-46F2-B3B5-3124DA04CCF9}.Release|Any CPU.Build.0 = Release|Any CPU + {8188E2EA-36A4-458C-8E21-4D3DE3522B4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8188E2EA-36A4-458C-8E21-4D3DE3522B4E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8188E2EA-36A4-458C-8E21-4D3DE3522B4E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8188E2EA-36A4-458C-8E21-4D3DE3522B4E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/App.xaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/App.xaml Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,8 @@ + + + + + diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/App.xaml.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/App.xaml.cs Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,67 @@ +using System; +using System.Windows; + +namespace OverlapStackPanelDemo +{ + public partial class App + { + + public App() + { + this.Startup += this.Application_Startup; + this.Exit += this.Application_Exit; + this.UnhandledException += this.Application_UnhandledException; + + InitializeComponent(); + } + + private void Application_Startup(object sender, StartupEventArgs e) + { + //try + //{ + this.RootVisual = new MainPage(); + // SilverlightGlimpse.Services.Glimpse.Service.Load(this); + //} + //catch (Exception ex) + //{ + // SilverlightGlimpse.Services.Glimpse.Service.DisplayLoadFailure(this, ex); + //} + } + + private void Application_Exit(object sender, EventArgs e) + { + + } + + private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) + { + // If the app is running outside of the debugger then report the exception using + // the browser's exception mechanism. On IE this will display it a yellow alert + // icon in the status bar and Firefox will display a script error. + if (!System.Diagnostics.Debugger.IsAttached) + { + + // NOTE: This will allow the application to continue running after an exception has been thrown + // but not handled. + // For production applications this error handling should be replaced with something that will + // report the error to the website and stop the application. + e.Handled = true; + Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); }); + } + } + + private void ReportErrorToDOM(ApplicationUnhandledExceptionEventArgs e) + { + try + { + string errorMsg = e.ExceptionObject.Message + e.ExceptionObject.StackTrace; + errorMsg = errorMsg.Replace('"', '\'').Replace("\r\n", @"\n"); + + System.Windows.Browser.HtmlPage.Window.Eval("throw new Error(\"Unhandled Error in Silverlight Application " + errorMsg + "\");"); + } + catch (Exception) + { + } + } + } +} diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/MainPage.xaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/MainPage.xaml Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/MainPage.xaml.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/MainPage.xaml.cs Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,10 @@ +namespace OverlapStackPanelDemo +{ + public partial class MainPage + { + public MainPage() + { + InitializeComponent(); + } + } +} diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/OverlapStackPanel.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/OverlapStackPanel.cs Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,137 @@ +using System; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; + +namespace OverlapStackPanelDemo +{ + public class OverlapStackPanel : Panel + { + #region Dependency Properties + + public static readonly DependencyProperty OrientationProperty = DependencyProperty.Register("Orientation", typeof(Orientation), typeof(OverlapStackPanel), new PropertyMetadata((Orientation.Vertical))); + public Orientation Orientation { get { return (Orientation) GetValue(OrientationProperty); } set { SetValue(OrientationProperty, (Enum) value); } } + + public static readonly DependencyProperty OverlapProperty = DependencyProperty.Register("Overlap", typeof(double), typeof(OverlapStackPanel), new PropertyMetadata(double.NaN)); + public double Overlap { get { return (double)GetValue(OverlapProperty); } set { SetValue(OverlapProperty, value); } } + + public static readonly DependencyProperty RotationProperty = DependencyProperty.Register("Rotation", typeof(double), typeof(OverlapStackPanel), new PropertyMetadata(double.NaN)); + public double Rotation { get { return (double)GetValue(RotationProperty); } set { SetValue(RotationProperty, value); } } + + public static readonly DependencyProperty LeftOffsetProperty = DependencyProperty.Register("LeftOffset", typeof(double), typeof(OverlapStackPanel), new PropertyMetadata(double.NaN)); + public double LeftOffset { get { return (double)GetValue(LeftOffsetProperty); } set { SetValue(LeftOffsetProperty, value); } } + + public static readonly DependencyProperty UpperOffsetProperty = DependencyProperty.Register("UpperOffset", typeof (double), typeof (OverlapStackPanel), new PropertyMetadata(double.NaN)); + public double UpperOffset { get { return (double)GetValue(UpperOffsetProperty); } set { SetValue(UpperOffsetProperty, value); } } + + #endregion + + #region Overrides + + protected override Size MeasureOverride(Size availableSize) + { + var desiredSize = new Size(); + var childrenResolved = 0; + + if (Orientation == Orientation.Vertical) + availableSize.Height = double.PositiveInfinity; + else + availableSize.Width = double.PositiveInfinity; + + var totalLeftOffset = LeftOffset; + var totalUpperOffset = UpperOffset; + + foreach (UIElement child in Children.Where(child => child != null)) + { + child.Measure(availableSize); + + totalLeftOffset += LeftOffset * childrenResolved; + totalUpperOffset += UpperOffset * childrenResolved; + + if (Orientation == Orientation.Vertical) + { + desiredSize.Width = LeftOffset + Math.Max(desiredSize.Width, child.DesiredSize.Width); + desiredSize.Height += (child.DesiredSize.Height - Overlap); + } + else + { + desiredSize.Height = totalUpperOffset + Math.Max(desiredSize.Height, child.DesiredSize.Height); + desiredSize.Width += (child.DesiredSize.Width - Overlap); + } + childrenResolved++; + } + + if (Orientation == Orientation.Vertical) + { + desiredSize.Height += Overlap; + } + else + { + desiredSize.Width += Overlap; + } + + return desiredSize; + } + + protected sealed override Size ArrangeOverride(Size arrangeSize) + { + int childrenResolved = 0; + double itemX = 0; + double itemY = 0; + foreach (UIElement child in Children.Where(child => child != null)) + { + double itemOverlap = (childrenResolved == 0) + ? 0 + : Overlap; + + Rect targetRect; + if (Orientation == Orientation.Vertical) + { + targetRect = new Rect + { + X = LeftOffset + (LeftOffset * childrenResolved), + Y = itemY + UpperOffset + (UpperOffset * childrenResolved) - itemOverlap, + Width = child.DesiredSize.Width, + Height = child.DesiredSize.Height + }; + + itemY += child.DesiredSize.Height - itemOverlap; + } + else + { + targetRect = new Rect + { + X = itemX + LeftOffset + (LeftOffset * childrenResolved) - itemOverlap, + Y = UpperOffset + (UpperOffset * childrenResolved), + Width = child.DesiredSize.Width, + Height = child.DesiredSize.Height + }; + + itemX += child.DesiredSize.Width - itemOverlap; + } + child.Arrange(targetRect); + + var rotate = new RotateTransform {Angle = Rotation}; + child.RenderTransform = rotate; + + childrenResolved++; + } + return arrangeSize; + } + + #endregion + + #region Constructor + + public OverlapStackPanel() : base() + { + Overlap = 50; + Rotation = 355; + UpperOffset = 10; + LeftOffset = 10; + } + + #endregion + } +} \ No newline at end of file diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/OverlapStackPanelDemo.csproj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/OverlapStackPanelDemo.csproj Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,117 @@ + + + + Debug + AnyCPU + 8.0.50727 + 2.0 + {842D2854-F003-46F2-B3B5-3124DA04CCF9} + {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + OverlapStackPanelDemo + OverlapStackPanelDemo + Silverlight + v5.0 + $(TargetFrameworkVersion) + true + + + true + true + OverlapStackPanelDemo.xap + Properties\AppManifest.xml + OverlapStackPanelDemo.App + OverlapStackPanelDemoTestPage.html + true + true + false + Properties\OutOfBrowserSettings.xml + false + true + + + + + + + v3.5 + + + true + full + false + Bin\Debug + DEBUG;TRACE;SILVERLIGHT + true + true + prompt + 4 + + + pdbonly + true + Bin\Release + TRACE;SILVERLIGHT + true + true + prompt + 4 + + + + + ..\packages\SilverlightGlimpse.1.0.1\lib\sl50\SilverlightGlimpse.dll + + + + + + + ..\packages\SilverlightGlimpse.1.0.1\lib\sl50\System.Windows.Controls.dll + + + + + + + App.xaml + + + MainPage.xaml + + + + + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + + + + + + + + + + + + + + \ No newline at end of file diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/Properties/AppManifest.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/Properties/AppManifest.xml Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,6 @@ + + + + diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/Properties/AssemblyInfo.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/Properties/AssemblyInfo.cs Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("OverlapStackPanelDemo")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("OverlapStackPanelDemo")] +[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("c8432731-53f0-41c6-8bd2-be5393ca930b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff -r 2362f40014dc -r 48c389520e5d OverlapStackPanelDemo/OverlapStackPanelDemo/packages.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OverlapStackPanelDemo/OverlapStackPanelDemo/packages.config Thu May 31 14:12:43 2012 +0100 @@ -0,0 +1,4 @@ + + + + \ No newline at end of file