Categories
7.0 7.5 C#.NET HOW TO Microsoft Nokia VB.NET Visual Studio Windows Phone

HOW TO set Nokia Blue color

The Nokia Blue color is #004C9A in Hexadecimal.

Nokia Blue Color

If you want to use it to set Grid Background color you can use the following code:

[sourcecode lang=”vb”]
LayoutRoot.Background = New SolidColorBrush(Color.FromArgb(255, 0, 76, 154))
[/sourcecode]

Did my HOW TO help you? Leave a reply.

Categories
7.5 C#.NET Microsoft VB.NET Visual Studio Windows Phone

Visual Studio – “The type or namespace name ‘Json’ does not exist in the namespace ‘System.Runtime.Serialization’ (are you missing an assembly reference?)”

The type or namespace name ‘Json’ does not exist in the namespace ‘System.Runtime.Serialization’ (are you missing an assembly reference?)

in Italian:

Il tipo o il nome dello spazio dei nomi ‘Json’ non esiste nello spazio dei nomi ‘System.Runtime.Serialization’; probabilmente manca un riferimento a un assembly

Solution:

Add the following References to your project:

System.Runtime.Serialization
System.ServiceModel.Web

In Solution Explorer, right-click on the project node and click Add Reference to select the dll files.
Remember to add using or Imports lines inside your file.

Did my solution solve your problem? Leave a reply.