TFS support (plugin, external tool, etc) from within MonoDevelop? - tfs

Is there an easy way to integrate TFS for version control into MonoDevelop? I have a new MacBook Pro and an trying to determine which things I can do with Mac native apps and which I will need to run using Parallels.
I downloaded the Microsoft Visual Studio Team Explorer Everywhere 2010 command-line client, and was able to create a workspace, map a working folder and get the latest code. However, it would be nice to perform a get latest from inside MonoDevelop. In the Options there are External Tools I can try and setup, but I thought someone might have already done this. Has anybody done this?
Also, I see the the opentf project lists an alpha-quality MonoDevelop addin in the Feb 4, 2008 Release Notes, but that is two years ago. Has anybody used this?

You can always use Svn Bridge. In order to use it you will need to install it on the TFS server itself. It will then allow your TFS server to communicate via SVN protocol.

I retry to post an answer (sorry for my english i'm french). I has the same problem than you, i make some software for WP7 from visual studio and i use TFS in my compagny and want to make iphone applications with monotouch.
I Try openTF but i need direct integration in monodevelop, i find nothing in the internet and i decide to make my addin.
I release a test version (free of course) than you can try, it's integrate directly in monodevelop with TFS, and work for me on my mac.
You can see my blog at teamaddins.com i think it's can help.
Bruno

The least-bad solution I've come up with for Xamarin + TFS is to set up TFS through a Windows machine as normal, mount the TFS workspace as a SMB fileshare on the Mac, and manage checkouts manually in Visual Studio.
It's klugey, but there doesn't seem to be any reliable TFS tooling available for Mac.

Related

Setting Active Solution Configuration on Visual Studio Mac 2019

I am confused how to set the active solution configuration for Visual Studio Mac 2019. Doesn't seem as clear cut as the Windows version?
For example - I don't want to build a copy of Windows projects in the solution so I made a Debug-iOS solution that only builds iOS plus the shared Core project. But how do I make it active? You will see in the list it says Debug is the active one "Debug (Active)".
I did not see in the documentation how to actually set the active one:
https://learn.microsoft.com/en-us/visualstudio/mac/create-and-edit-configurations?view=vsmac-2019
https://learn.microsoft.com/en-us/visualstudio/mac/configurations?view=vsmac-2019
Also it seems VS Mac has the concept of Run Configurations which I don't think is in Windows... is this related?

Installer creation tool - is this still a thing?

I'm not asking a technical question, but a request for advice.
Over time, I have always used installshield as the primary tool in installer development, and this tool has always been the king of them.
Lately, everything has gone to the web and Windows Forms have lost their charm. However, these still exist, and there are needs about them.
But you don't see anyone talking about the latest technologies about Windows Forms, installers...
Do you think Installshield is still the main tool for build installers? Why isn't any extension available in the VSTS/TFS vNext market?
Even in Jenkins, the last time the plugin was updated ... was in 2014. And we remember that Microsoft used Installshield Limited edition for one Visual Studio Version, but dropped to bring back Visual Studio Installer.

How can I get started with Xamarin from Visual Studio 2013?

I want to port a Compact Framework/Windows CE app to Xamarin to create Android and IOS (and possibly Windows Phone) "versions." I reckon I need Windows 8 for Windows Phone (8) but for now I thought I could get started with Android and IOS in moving this prehistoric app into the 21st century.
According to this article, I first need "Project linker" and can NuGet it, but searching for it via Tools > Extensions and Updates in VS 2013 returns no search results.
That article says you need VS 2012 or better; the direct link to "Project Linker," though, says it supports VS 2010.
Where do I go from here?
UPDATE
I went here, and am in the processing of downloading.
UPDATE 2
Here, it says, "Modern Integrated Development Environment (IDE) – Xamarin uses Xamarin Studio on Mac OS X, and also Xamarin Studio or Visual Studio 2010 on Windows."
Yet in VS 2013, I do have project types now for Android and IOS*, so I reckon that's just a typo (hasn't been updated)?
although I don't have a Mac, so that is not possible for me right now; also, since I'm still on Windows 7 at work, Windows 8 Phone apps are not yet a possibility, either. So at present, Xamarin within Visual Studio is simply a replacement for Eclipse/Java in the creation of Android apps.
UPDATE 3
I've been waiting for something better than PhoneGap, and I think maybe I've found it. If MS were to buy this company and bake Xamarin into Visual Studio -- voila!/yowza/wow! The cats in Cupertino will have to reach for the Pepto-Bismol!
That's a bit outdated and there's a much better approach available today.
You can use Portable Class Libraries (PCL) to share code across project spanning iOS, Android, Windows (Phones) and even OSX.
See this article (and where it leads) for more details.
I certainly agree with #poupou that PCL's are the way to go (if possible). I would recommend James Montemagno's app on github. He just created this for channel9 using VS 2013. I just created a cross-platform app based off of this and it worked out well. I would only use the file-linking for the platform specific implementations with compiler directives. This can be seen in his ServiceRegistrar class in said app.
This SO answer actually explains how to get the 2012 Project Linker to work with 2013 if you still want to go that route and gives a link to the extension.
Also, you may want to check out MvvmCross. It is open-source, has a large user-base and following, and really helps with maximum code re-use. Best part, it uses PCLs and all of it's features (plugins) are available via nuget.
I would recommend reading the article #poupou posted, watching James' channel9 videos on his github page, and (if you want to check out mvvmcross) watch #slodge's N+1 videos on mvvmcross.

