Designtime ServerBaseUri not set


After upgrading to 4.5, when trying to modify my SL5 XAML views, I am getting a designtime error - "Could not use ServerBaseUri and the serviceUri to create an absolute Uri." It looks like for a workaround I should assign a ServerBaseUri in designtime, but I can't figure out what to use.

Any ideas on this?
public App()
            if (DesignerProperties.IsInDesignTool)
                DomainContext.DomainClientFactory = new WebDomainClientFactory()
                    //ServerBaseUri = Application.Current?.Host?.Source
                    //ServerBaseUri = new Uri(@"C:\Users\username\Source\Repos\appname\")
                    //ServerBaseUri = new Uri(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location))
                    ServerBaseUri = new Uri("http://localhost:24711/", UriKind.Absolute), //debug setting


Closed Jun 14 at 12:55 PM by danneesset
Hm, sorry for not replying earlier but I did write and post an update this weekend but it seems like it failed to save. Anyway it seems like I fixed the issue and a new nuget package has been published

Fixed in release of the client core package.


danneesset wrote Jun 14 at 12:50 PM

Fixed in changeset 8bc116ffa675bd4c5c2fe68948be9ac234e50e31