How do I create a Silverlight application in Visual Studio 2008? - visual-studio

I need to create a Silverlight application in VS 2008 for Win CE 6.0.
I installed VS 2008 SP1 and the Silverlight 2 SDK, and then Silverlight Tools for 2008.
However, when I open VS 2008, it's asking two options as follows:
Add a new ASP.NET web project to the solution to host Silverlight
Automatically generate a test page to host Silverlight at build time
I don't know which one I have to select if I want to build my application using C#.

If you want to add the silverlight output to an existing C# application, it's probably better to choose the second option. You don't need a complete ASP.NET webapplication.

Related

Visual Studio 2013 - No web template

I am trying to begin learning MVC, but when i run visual studio ultimate 2013 there is no web template listed under c# that I can see to click on.
It should be listed above Office/Sharepoint in all the examples that I have seen, but I can't find a way to make it appear.
Thanks.
VS 2013 has no distinct project types for different ASP.Net features.
Please select .NET Framework 4.5 (or higher) in order to see the ASP.NET Web Application template (For ASP.NET One).
Select Visual C# -> Web ->ASP.NET Web Application, under that select the "MVC checkbox in the next step".

Can't open an MVC3 project in VS2012

I just installed visual studio 2012 professional (with Blend) and now I can't open a .NET MVC3 web project. The project does not load and says it is incompatible, despite the fact that other developers working on the same codebase are using VS2012 with no issue.
Furthermore, when I go to Solution -> Add -> New Project, I don't see the option to add a web project that I did with VS2010. This makes me think that I am missing some kind of web developer setting, extension, or add-in, but I can't figure out how to install that.
How can I fix my visual studio (or project) setup to allow me to open this project?
You do not appear to have installed a web version of visual studio.
I'm guessing you installed the Express version of either the Windows 8 Edition (which creates Windows 8 apps) or the Windows Desktop version (or maybe Windows Phone version).
If this is the express edition, download and install the Web Edition. If this is a Professional or higher version, then you may not have installed the right components.

ASP.NET MVC 4 Development: what is a right choice of tools?

I'm going to start some ASP.NET MVC4 development, with a possibility of mixing in MVC4 parts into our big existing ASP and ASP.NET (Web Forms) application.
Our small team is currently using Visual Studio 2010 (we have MSDN subscription), developers machines are Windows 7, test machines are MS Windows Server 2003 R2 , production is hosted on MS Windows Server 2008 R2.
Is it possible to develop and host MVC4 pages in such environment?
Can I install MVC4 on Visual Studio 2010?
In case I have to migrate to VS 2012, would it be possible to share projects with rest of the team sitting on VS 2010 through our Team Foundation Server?
Can I have both VS 2010 and VS 2012 co-existing on the same machine?
Thanks a lot!
Yes, mvc4 should run even on iis6 http://haacked.com/archive/2010/12/22/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx
Yes http://www.asp.net/mvc/mvc4 (See installation section)
No need. And vs2012 will upgrade your project file but it should be compatible with vs2010sp1 (conditions apply) http://blogs.msdn.com/b/visualstudio/archive/2012/03/28/round-tripping-with-visual-studio-11.aspx
Yes
Yes its possible
Yes you can install MVC4 without a problem in visual 2010 http://www.asp.net/mvc/mvc4
You dont need to migrate if you dont want to.
Yes i have installed both on my computer and work on both without a problem.

Using SQL Compact 4 in Visual C# 2010 express

It is posible to use SQL Server Compact 4 inside Visual C# 2010 Express? I tried reinstall it many times (with Web Platform Installer and without it) but I still cannot see option for SQL Compct 4 in Data Source selection window.
But what is strange, I can see it in Visual Web Developer 2010 Express.
Is there any way how I can access to version 4 from Visual C# 2010 Express?
Version 4.0 only shows for Web Projects, not for desktop projects - as stated here: http://blogs.msdn.com/b/sqlservercompact/archive/2011/03/15/sql-server-compact-4-0-tooling-support-in-visual-studio-2010-sp1-and-visual-web-developer-express-2010-sp1.aspx

I don't see silverlight tab (and controls) after I've installed Silverlight 4 tools for visual studio 2010

I've just successfully installed Silverlight 4 tools for visual studio 2010. But I can't see any Silverlight tab in the tools box. Is there any configuration I need to proceed to.
Thanks for helping.
Try creating a new project in C# or VB. you should see an option to create a silverlight project and you will then be able to see the new controls in the toolbox.
Edit:
It looks like you go about it in a different way. Try creating a Silverlight application then select type as ASP.NET-MVC

Resources