visual-studio-2012

How to install Visual Basic in Visual Studio ultimate 2012?

安稳与你 提交于 2019-12-13 18:43:40
问题 OS: Windows 8. I have VS2012 Ultimate with only Visual C++ in it. I can't create a Visual Basic project with it. Did installation go wrong? Does VB come with it? If not, how to add Visual Basic into it? 回答1: Run the installer again or go to Control Panel > Programs > Programs and Features , find Visual Studio 2012, press Change and select Visual Basic from the install options when prompted. Edit : It should ask you on first run which language you want as your default. To reset this you'll

How to use the StyleCop Plugin with the Resharper command line or “InspectCode” tool

跟風遠走 提交于 2019-12-13 18:28:39
问题 We use Resharper with the StyleCop plugin. It works great inside Visual Studio without any problems. Now I'd like to get statistics about our projects. I am building all our solutions from the command line and so far managed to get the output from the compiler (warnings) static code analysis (ex FxCop) and unit testing (results and coverage). JetBrains offers a commandline tool that does code analysis for free (Link). I'm using it and it works as expected. The command line version does not

How to disabled shadow copy in nunit from console exe

谁都会走 提交于 2019-12-13 18:28:32
问题 I am trouble with loading Nunit test dll. The test dll is using some other exe which copied few directory and files when they builds. I have recevied that error when call test.dll from nunitconsole.exe System.IO.DirectoryNotFoundException: Could not find a part of the path The console parameters are as follows: C:\Program Files (x86)\NUnit 2.6.2\bin\nunit-console.exe" /xml:"C:\abc.xml" "D:\Project\UnitTestProjct\RGTestingToolTestProject\NUnitTestProject\bin\Debug\NUnitTestProject.dll" Please

Creating VSIX package for TFS Source control explorer context menu extension

随声附和 提交于 2019-12-13 18:26:21
问题 I am trying to create VSIX package to extend functionality of TFS 2012 source control right click context menu when clicking on branch. I don't want to use Add-in. this has to be package which other developers can directly install. The customized menu items need to appear in the source control explorer contextual menu after they install the extension. I am not able to get any sample for this requirement or not able to get proper documentation source. One of sample I found is "TFS community

Background color for MenuItem not changed on MouseOver

此生再无相见时 提交于 2019-12-13 17:15:13
问题 I have a Menu with three items and I'm trying to change the background color when the mouse hovers over any of the items. I've tried the IsMouseOver & IsHighlighted trigger property and neither works. In my App.xaml: <Style TargetType="MenuItem" x:Key="MenuItemStyle" > <Style.Triggers> <Trigger Property="MenuItem.IsHighlighted" Value="true"> <Setter Property="Background" Value="Black"/> </Trigger> </Style.Triggers> </Style> In my Main.xaml: <Menu HorizontalAlignment="Left" Height="30"

While getting latest files - the server committed a protocol violation. section=responsestatusline TFS

佐手、 提交于 2019-12-13 17:03:41
问题 When i try to get bunch of files from the TFS server, i am getting error - "the server committed a protocol violation. section=responsestatusline" At the same time if try to get single file which gave this error then does not show any error. I have done some research, it says some ports on my machine are in use. But i don't know how to detect those ports and free them? Thanks Fahad Mullaji 回答1: It turned out that some of the ports of my machine were in use with some of the unnecessary(ads)

IIS Express stopped working after updating VS2012 SP1

纵然是瞬间 提交于 2019-12-13 16:51:10
问题 Update Visual Studio 2012 and after it IIS Express gives an error: "Unable to launch the IIS Express Web Server", when I try to run an asp.net project. Before upgrading all worked fine. /trace:error mode gave such log Starting IIS Express ... Initializing the W3 Server Started CTC = 264312930 W3 Server initializing WinSock. CTC = 264312946 W3 Server WinSock initialized. CTC = 264312946 W3 Server ThreadPool initialized (ipm has signalled). CTC = 264312946 Start listenerChannel http:0 Failed to

What could've changed in VS 2012 to break my C++ application?

♀尐吖头ヾ 提交于 2019-12-13 16:32:59
问题 I have a C++ application that breaks when I set the Platform Toolset to VS 2012(v110) and VS 2013. It works however if I target VS2012 with Windows XP support. If I target VS2008 or VS2010, it works fine. I only have a problem when running the application without a debugger attached, and compiled in release mode. I've tried to analyze what happened, but I seem to be getting those special "impossible" errors caused by some kind of memory corruption bug. The only special thing I can think of is

Visual Studio 2012 new ASP Web Forms Application can't access textboxes from aspx file

血红的双手。 提交于 2019-12-13 16:18:53
问题 i just created a new Web Forms application in VS 2012, i'm trying to get the value of the "UserName" textbox located in the Login.aspx page, all im getting is "the name UserName does not exist in the currect context" when trying to access it in the login.aspx.cs file... the ASPX file: <%@ Page Title="Log in" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebApplication1.Account.Login" %> <%@ Register Src="~/Account/OpenAuthProviders

TFS 2012 Visual Studio plug-in instantly creates and deletes “app_offline.htm” whenever a file is checked out causing the ASP.NET AppDomain to recycle

杀马特。学长 韩版系。学妹 提交于 2019-12-13 16:14:52
问题 I have a problem with Visual Studio 2012 which is driving me crazy. We're developing an ASP.NET web app and on app start up it has to load a lot of stuff into memory. It sometimes takes between 20-30 for it to start up and be ready to server the first http requests. We're using TFS source control and basically, every times someone edits a file, TFS marks the file as "checked out" (the little red check mark appears next to the filename icon in the Solution Explorer) AND instantly creates and