RadMaskedTextBox Error after upgrade from Silverlight 4 to Silverlight 5 - silverlight

I've got the following error message after upgrading from Silverlight 4 to Silverlight 5
The type or namespace name 'RadMaskedTextBox' could not be found (are you missing a using directive or an assembly reference?)
How this problem can be solved?

RadMaskedTextBox not exists anymore, you must use the RadMaskedInput class now.
More info in Telerik's site.

Related

ABP Framework, ConfigureByConvention not defined

I'm following this tutorial https://docs.abp.io/en/abp/latest/Tutorials/Part-1?UI=NG&DB=EF#map-the-book-entity-to-a-database-table
In that step it instructs me to add b.ConfigureByConvention to the configuration in DbContext but dotnet tells me it is not defined.
I have abp version 5.3.4 and checked that the tutorial is for the correct version.
I generated the project with the abp CLI so the packages should not be a problem.
Is there some step that I overlooked?
The complete error is:
'EntityTypeBuilder' does not contain a definition for
'ConfigureByConvention' and no accessible extension method
'ConfigureByConvention' accepting a first argument of type
'EntityTypeBuilder' could be found (are you missing a using
directive or an assembly reference?)
The ConfigureByConvention method is an extension method, so your IDE probably could not find the related namespace and not suggested to you.
If you add using Volo.Abp.EntityFrameworkCore.Modeling; as namespace then it should work as expected.

ToastContentBuilder could not be found

I'm trying to use toast notifications in my Windows app, and I'm using the following code...
new ToastContentBuilder()
.AddText("Hello");
But I'm getting the following error...
error CS0246: The type or namespace name 'ToastContentBuilder' could not be found (are you missing a using directive or an assembly reference?)
You need to install the Microsoft.Toolkit.Uwp.Notifications NuGet package!
In Visual Studio's solution explorer, right click your project, click "Manage NuGet Packages", search for "uwp notifications" and install the Microsoft.Toolkit.Uwp.Notifications package.
Then, IntelliSense should suggest adding the following using statement...
using Microsoft.Toolkit.Uwp.Notifications;
After that, everything should be working!

how to add PlaneProjection reference to silverlight project?

I'm trying to create silverlight project using eclipse.
i've used PlaneProjection tag in xaml page.
this automatically generated code in CSharp..
there i'm getting error like,
The type or namespace name 'PlaneProjection' could not be found (are you missing a using directive or an assembly reference
Page.g.cs /Hekllo/obj/Debug line 44 Problem Full Build Marker
what i've understood is there is no reference available here for PlaneProjection.
Please help me.
Your project must have a reference to System.Windows.dll
Typically it can be found here:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\vX.X\System.Windows.dll

Error in calling a Web Service to work with windows phone

I am using Windows 7 and Visual Studio .NET 2010 with Silverlight 5 Framework.
I am working with a video tutorial from YouTube on how to create a Windows phone application using a web service.
The problem is that when I add the web service "http://msrmaps.com/TerraService2.asmx", once added the service reference i get a lots of and an error that I do not understand.
I call the web service as follows:
In Solution Explorer, right -click and choose "Add Service Reference"
Paste the URL above into the Address Box
click Go
Accept the provided namespace or type in another valid name for the namespace. I have named it as TerraService in my case.
Build the project.
WARNINGS AND ERRORS
Warning 1 Custom tool warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
Error: Could not load type 'System.Runtime.Serialization.DataContractSet' from assembly 'System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
XPath to Error Source: //wsdl:definitions[#targetNamespace='http://msrmaps.com/']/wsdl:portType[#name='TerraServiceSoap'] c:\users\botoeo\documents\visual studio 2010\Projects\OpenEye\OpenEye\Service References\TerraService\Reference.svcmap
Warning 2 Custom tool warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[#targetNamespace='http://msrmaps.com/']/wsdl:portType[#name='TerraServiceSoap']
XPath to Error Source: //wsdl:definitions[#targetNamespace='http://msrmaps.com/']/wsdl:binding[#name='TerraServiceSoap'] c:\users\botoeo\documents\visual studio 2010\Projects\OpenEye\OpenEye\Service References\TerraService\Reference.svcmap
Warning 3 Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[#targetNamespace='http://msrmaps.com/']/wsdl:binding[#name='TerraServiceSoap']
XPath to Error Source: //wsdl:definitions[#targetNamespace='http://msrmaps.com/']/wsdl:service[#name='TerraService']/wsdl:port[#name='TerraServiceSoap'] c:\users\botoeo\documents\visual studio 2010\Projects\OpenEye\OpenEye\Service References\TerraService\Reference.svcmap
Warning 4 Custom tool warning: No endpoints compatible with Silverlight 3 were found. The generated client class will not be usable unless endpoint information is provided via the constructor. c:\users\botoeo\documents\visual studio 2010\Projects\OpenEye\OpenEye\Service References\TerraService\Reference.svcmap
Warning 5 Custom tool warning: Exception has been thrown by the target of an invocation. c:\users\botoeo\documents\visual studio 2010\Projects\OpenEye\OpenEye\Service References\TerraService\Reference.svcmap
Error 6 Custom tool error: Failed to generate code for the service reference 'TerraService'. Please check other error and warning messages for details. c:\users\botoeo\documents\visual studio 2010\Projects\OpenEye\OpenEye\Service References\TerraService\Reference.svcmap
How do I get rid of these warnings and erros. What causes this?
I found the solution for this problem.. I simply updated my Windows Phone SDK to the latest version. Latest Version can be found HERE . Download the latest update installer. Save your solution and close the Visual Studio. Update your Windows Phone SDK using downloaded file. Once this is done. Open your Visual Studio again. It will work smoothly.

MSDN sample code not working: BusyIndicator not found

I downloaded the source code of
http://silverlight.net/learn/videos/silverlight-videos/twitter-search-monitor/#video
Visual Studio 2010 converted it to SL4. When running it complains
Error 3 The type or namespace name 'BusyIndicator' does not exist in the
namespace 'System.Windows.Controls'
(are you missing an assembly
reference?) C:\tutorials_dotnet\silverlight\HDI-Silverlight-source-TwitterSearchApp_CS\TwitterSearchMonitor\obj\Debug\Views\Search.g.cs 38 42 TwitterSearchMonitor
The BusyIndicator is not found in the Silverlight SDK, its in the Toolkit which you need download and install.
Once installed add a reference to the System.Windows.Controls.Toolkit dll.
Add this namespace alias to the page using the BusyIndicator:-
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
You then use toolkit: alias to define it:-
<toolkit:BusyIndicator x:Name="busyIndicator>
<!-- your page content -->
</toolkit:BusyIndicator>

Resources