Getting ReSharper and VS 2015 CTP3 to play nice - resharper

I've already asked on jetbrain's forum, to no avail, so I'll shoot here! :)
Have anyone got resharper and visual studio 2014 ctp 3 working together? I can't live without R#! :)
If you have, how have you done it?
Cheers,
Stian

There are no plans to support VS14 with the 8.x releases (mostly because it's a CTP, and requires changes for each release, which would mean multiple releases of a compatible 8.x, which then slows us down while we're also trying to work on ReSharper 9, and also due to architectural changes in ReSharper 9 that make back porting harder). As Igal mentions, support will be there with ReSharper 9. EAPs are coming fairly soon, but there's still going to be a little wait until they're ready to start (e.g. an installer would be nice!)

Related

Upgrade VB 6 projects to Visual studio 2012

I have a couple of Projects created in visual basic 6 with oracle databases. I want to upgrade these proejects to visual studio 2012 and use TFS version control. I have read that first I need to upgrade to Visual studio 2008 and then to Visual studio 2012.
Before going ahead with the upgrade ( I need to install Visual studio 2008 as well) I want to make sure this is a realistic approach. So
1. Does converting a vb6 project to VS 2012 ok or I will have to make a lot of changes to make things work?
2. After upgradation would I be able to use TFS for the projects?
TL;DR - yes, you'll need to make lots of changes regardless of how you choose to migrate. TFS question seems irrelevant to me. If you're setup to use TFS for projects, you can use it for these after upgrade as well.
The only reason to consider a 2-step upgrade that includes VS 2008 is that was the last version that included the migration tool built-in (ie, free). As others alluded to, those tools don't make pretty code but a mashup of VB6 and .Net. After trying a few times, I now personally find it simpler and more robust to recreate a new .Net version from scratch, but using the VB6 code as a template. I copy and paste as practical and then do Find/Replace to catch the majority of errors/warnings and then deal with all the others individually. If I have to convert another project, I may use 2008 once just to see what kind of issues the original code had or if there are any unusual situations/controls I'll need to deal with, but I would still start a new 2013 project from scratch. That gives me a better opportunity to improve it as well. You'd be replacing all the connecting code to Oracle anyway. I'd been using OO4O and moved to ODP.NET. If you used 2008, you would have to move to at least 2010 to use the latter in managed mode, which is great not having to load Oracle Client on each machine.
I'd be wary of upgrading VB 6 to VB.net using the automated tools. I did it back in the day (around 2003) when .net was just starting out and my memory is that it wasn't a pleasant experience.
The code produced by the upgrade wizard is a nasty mix of old VB conventions trim, instr and .net conventions. We also had a bunch of weird bugs. Sorry it was a long time ago and I can't remember any details. Only that we did it once for a small number of components, around 6 or 7 activex dll's. That experience was bad enough that we decided it wasn't worth the pain.
We kept the VB 6 code in service until it was re-written as part of a larger push to modernise the codebase.
If you do decide to upgrade then the output is a standard visual studio project that can be source controlled in TFS just like any .net project.
If you reason for upgrading to just to use TFS then take a look at the MSSCCIProvider. This allows you at hook TFS in to the VB6 IDE
I am doing something very similar and did develop a tool to assist with the designer portion of the conversion. It parsers the VB6 file and creates designer code for .NET.
The source is here.
https://github.com/rdejournett/VBtoNET
The only thing I was not able to solve is that controls within tab pages have really wierd X locations like -60000. So I parse those to 0. You'll have to move them to the right place.

should I delete VS 2012

I've just downloaded and started to use VS community 2013, and up to now, I'm quite impressed with it. I also have VS 2012 professional on my machine, and I'm getting little short of space on my hard drive. Would you suggest removing VS2012, and is it safe to do so?
If you have no legal / license issues with the fact to use "Community" rather than "Professional" license, AND if you don't have coworkers using strictly VS2012 I think you could reasonably uninstall VS2012.
For my second assumption, 2013 is pretty "retro compatible" with 2012, but it's better to keep homogeneous environments between developers.
I think the uninstall itself should go very well (so far never had issues myself with that kind of things, even with CTP or RC releases), but if you are afraid you can do a restoration point or some kind of backup of system before uninstall.
In my opinion, there's no point anymore in switching to VS 2013, because VS 2015 RTM will soon be available - it is currently in CTP 6 and you can get it for free.
The great thing about VS 2015 - apart from all the new features like e.g. C# 6.0 support - is that you get the full version for free, not just a community edition with reduced functionality.

