windows-phone-7

An exception of type 'System.Net.WebException'

会有一股神秘感。 提交于 2021-02-11 17:00:15
问题 I'm working on WP7-8 application which is using RestClient for getting info from WebServer. When I swich off internet connection I see: An exception of type 'System.Net.WebException' occurred in System.Windows.ni.dll and wasn't handled before a managed/native boundary What does it mean? How or should I fix it? My code: RestSharp.RestClient _client; _client = new RestClient { BaseUrl = BaseURL }; _client.Timeout = 50; resourceString = "Http:\\blablabla"; var request = new RestRequest {

An exception of type 'System.Net.WebException'

孤街浪徒 提交于 2021-02-11 16:58:39
问题 I'm working on WP7-8 application which is using RestClient for getting info from WebServer. When I swich off internet connection I see: An exception of type 'System.Net.WebException' occurred in System.Windows.ni.dll and wasn't handled before a managed/native boundary What does it mean? How or should I fix it? My code: RestSharp.RestClient _client; _client = new RestClient { BaseUrl = BaseURL }; _client.Timeout = 50; resourceString = "Http:\\blablabla"; var request = new RestRequest {

Blank Screen After Splash Screen

不羁岁月 提交于 2021-02-08 11:15:46
问题 I am new to windows phone development. In windows phone a blank screen is coming after a splash screen. I am using phonegap to build the app with windows. I tried it with different small applications but it is not working. what could be the reason I have googled it for an hour. 回答1: About flow: take a look here and here. About blinking: can you provide some code? It is not a common behavior for wp app. 回答2: I was giving the wrong reference to the cordova.js file. I change the reference to the

Blank Screen After Splash Screen

守給你的承諾、 提交于 2021-02-08 11:15:39
问题 I am new to windows phone development. In windows phone a blank screen is coming after a splash screen. I am using phonegap to build the app with windows. I tried it with different small applications but it is not working. what could be the reason I have googled it for an hour. 回答1: About flow: take a look here and here. About blinking: can you provide some code? It is not a common behavior for wp app. 回答2: I was giving the wrong reference to the cordova.js file. I change the reference to the

error RG1000: Unknown build error

谁说胖子不能爱 提交于 2021-02-07 14:28:32
问题 C:\Program Files\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.Common.targets(625,5): error RG1000: Unknown build error, 'An item with the same key has already been added.' Done building project "FileName.csproj" -- FAILED. Build failed. Receive this error whenever i try building the soln. 回答1: We ran into the same problem yesterday. It happened after we merged two branches in our TFS, so we looked into the project file. There was twice the same image added to the project

error RG1000: Unknown build error

寵の児 提交于 2021-02-07 14:28:29
问题 C:\Program Files\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.Common.targets(625,5): error RG1000: Unknown build error, 'An item with the same key has already been added.' Done building project "FileName.csproj" -- FAILED. Build failed. Receive this error whenever i try building the soln. 回答1: We ran into the same problem yesterday. It happened after we merged two branches in our TFS, so we looked into the project file. There was twice the same image added to the project

Add Service Reference not appearing

冷暖自知 提交于 2021-02-07 10:20:58
问题 In a Windows Phone 7 Silverlight project, I had a service reference to a WCF service. This morning when I opened up the project, suddenly the namespaces for my WCF service were unknown. The option for "Update Service Reference" in Solution Explorer was not there, so I deleted the Service Reference with the intent of re-adding it. But the option for "Add Service Reference" is also not there. Gone. Disappeared. Closed and re-opened the solution. Restarted VS2010 Ultimate. No dice. Anyone run

Add Service Reference not appearing

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-07 10:16:35
问题 In a Windows Phone 7 Silverlight project, I had a service reference to a WCF service. This morning when I opened up the project, suddenly the namespaces for my WCF service were unknown. The option for "Update Service Reference" in Solution Explorer was not there, so I deleted the Service Reference with the intent of re-adding it. But the option for "Add Service Reference" is also not there. Gone. Disappeared. Closed and re-opened the solution. Restarted VS2010 Ultimate. No dice. Anyone run

Add Service Reference not appearing

时光毁灭记忆、已成空白 提交于 2021-02-07 10:15:25
问题 In a Windows Phone 7 Silverlight project, I had a service reference to a WCF service. This morning when I opened up the project, suddenly the namespaces for my WCF service were unknown. The option for "Update Service Reference" in Solution Explorer was not there, so I deleted the Service Reference with the intent of re-adding it. But the option for "Add Service Reference" is also not there. Gone. Disappeared. Closed and re-opened the solution. Restarted VS2010 Ultimate. No dice. Anyone run

The referenced component 'Microsoft.Phone.Controls.Toolkit' could not be found?

独自空忆成欢 提交于 2021-02-07 08:33:42
问题 The referenced component 'Microsoft.Phone.Controls.Toolkit' could not be found? It's here though? 回答1: It looks like the problem is that you're trying to reference a copy of the Microsoft.Phone.Controls.Toolkit .dll in your Ref folder, but Visual Studio is probably looking for somewhere else. If you open Visual Studio and expand the References folder in the Solution Explorer, you'll probably see that Microsoft.Phone.Controls.Toolkit is listed but marked with a yellow warning icon. Try right