visual-studio

Disabling automatic checkout in AnkhSVN

I'm using Visual Studio 2k8 with AnkhSVN. When I start to modify file, it's automatically checkouted. How can I disable it? I don't want to accidentally modify my files. ...

Debugging: Edit and Continue (Visual Studio C++)

Hi all, In visual studio 2008 the option to apply code changes is greyed out and generally E&C does not work. Also just wondering if eclipse CDT's debugger support edit and continue like features. I've read gdb supports patching but does eclipse handle this ? Cheers, ...

Behaviour of webservice urls in VS 2005

Hi, We use VS 2005 and use a lot of webservices. My understading of VS 2005 is that by default the webservice urls behaviour is set to dynamic and it picks up the url from the web.config during runtime. But strangely, I have run into cases where this is not happening. The webservice continues to use the url used to add the webreference ...

How long does my Visual Studio C# compile take?

It seems like it should be possible to configure Visual Studio to print out how long the compile takes. Perhaps somewhere in the .sln file. If the sln is compiled from the command line using msbuild, it prints the time. ...

How do I get notification that the local Visual Studio build is complete?

There doesn't seem to be a post-build solution task. One could presumably hack it by creating a dummy project that is the last one to build and put a beep in the post-build project. ...

Visual Studio Freezing On Opening Project

Hi, My Visual Studio seems to be freezing/lagging when I open a existing project. I have added NHibernate framework into my code and it seems to lag my computer (at least that's what I think). When I open other projects, I do not lag or freeze at all. The freeze is about 3- seconds to a minute, then it will open my project and it will j...

Stop from Visual Studio opening TFS WIQ files as Text

Previously my installation of Visual Studio 2008 and Visual Studio 2010 wre both opening WIQ files correctly - connecting to TFS and wunning the TFS Query. Now both are opening the WIQ file as plain XML. Of course, I could reinstall Visual Studio to fix the problem. But I am looking for tips toward a faster work-around. Has someone enc...

How could I create a static library using visual stdio tools on the command line and automate .def creation

I'd like to create a static library using windows tools (cl.exe, link.exe, lib.exe, etc.) but I don't want to manually enter the names of the functions to export either in a .def file or specifying __declspec(dllexport) in the file. It should be similar to creating a .a file on linux, where anything not static to the files the library wa...

Visual Studio Using Excessive amount of Ram

Hi, My visual studio is using 90% of the total Ram I have (4 gigs) and it is freezing my visual studio also. Is there any way to make this more efficient and make my visual studio go faster? It does this when i open a existing project or save a certain file. ...

How to prevent Visual Studio from creating "Properties" folder?

The default "AssemblyInfo" goes in there, but I dont need it for our directory structure. Every time I delete the "Properties" folder inside my project, it gets recreated on reload. How to prevent that? ...

Is it possible to override the auto-indentation of comments in VB.NET/VS2008?

Is it possible to override the auto-indentation of comments in VB.NET (Using visual studio 2008)? Please see the comment above the second Case Statement in the code below for context. The IDE auto-indents the comment beyond the following Case Statement. I would like to override this behavior and bring it in line with the C in Case that...

Doesn't get into Debug Mode

When I Press F5 on my VS2005 to debug the application, it launches the web app window but it is coming out of debug mode. When I tried to trace the Error in the EventViewer, this was the error: Failed in Token.vb(GetToken). The token was not in memory and the identity of the authenticated IIS caller was not permitted. The session may ...

ASP.NET and Visual Studio - Adding project references vs Bin Folder DLL

I just started a new job yesterday and this is only my second job working in ASP.NET. We were setting up my dev box and were having trouble with some third party components like Telerik, etc. I was noticing that they were installed these third party tools, hunting down the DLL files, copying them into the bin and then adding a reference ...

Write Mac OS X apps with Visual Studio

Hey guys, I just came upon this article here which can turn your day to day visual basic app to run on mac os x. Here is the link: http://mac.sillydog.org/dev/visual%5Fstudio.php The thing I don't get is that the author doesn't tell us specifically what to download, and where to get all the files. He's a bit vague... Can anyone make thi...

Using Data Source Configuration Wizard from Source View?

I'm developing an asp.net site over a pretty slow network. The "Design" view of the remote Visual Studio doesn't work via Remote Desktop Connection-- and this is the only way I've seen in the docs to open the Data Source Config. Wizard. Is there a way to invoke the Data Source Config. Wizard from the source view? Thanks ...

Generating SSD from .NET Assemblies

Hello, can anyone guide me on how to generate System Sequence Diagram from a .NET assembly file??? Has anyone done that before??? ...

Visual Studio keyword highlighting in comments

Is there any way to highlight certain keywords like TODO in comments? I used to this feature in vim but can't find a way to do the same job in Visual Studio 2008. ...

What to the linker function definitions stand for?

We have a linker error when upgrading an SDK. Looking inside the .lib file we can see the old function definition was: ?SetupMOSSDK@@YAEPBGKPBUMOSGUID@@K@Z However the new .lib file has a slightly different definition of the same function: ?SetupMOSSDK@@YAEPB_WKPBUMOSGUID@@K@Z The change is the _W instead of a G. What I do not kn...

Problem upgrading projects from VS2005 to VS2008

I have a website written using VS 2008 and targeting .net 3.5 The web site uses some company DLL's written using VS 2005. What the developer of the site did is to not simply reference the DLL's but to include the projects in the solution. They have subsequently been converted to the 2008 format. Now any of the developers that still us...

Microsoft VC Runtime Requirement and SXS error for Setup Custom Action in Vista

I created a setup project with VS2005 for an application that I'm developing, which installs fine on Windows 2000 and XP, but when I try to run the installer on Vista, it gives the following error: There is a problem with this Windows Installer package. A program required for this install to complete could not be run. This e...