Unknown server tag 'asp:Silverlight' - c#

I am getting the error above when I run a solution developed in Visual Studio 2010 and using Silverlight 4. Does anyone know the solution to this?

The asp:Silverlight tag was removed from the SDK on release of Silverlight 3. You need to be using the html <object> tag directly. Review the contents of the test host page the Visual Studio creates when you create a new Silverlight solution.

Related

.NET Web Forms - missing "run at server" right click on HTML from toolbox

I'm following a tutorial to set up a web form, as I have to be able to modify existing ones at work and thought I'd get to grips with how they work. In the tutorial it says using the Toolbox I should be able to add the standard HTML elements and then right click on them and select Run at Server to convert them to Web Form elements.
Only problem is that I can't see this? I was wondering whether the tutorial I was using is using an older version of Visual Studio and these features have now been retired in 2015, or whether I have additional settings that I need to set up?
If someone could point me in the right direction that would be great!
Visual Studio 2015 doesn't seem to support conversion of HTML controls to Web Form controls anymore (verified on my computer running VS2015), while it was possible in Visual Studio 2005. I'm afraid you'll have to convert them manually by adding the runat="server" attribute.
Go to source and convert it.
For example
<input type="text" name="name" runat="server" >

How to use MS ACCESS Replace function in asp.net c# program?

I am using visual Studio 2013 to develop a website application . I used the ASP.Net Web Application in Visual C#.
I am using the following code in the access desktop version and it does update my item but when i use this in the code it gives exception saying unidentified replace function.
UPDATE tblGroups SET tblGroups.GroupID = replace(tblGroups.GroupID,"LANGLEY","Stessy")
WHERE tblGroups.GroupID Like "LANGLEY";
how can i use it in the program?
Help appreciated.

Why Visual Studio NoMad project not showing "jQuery UI Designer Page" items?

I'm new with nomad extension for visual studio (develop mobile applications based on phonegap project). As you can see at this link http://www.microsoft.com/en-GB/developers/articles/building-hybrid-cross-platform-apps-an-introduction-to-nomad-for-visual-studio/ at some point the example add new item of type jQuery UI Designer Page to the project. In my Visual Studio I can't see this kind of file. How can I add this kind of file?
When I try to Add --> new item (in Visual Studio project) I can see only css, javascript and html files.
I've tried everything.
Help me please.
The Nomad team answered me in a email about this question:
Hi,
We removed that feature when we moved to be backed by PhoneGap Build.
Thanks.

How to run the simple SharpDevelop DirectX Framework in Visual C# 2010?

I'm following Ron Penton's Beggining C# Game Programming book and in Part 2 it begins with DirectX programming. To start, it tells me to generate the code from the SharpDevelop's wizard then copy both AssemblyInfo.cs and MainClass.cs generated-files to the Visual C# project's folder.
After that, it tells me to add the following references to my Visual C# project: System.dll, System.Drawing.dll, System.Windows.Forms.dll, Microsoft.DirectX, and Microsoft.DirectX.Direct3D modules. I found the directX modules in C:\Windows\Microsoft.NET folder then added.
The sample programam compiled in SharpDevelop and my 640x420 blank window appeared. But, when I compile in Visual C# I get this error: link to image
Since I'm new at C# programming. I don't know what this could be. I know that I didn't skipped any step in my book, I think that it's an updated version which needs some extra code.
You're trying to refer to an older library that is not supported by Visual Studio 2010.
VS2010 supports .NET v2.0 or later while the one you're trying to use is v1.1.
A quick solution is to try locate Visual Studio 2003 and use it, or you can start embracing the future by using XNA.

C# Winform : Deployment Problem after using DataRepeater of MS Visual Basics power pack

Microsoft Visual Studio 2008 Service pack 1 comes with Visual Basic Powerpacks which has the DataRepeater control.
I used this control in my c# winform application. in my system everything is running fine. now i copied the debug folder to other system which has only .Net Framework 3.5 SP1 installed. in this system is giving me error cannot load dependency Microsoft.VisualBasic.PowerPacks.dll even i set the Copy Local to "true" for "Microsoft.VisualBasic.dll" and "Microsoft.VisualBasic.PowerPacks.Vs.dll"
please tell me how to solve this problem
on this page is the information you are looking for: [http://blogs.msdn.com/b/vsdata/archive/2009/12/29/visual-basic-powerpacks-is-released-in-visual-studio-2010-beta2.aspx][1]
i have had some bad experiences with the "Visual Basic Powerpacks" so if possible I woud try to avoid using it.
best regards

Categories

Resources