gdr

How to get Screen size of a windows phone 8 device?

旧巷老猫 提交于 2019-12-06 05:03:06
问题 I was searching for how can i get the Actual screen size of a windows phone 8 device , i've found this method but it work only with Devices With GDR3 update 回答1: You can find the screen size by using Application.Current.Host.Content.ActualWidth; and Application.Current.Host.Content.ActualHeight; On my Windows phone 8s they return 480x800 which is the correct screen size. Note that the values returned are relative to portrait mode, if you're using landscape you'll have to invert them. 回答2:

ASP.NET Schema Tables Causing Issues in VSTS

最后都变了- 提交于 2019-12-04 16:32:09
问题 After installing the VSTS Database GDR and importing a SQL Server 2005 database that includes the ASP.NET provider schema tables, I get the following warnings: TSD04151: Procedure: [dbo].[aspnet_Users_DeleteUser] has an unresolved reference to object [dbo].[sysobjects].[name]. TSD04151: Procedure: [dbo].[aspnet_Users_DeleteUser] has an unresolved reference to object [dbo].[sysobjects]. TSD04151: Procedure: [dbo].[aspnet_AnyDataInTables] has an unresolved reference to object [dbo].[sysobjects]