visual-studio

Why don't files automatically get checked out from VSS when I edit them?

This is driving me crazy and has resulted in lost work (not much, at least). Normally, when I edit a file in Visual Studio, it's supposed to automatically check that file out in source safe. On multi-project solutions (e.g., web app with class libraries), sometimes none of the files in one project would automatically get checked out, th...

How do I get rid of the dots!

I was coding on a project in VS2008 and I tried to hit CTR + R +E to encapsulate a field as a property(feature of resharper) and I fummble fingered, now I have dots everywhere I have spaces and I cant figure out how to get rid of it. e.g. using.System; Namespace.EgNamespace { ....public.class.TestClass ....{ ........public.void.TestMet...

Free Tools to Automatically Create UML Diagrams from an Existing .Net Project

Are there any free tools to automatically create UML diagrams from an existing .Net/Visual Studio 2005 projects? ...

Remote debugging on server

what is the best way to remote debugging .NET on server without install VS? ...

failed accessing COM method after successful cocreateinstance

after successful coInitialize and cocreateinstance (COM server registration is perfect).. When i access a method in class it returns the error: "First-chance exception in XYZ.exe (OLEAUT32.DLL): 0xC0000005: Access Violation". By step by step debugging i found it gives this error while calling // make the call SCODE sc = m_lpDispatch->...

ASP.NET MVC Development tool

Following on from my previous question, If I am beginning to learn asp.net MVC, will the express edition of visual studio web developer be enough, or should I consider the expensive full version of Visual studio. What are the limitation of such express version I may run into? or am I better using an Expression tool? (or is this something...

Recommended file setup for VisualSVN and Web Deployment Projects

Our ASP.NET web shop is starting to move from VisualSourceSafe to Subversion (VisualSVN/TortoiseSVN). Subversion needs to have all files residing in a single directory tree. This is simple when using a Web Application Projects - everything lives in \Visual Studio 2008\Projects\MyProject With a Web Deployment Project, though, it's ...

How do you deal with multiple open files of the same name in VisualStudio?

Anyone know of anything in VisualStudio to make your life easier when you have a bunch of files open that are named the same thing? Pretty often I'll have a bunch of files open with the same name and I don't know of any way distinguish them so I just have to go through the solution explorer. Is there a setting to add hover text for the f...

Multiple web application deployment targets in Visual Studio 2008?

I currently maintain several different environments for a single application - production, staging, development, etc . I was wondering if there was a setting or an add-in for visual studio that would facilitate publishing to multiple deployment targets (preferabbly with a different web.config for each target)? I'm considering writing ...

What VS.NET settings affect the theme colors for the F# interactive Window

Duplicate: http://stackoverflow.com/questions/316161/how-do-i-change-colors-for-the-f-interactive-shell Hi, I have installed a dark theme for VS.NET which works great for everything, except for the F# interactive Window. That window now has a black background, the text has a white background and a light gray foreground. I've been play...

Visual Studio Isolated Shell Toolbox not being updated after uninstall/install of new package version

I am developing a DSL package that has a number of toolbar items. If I add a new toolbar item in the DSL explorer install the new package into the Visual Studio isolated shell the new items don't appear. I am testing this on a virtual machine first by installing the first version of the package, uninstalling it and then installing the ...

How to keep Visual Studio debugger visualizers from timing out?

I've successfully made several Visual Studio debugger visualizers, and they're working very well, except that on some objects I get a time out error when I try to deserialize the object with objectProvider.GetObject() System.Exception: Function evaluation timed out. at Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.Private...

Flag control properties as required in design view

I'd like to force the consumer of a control to give a property a value when placing the control on a page. In VisualStudio when you create an < img > tag without attributes SRC or ALT on a user control, it gets underlined saying that SRC and ALT are required attributes. I assume this is just a special handling of the tag by the editor,...

saving c# project as one single text file?

Is it possible to save a whole C# solution in one single text file? I vaguely remember a tool (VS add-on?) to do this, but I cannot find it. WARNING: This is highly likely a duplicate, and I would be happy to delete the post if so, but I haven't been able to find the answer in SO. ...

Best Visual Studio 2008 Debugging Tutorial?

Is there a good debugging tutorial for VS 2008 (C#, more precisely)? I have found a good deal of resources on the web, but they are still lacking a comprehensive, step by step, approach. Would you have any suggestions? ...

Resharper change object to interface

I have an upgraded 3rd party library and there used to be an object called Foo and now its an interface called IFoo what is the best way to change all usages and declarations of Foo to IFoo i tried doing Find / Replace but this also affected FooBar to IFooBar (which i dont want) thoughts? ...

Find / Replace all files in namespace or folder

i know i can do find /replace in Current Document Current Project Current Solution is there anyway to do this in current namespace or current folder?? ...

How can I delete bad Visual Studio templates?

How do you remove following noise templates, that don't even work? ...

Visual Studio 2008, Local Database, Diagramming.

I just installed Visual Studio 2008 and SQL Server 2008 on my machine - in that order. I note that VS insisted on installing SQL Server 2005 Express in order to be able to create a local database in by web projects. In any case, whenever I do add a local database and go to create a diagram, I cannot seem to modify the "Custom" table vi...

Summary of VS2010 feature list?

Does anyone have a summary list of what new features are available in VS2010? And what and high level requirements are (OS, etc)? ...