visual-studio-2012

Can't connect to team projects after upgrading vs 2012 to update 3

不想你离开。 提交于 2019-12-23 19:43:44
问题 I have recently upgraded my visual studio from 2012 update 1 to update 3. Since the upgrade, the team explorer is showing an empty offline home page. Pressing the "Configure Team Projects" on the team explorer's connect page doesn't do anything. I tried to repair, uninstall and install and to delete the team explorer cache folder but it didn't help. On the same machine, i have visual studio 2010 installed which works fine. Any suggestions? 来源: https://stackoverflow.com/questions/18311422/cant

Error Loading Custom Check-In Policy Visual Studio 2015

余生颓废 提交于 2019-12-23 19:27:35
问题 A few years ago, I asked this question: TFS Custom Check-In Policy is not in the Add box and was able to get my custom check-in policy to work in Visual Studio 2012. I have finally upgraded to VS2015RC and am trying to use the same check-in policy. I have tried to add a reference at the following registry keys: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\TeamFoundation\SourceControl\Checkin Policies HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0

Visual Studio - Step over disables itself

泪湿孤枕 提交于 2019-12-23 19:15:52
问题 I'm having some weird quirks that are stopping me from debugging properly and I'm wondering if anyone else has experienced similar? I've tried resetting all my VS keyboard mappings to the default but that hasn't solved my issue. Basically I debug through some lines F10, F10, F10, F10 and this works normally. Then at some point normally after 3/4 lines F10 stops working, and the command on the toolbar disables itself. You can see this in the screenshot just above the ProductConnector.cs tab

Unit Testing Frameworks for Visual Studio 2012 Cons/Pros

别等时光非礼了梦想. 提交于 2019-12-23 19:09:54
问题 I want to get started on Unit Testing in C++ (pure C++, not .NET), since I have never done it before. Always used assert and cout . So far, the only good Question with detailed answers, I have found is https://stackoverflow.com/questions/13699/choosing-a-c-unit-testing-tool-framework, but it is dated to 2008. I would like to hear some opinions about currently available C++ Unit Testing compatible with Visual Studio 2012. What are their Cons and Pros ? How easy/hard to learn them(i.e

Visual Studio Extensions and Visual Studio 11 Dev. Preview

余生长醉 提交于 2019-12-23 18:53:17
问题 I am unable to install lots of extensions to Visual Studio 11 Dev. Preview. It keeps saying This extension is not installable on any currently installed products. . I have only VS 11 Dev. Preview installed on my machine. Is this only happening to me? Hasn't MS implemented the support for VS 11 to install the extensions made for VS 2010? Is MS out of its mind ( I don't think so but you never know ) and not going to support those? 回答1: rename the extension to be a zip file, edit the manifest in

Why am I getting this “Invalid object name 'dbo.*'” error with MVC4?

自作多情 提交于 2019-12-23 18:31:18
问题 I get this error: Invalid object name 'dbo.ImageMetas'. On this line: return View(db.Images.ToList()); Where my database context looks like this: public class GalleryContext : DbContext { public GalleryContext() : base("DefaultConnection") { } public DbSet<ImageMeta> Images { get; set; } public DbSet<ImageFile> ImageFiles { get; set; } } And my model: public class ImageMeta { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } public UserProfile User { get;

Function name resolution in a lambda that captures _this_ [closed]

这一生的挚爱 提交于 2019-12-23 18:27:07
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . I'm looking at the following code: #include <iostream> void f() { std::cout << "Called ::f()" << std::endl; } struct S { void f() { std::cout << "Called

Visual Studio Post Build does not like my conditional

为君一笑 提交于 2019-12-23 18:22:56
问题 I have a post build conditional that looks like this: if $(ConfigurationName)==Release ( echo Update $(TargetName) to be non conflicting "$(SolutionDir)ILMerge\RummageTypeRenamer.exe" -f XamlGeneratedNamespace.GeneratedInternalTypeHelper -t XamlGeneratedNamespace.GeneratedInternalTypeHelper$(TargetName) $(TargetName).dll del $(TargetName).dll ren $(TargetName).Runmage.dll $(TargetName).dll ) This runs fine if I take off the condition and the parens. But if I run it as is, I get the error: The

posh-git doesn't show branch in package manager console

柔情痞子 提交于 2019-12-23 17:29:13
问题 I installed posh-git for Windows PowerShell and it works great in the shell. However, it is supposed to work in the package manager console as well. It does work but it doesn't show the current branch like the normal powershell window does. I followed this tutorial and everything went fine except for my package manager console doesn't look like his with the branch name. All you can see is PM> in the VS 2012 package manager console. But it works fine in the powershell. 回答1: Nuget has a

CoffeeScript Intellisense

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-23 17:27:29
问题 I use Visual Studio for development and I am quite used to Intellisense. But when writting CoffeeScript you don't really get any Syntax Checking or Intellisense. Is there a plugin for VS that would allow this? Thanks 回答1: You can't have more than syntax checking/coloring with coffeescript (on any IDE) AFAIK. As an alternative, you can use TypeScript to get the full Visual Studio tooling support (and stay close to the javascript), or some transcompilers that transform code to javascript, for C