Local database cache template visual studio 2013 - visual-studio-2013

I can't locate "Local Database Cache template" in visual studio 2013. And I need it.
In Visual Studio 2010, my steps are:
I have a WPF project, by right-clicking the project node and choosing Add | New Item. Under the language, click Data and select the Local Database Cache template. Name this NorthwindLocalDataCache.sync and click Add. This opens the Configure Data Synchronization screen.
Now in VS 2013, is there an alternative way?

SQL Server Compact Edition has been deprecated... As such the Local Database Cache, which makes use of that product is no longer part of Visual Studio 2013.
Instead you should now make use of SQL Server LocalDB or a Service-based database.
From the Release Notes of Visual Studio 2013:
Local Database Cache
The Local Database Cache template and the Configure Data Synchronization dialog box are not included in Visual Studio 2013. You can use Visual Studio 2013 to open and run projects that were created in Visual Studio 2010 if Microsoft Synchronization Services v1.0 is installed, but if you want to update them in Visual Studio 2013, you must make all changes manually in code. As an alternative, you can continue to use Visual Studio 2010 to maintain and update these projects. For new development, target the new synchronization model that's provided by the Microsoft Sync Framework. For information, see Microsoft Sync Framework Developer Center
Source: https://msdn.microsoft.com/en-us/library/hh266747.aspx
As you can see, you're trying to follow a technique that is no longer supported. either upgrade it to the new Sync Framework or manually setup your syncs.

Related

Is it possible to use Visual Studio 2010 with VSTS?

We have an old MVC2 project stranded in Visual Studio 2010 and assigned to TFS 2010.
Is it possible to copy this project into VSTS and access VSTS in Visual Studio 2010?
Because it is an old project there is no need to migrate the version history.
What are my options?
Yes, you can access Visual Studio Team Services (VSTS) from Visual Studio 2010, however, you will need two software updates:
Visual Studio 2010 Service Pack 1 (KB2736182)
TFS 2012 compatibility update for Visual Studio 2010 (KB2662296)
Having said that, upgrading to Visual Studio 2017 is preferable if you can do that.
To bring your data into VSTS, the easiest way to do that is to use the TFS to VSTS migration tool, which providers an easy, high-fidelity migration into the cloud. However, since you don't require history, you can also perform a manual migration, where you simply check your assets into TFS directly.

How to connect to visualstudio.com TFS using Visual Studio 2008

I have some requirements that I need to use Visual Studio 2008 for a new SSIS package. But we are using visualstudio.com as our source control because we were allowed to use Visual Studio 2012 for our main project.
I tried following the instructions here http://www.visualstudio.com/en-us/get-started/connect-to-vs.aspx and here how to open Team Explorer in Visual Studio 2008 and no go.
Has anyone been able to connect to their TFS server at visualstudio.com from Visual Studio 2008? If so, how did you do it?
Officially VS 2008 is only supported against TFS 2013 (and Visual Studio Online) by using the MSSCCI. However, in practice it still works fine without MSSCCI, MS just no longer tests this particular scenario, so it's not guaranteed to continue working.
Make sure you have the appropriate updates installed, you need:
VSTS 2008 Team Explorer
VS 2008 SP1
TFS 2012 Compatibility GDR
Order of installation is very important. Refer to this article.
Moreover, if you are still having issues connecting to TFS after successfully installing above mentioned updates, consider clearing your IE browsing history (all checkboxes) and retry.
Per MSDN you can access version control on Visual Studio Online with Visual Studio 2008 using Team Explorer for Visual Studio Team System 2008 and MSSCCI 2013.

How can i install ReportViewer 2012 in Visual Studio 2010

I was using reportviewer 2010 control in visual studio 2010 but i need to start using reportviewer 2012. How can I use the new ASP.NET webforms ReportViewer 2012 control in Visual Studio 2010 (without moving up to visual studio 2012)? Eventually I want to move up to Visual Studio 2012 and dotnet 4.5 but I'd prefer to keep using dotnet 4.0 and Visual Studio 2010 for a little while longer.
I think you are asking how you can 'create reports' for SSRS by the sounds of it, not just display them. Okay so this will sound weird but you need SQL Server 2012 either Enterprise, Developer, Standard with Advanced Tools edition. Any one of those should suffice to get you the tool you need. If you are looking to 'design' reports the tool is an add on to Visual Studio called 'Business Intelligence Development Studio', BIDS for short. For some reason it shows up now as 'SQL Server Data Tools' under 'All Programs' on Windows. You can thank Microsoft for making this version as confusing as possible to people looking to get into SSRS.
To install it you simply install all of SQL Server and when you get to the 'Features' section ensure that BIDS is selected. The version of BIDS IS NOT ON VS 2012, it is on VS 2010. For some reason the SQL team did not make the deployment of SQL Server coincide with Visual Studio so it goes along with VS 2010, NOT 2012. A great many people get this confused but I can say for a fact SSRS is an extension of BIDS, which in turn is an extension of Visual Studio. Not the other way around. You can create localized reports in VS 2012 that are 'rdlc' files but not the full blown SSRS you deploy to a server there.