Visual Studio - Mylyn Equalivent [duplicate]

Mylyn is a task oriented plugin that allows for example to assign a set of files to a task. Is there a Mylyn type plugin for Visual Studio?
Tasktop has just announced that it is bringing the productivity of Mylyn into Visual Studio! The beta version that is being released will support bringing tasks from HP ALM, Quality Center, and Bugzilla. It includes Mylyn's Task List and Task Editor. The next level of support, which will include compatibility with all existing Mylyn connectors, will be delivered after this beta. Further down the road Tasktop will also be delivering context capture and focus within the Visual Studio IDE.
The beta release will be happening end of November 2010.
See the recent blog post for more details.
David Shepherd, Tasktop Technologies http://www.twitter.com/davidcshepherd
The closest I've found is Tasktop, by the people that created Mylyn, but it's a standalone application that doesn't integrate with Visual Studio.
(Resharper is irrelevant).
Not even close to mylyn, but here is an open source addin for visual studio that helps to assign a list of source files to a "session" (you could think of the session as a "task")
http://dsmaddin.codeplex.com/
i'm not aware of anything open source but i do know that team system is setup to support this type of workflow.
resharper might also have features you are looking for but, again, not foss
I asked that question to the VS.NET Development team in Teched 2008.
She said that they've notice about Mylyn, but are still looking on it.
Task focusing plugin is not yet ready in VS.NET environment.
You may be interested in this news from Tasktop: http://tasktop.com/blog/tasktop/eclipse-mylyn-microsoft-visual-studio
I'll second tasktop. The newest version especially looks nice. Like orip said, it doesn't provide VS integration, but there's a Firefox extension which should be pretty nice... beats using Eclipse purely for Mylyn.
I've recently released (commercial) Task Canvas extension for Visual Studio 2015 that supports tasks with assigned sets of documents and code fragments.

Visual Studio 2012: running unit tests with big time overhead / delay

I just started a new project in C# using Visual Studio 2012. VS2012 is up-to-date, so there is no beta or RC installed. When I run my unit tests, there is a big delay. Test summary says, that it ran 10 seconds, and the 4 unit tests ran in summary 96ms. This is what Test Explorer tells me. Why is there such a big time overhead of nearly 10 seconds? It's obviously pretty annoying if you do TDD...
Is there any configuration setting I have to set? Did I miss something?
Or is it (still) a bug in VS2012? I found a blog regarding VS2012 BETA (http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/08/what-s-new-in-visual-studio-11-beta-unit-testing.aspx). At the end of that article, they say following: "Unit Test Startup Performance – Right now we have a pretty ugly delay after you start a test run and we are aggressively working to make that go away." But I didn't find anything more about that problem. Maybe the bug is still present.
Hope someone can help me.
Thanks in advance.
In the upcoming Visual Studio quarterly release (ref http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/08/visual-studio-2012-update-1-ctp.aspx), we have made some performance improvements. In short, we changed the underlying storage mechanism to improve the discovery/run time.
Please download the quarterly release when it becomes available. Also, please let us know if you have more issues.
Regards,
Patrick Tseng, Visual Studio ALM team.

Does Resharper 6.1 work with MBUnit?

Unfortunately Resharper has a long history of breaking MBUnit support with every new release. I noticed version 6.1 has been released, but I can't use it until it works properly with MBUnit.
So, does Resharper still work with MBUnit? I'd try it myself, but last time I did I lost all of my Resharper settings while downgrading, so I thought I'd better ask first this time.
Thanks,
Adrian
There's no official Gallio release supporting ReSharper 6.1 just yet. However, 6.1 support is a work in progress and latest development builds were known to work with 6.1 EAP - no guarantees yet though.
I have used MbUnit with resharper in the past. With the 6.1 release, I haven't had a chance to test it out yet. I do know that there are some tests simply aren't executed correctly in resharper (row tests I think).
Additionally, you can back up your resharper settings as well.
Backup Resharper Settings

Resources