SQL Server Compact 4.0 does not show in Visual Studio 2010 - visual-studio-2010

I have applied Visual Studio 2010 SP1 to my VS2010 Pro. My VS version now says 10.0.40219.1 SP1Rel.
I then downloaded and installed SQL Server Compact Edition 4.0.
However, I still don't see an option for MS SQL Server Compact 4.0. I only see MS SQL Server Compact 3.5.
How can I use SQL Server Compact Edition 4.0 with VS2010?

You need to install the tooling and it wil mainly work for web projects. See this blog post: http://erikej.blogspot.com/2011/01/sql-server-compact-40-released.html

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
Just install Windows Web Platform Installer:
http://www.microsoft.com/web/downloads/platform.aspx
Search for "sp1" and find "Visual Studio 2010" anything mentioning "SQL Compact 4.0" - and install it.
Great tool from Microsoft (the Web Platform Installer), I think.

Related

Uninstalling Visual Studio without harming the system

Today, on Windows 7, for testing purposes, i first installed Internet Explorer 11, then Visual Studio 2013 Express Desktop, then Visual F# Out of Band Release 3.1.1.
After starting Visual Studio, i ran into misc Issues (scrolling with middle mouse button is broken, clicked links do not open windows, there are no F# templates as this tutorial suggests).
Therefore i want to uninstall this Software again. Here is a list of things which were installed on my System (5+ GB)
Entity Framework Tools for Visual Studio 2013
Erforderliche Komponenten für SSDT
Microsoft .NET Framework 4.5 Multi-Targeting Pack
Microsoft .NET Framework 4.5 SDK
Microsoft .NET Framework 4.5 SDK - DEU Lang Pack
Microsoft .NET Framework 4.5.1
Microsoft .NET Framework 4.5.1 (Deutsch)
Microsoft .NET Framework 4.5.1 Multi-Targeting Pack
Microsoft .NET Framework 4.5.1 SDK
Microsoft .NET Framework 4.5.1 SDK (Deutsch)
Microsoft Help Viewer 2.1
Microsoft Help Viewer 2.1 Sprachpaket - DEU
Microsoft SQL Server 2012 Command Line Utilities
Microsoft SQL Server 2012 Data-Tier App Framework
Microsoft SQL Server 2012 Data-Tier App Framework (x64)
Microsoft SQL Server 2012 Express LocalDB
Microsoft SQL Server 2012 Management Objects
Microsoft SQL Server 2012 Management Objects (x64)
Microsoft SQL Server 2012 Native Client
Microsoft SQL Server 2012 Transact-SQL ScriptDom
Microsoft SQL Server 2012 T-SQL-Sprachdienst
Microsoft SQL Server Compact 4.0 SP1 x64 DEU
Microsoft SQL Server Data Tools - DEU (12.0.30919.1)
Microsoft SQL Server Data Tools Build Utilities - DEU (12.0.30919.1)
Microsoft Visual F# 3.1.1
Microsoft Visual Studio Express 2013 für Windows Desktop - DEU
Microsoft-System-CLR-Typen für SQL Server 2012
Microsoft-System-CLR-Typen für SQL Server 2012 (x64)
Paket zur Festlegung von Zielversionen für Microsoft .NET Framework 4.5.1 (Deutsch)
And now the Question: I have never before installed such a huge software, but i want my 5GB back - is it safe to uninstall all items of this list or did the Visual Studio installer replace some older files on my system so that some other software may not work anymore if i do?
In general an installation/ uninstallation proccess, provided you follow the procedure defined by the vendor and as long as it is concerning a verified program is never harmful to a system.
Specifically for your Question, if you unistall Visual Studio 2013:
No harm will be done
The other programs you are listing will not get unistalled (e.g .NET 4.5, SQL Express 2012 etc.)
You wont have back your 5GB of space because Visual Studio 2013 is taking about 2 GB
Most of other programs will be still functional (e.g SQL Server,SQl Management Studio)
If you want to have your 5 GB back you have to unistall all the remaining programs. Consider which of them will be of later use (e.g .NET 4.5) as well which take the most space (e.g SQL Express Server 2012)
Uninstalling Visual Studio should work ok, but some of the runtimes and system files will remain after uninstall even if you uninstall everything. This is just how Windows works. Certain files and settings will never be removed if they are installed on the system. They are permanent additions to the system.

Where is SQL Server Compact Edition 4?

I have Visual Studio 2010 Prof and sp1 installed. When I go to server to add new connection and create a new DB with SQL Server Compact.
There is no SQL Server Compact 4 option but 3.5?
I tried to run tools for vs2010 and SQL Server Compact which I got a need to install sp1 error which I already heave?
How do I create DB's with compact edition in vs2010?
You need to download the SQL Server Compact Edition v4 from the Microsoft download center and install it.
It's not part of VS 2010 (since it was released after VS 2010)
Update: did you also download and install the Visual Studio 2010 SP1 Tools for SQL Server Compact 4 ?
Update #2: sorry, can't reproduce that issue of yours - after I've downloaded and installed those bits (SQL Server CE 4 runtime + VS 2010 tools), I do get the SQL Server Compact 4.0 in my VS 2010 Server Explorer > Add Connection dialog:

Visual Studio 2008 (2010 Ultimate Edition) cannot open a project

A couple of us here in the office installed Visual Studio 2010 which after full installation we saw included visual studio 2008.
Now when we attempt to open 2008 projects in this edition of 2008 it fails with a long message about not supporting the project extension of .csproj.
A bit more checking into it I see that there are no csharp or visual basic extensions installed for this edition of visual studio but mainly sql extensions.
Can someone confirm if this edition of visual studio 2008 can be used for regular application (console, web, windows) development (if so how?) or if its only suited for sql development?
------------------- Visual Studio 2008 (incl with 2010 Ultimate) About Info -->
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
Installed Edition: IDE Standard
-- several host fixes removed from list.
SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 10.0.5500.0
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 10.0.5500.0 ((Katmai_PCU_Main).110921-2358 )
SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 10.0.5500.0
VS 2010 and VS 2008 UE include all regular applications. VS2010 also installed 2008 folder Microsoft Visual Studio 9.0.. Just simply use 2010 and you'll be fine. It supports all versions.

Trouble to install "SQL Server Management Studio 2008" & VS 3.5 framework

Yesterday i had problem with connecting SQL server 2005 with VS 2010, then i download "SQLManagementStudio_x86_ENU" (SQL server Management Studio 2008) from Microsoft's website, now it asks for .NET 3.5 Framework. and when i tried to Install 3.5 framework, it again throw error. i think it comes because i already have 4.0 Framework in my PC and we can overlap with 3.5, any guess???
.NET 3.5 and 4 should run well side by side. Maybe there's some error in installer or your .Net installation.
Here are people with similar problem
http://forums.iis.net/p/1165685/1941233.aspx#1941233
They advice to change some key in the registry
If this fails, try to download SSMS 2008 R2 or 2005. Both are free, and 2005 doesn't use .NET 3.5

How do you create a SQL Compact Edition Version 4.0 database with VS 2010 SP1?

I'd like to build a class library that consumes a SQL Compact Database, but when I add one I always get a 3.5 version...how do I make a 4.0 version to use?
You must install the Visual Studio Tools for SQL Server Compact via WebPI (Web Platform installer)

Resources