Add existing folder to Team Foundation Server 2010 that already exists for other Team Foundation Server 2012

I am workign with a central Team Foundation Server (2010) and I connect to it from my workstation. On my workstation I use both Visual Studio 2010 and 2012. I have installed both have the Team Explorer 2010 and 2012 and the latest patches and hotfixes.
I need to use both Visual Studio 2010 and 2012 because I am developing both .NET 4.5 code and SQL Server Reporting Server reports for SQL Server 2012.
I can configure both instances of Visual Studio to connect to TFS, I mapped my workspace in Visual Studio 2012 and I can interact with Source Control. I tried configuring Visual Studio 2010 to use the same working folder, I can connect to TFS, I can see the source control folder, but when I try to map it to the same local folder I get the following error message:
Map
The working folder "C:\TFS\Example" is already in use by the workspace JohnDoesPC; Doe, John on computer JohnDoesPC
I tried configuring the workspace mapping through the dropdown in the Source Control Explorer:
Team Explorer>project>Source Control>Map Window>(Set Local Folder)
And I tried it through the Source control menu under the File menu:
Go File>SourceControl>Manage Workspaces>(Highlight my showing workspace)>Edit>Try to add existing folder.
What am I missing? Do I need to map my solution folder to two different local folders? That would be very confusing and inconvenient!
The simplest way to put this is that I want two versions of TFS to point to the same local location. Is that possible? Or should I be creating a new project up just for my SSRS reports?
EDIT: See pic for more detail:
Make sure that in both Visual Studio 2010 and Visual Studio 2012 the same work space name is selected. If you cannot see the workspace of 2012 in Visual Studio 2010, check the advanced workspace settings of the workspace in 2012. Ensure that the workspace type is set to server.
When both Visual Studio versions are using the same workspace name, they should be able to see and use each others file mappings as well.
This is what the settings in 2012 should look like:
And that workspace should be visible in 2010 as well:
Make sure you select the same workspace name in both versions of Visual Studio:

TFS Workspaces across VS 2010 and 2012?

I am currently developing on Visual Studio 2012 RC using TFS Preview for source control. I would like to create an SSIS Integration project, which requires me to use Visual Studio 2010. However, when I connect to TFS from VS 2010, it automatically creates a new workspace and does not list the VS 2012 workspace.
If I issue the tf workspaces command from the VS 2010 command prompt, I see only the VS 2010 workspace, and if I issue the command from the VS 2012 command prompt, I see only the VS 2012 workspace (both indicate the same colleciton is being used).
Is there some way I can get VS 2010 to see the VS 2012 workspace? I would prefer not to have to have two copies of source code just to be able to use VS 2010 for the SSIS project.
TFS 2012 introduces a new concept called local workspaces, which differ subtly from the behavior of workspaces in previous versions of TFS (the old default behavior is now called a server workspace.) Local workspaces do not require read-only files and instead allow files to be edited without checking out from the server, and they are intended to be more suitable for small to medium sized workspaces. For this reason, local workspaces are the default in TFS 2012.
Local workspaces, however, are not compatible with TFS 2010 and TFS 2010 clients will not be able to use a new local workspace.
You can convert the workspace that you created with your VS 2012 client to a server workspace. In the Edit Workspace dialog, select Advanced, and you can change the type from a Local to a Server workspace.
At that point, you should be able to connect with VS 2010 and choose that TFS workspace.
(Note that it's not sufficient to use tf workspaces as that will return a cached copy of your workspace list - you will need to connect to the server either with Visual Studio 2010 or with a tf.exe command that talks to the server.)
In addition to the Location="Server" property mentioned in other answers/comments, the File Time property must be "Current", as shown below.
Workspaces created in Visual Studio 2012/2013 with either Location="Local" or File Time="Checkin" are not visible/usable in Visual Studio 2010.

Resources