Will VS2012 work with TFS2010?

I'm considering using VS2012 RC to put together coded UI tests (since VS2010 SP2 FP2 does not fully support IE9).
Currently, my test projects are contained within a solution which is connected to our TFS team project. I also set up a build definition to build the project when new code is checked in (the builds are performed on our build machine).
I suppose that if I upgrade my solution to VS2012, then to be able to build the solution on the build machine I will need VS2012 RC installed there too, right? But then is it possible to specify in my build definition for my project to be built by VS2012 instead of VS2010?
Is it possible for me to upgrade my project with VS2012 while still using TFS2010? I should note my solution will be the only one upgraded to VS2012. All the other solutions in the company still need to be built by VS2010. A company-wide upgrade to VS2012 won't be in place for at least a few months, I imagine.
Or do I need a separate build machine or anything?
Any thoughts, ideas or solutions appreciated!
UPDATE: So I gave it a try, and everything worked okay. My only problem is that the Coded UI tests I have didn't work after being re-built on on my build machine, but I suppose that's probably something I'd need to ask about elsewhere. To clarify, the solution built successfully, but the tests still failed.
Visual Studio 2012's project changes allow most types to still be opened by Visual Studio 2010 with SP1, so it depends on what kind of projects are in your solution - see this page for the full compatibility list:
If you created your assets in Visual Studio 2010 with Service Pack 1
(SP1), many of them will load and run in Visual Studio 2012 without
any further action on your part. Many assets will also open again in
Visual Studio 2010 with SP1 without any issues, even after you open
those assets in Visual Studio 2012.
See also "Round-tripping with Visual Studio 11" on the VS blog which has more detail.
Note though that if your build process uses custom build activities then just installing Visual Studio 2012 breaks the build definition on your local machine, and also that MVC1 or MVC2 projects just aren't supported by VS2012. Oh, and Visual Studio 2012 isn't a RC any more, it was RTM'd last week.
(I presume you mean 2012 RTM rather than RC, now that the final release is available)
Theoretically (from what I've read) VS2012 and VS2010 use the same project/solution file format, so you should be able to switch between them without any compatibility issues (aside, presumably from obvious things like creating new file types that VS2010 doesn't understand)
TFS updates have historically been backwards compatible, so you can usually use different client and server versions (but usually you need a compatibility pack installed for old clients on new servers, a new client running against an old server has usualyl been fine). So I'd expect this to work well.
I'd say try it, but diff any files that appear in VCS2012's Pending Changes carefully before you check in to be sure that it hasn't changed anything that will cause problems. The worst that can happen then is that your development machine gets a "corrupt" version of the code and you'll need to revert to 2010.
(This is the approach I've been using with our 130-project C# solution, and so far (1 day) it's working fine, apart from the new UI making my eyes bleed as they try to find the information in all the indistinguishable monochrome clutter)

Group project via Team Foundation 2010

We will be doing a database driven logistics system for our Software Analysis and Design course. What we want to do is to work on the project simultaneously so that we can finish the project earlier. Is TFS the right tool for this? If yes, how do we start? What are the steps to set up the TFS? We use VS 2010.
Thanks.
This is a very broad question. TFS is an excellent code repository that does allow for multiple developers to have a centralised code base (which sounds like what you are after).
The first thing you will need of course is the TFS 2010 installation disk and ideally a separate box to install it on. Although the installation and set up can differ slightly on differing OS, i would recommend following the installation guide here and posting any specific and more detailed questions as you come across issues.
Is TFS the right tool for this: Maybe. It may be a bit much overhead to use for a course.
How do you start: If you have Visual Studio 2010 Ultimate, TFS should be included. Everything is installation wizard based, and the install (can) give you everything you need. For what you want, a stand-alone installation using SQL Server Express should be fine.
If you're looking for something lightweight that you all could use for source control, you might want to consider some of the git/svn hosting services (e.g. http://unfuddle.com). There's no direct integration with Visual Studio without a third-party tool, but it will give you the basics of being able to share source code among your team.

Resources