visual-studio

Is there a keyboard shortcut in Visual Studio to jump up to the parent XML/XHTML node in XML code view?

Not too sure how to elaborate on this over what the title already states, but it would be super great if when I was hovering my carat on a node in the XML/XHTML source view, that I could press a key to jump up to the parent node. If not in Visual Studio, is it in any addons like ReSharper or [can't remember the name of any others..!]? ...

Is there an option in Visual Studio 2010 Team Suite...

... to have tfs-tasks window split vertically by default? ...

Remove Custom Project Template that was Automatically Imported

I deleted the exported zip file that was placed in my exported templates folder and of course it still shows in Visual Studio's "Add New Project" dialog. I expected that but I'm having a difficult time finding where else the template files are stored. How do I remove a custom template? Edit I've searched the following folders (and nume...

Save searches in Visual Studio

Is there a way to save a search information in Visual Studio. For example if I'm constantly searching for "This string", match case, match whole word, look in 'Current Project'. Can I store this somehow as a saved search? ...

Visual Studio: Check out file when building project

I have a post build event that combines my JavaScript files and outputs to Production.js, however if Production.js is not checked out, the build fails. Is it possible to automatically check Production.js out when a project is built? [Edit] If possible using a post-build event, does anyone know how to do this? I am using Visual Studio...

How to make (.cs) code files expand / collapse underneath another code file in Visual Studio solution explorer?

In Visual Studio 2008/2010 it's possible to place a series of simple .cs code files underneath another .cs file in solution explorer. This behavior is similar to how you see files arranged when adding a WPF UserControl to the solution, where instead a single .cs file can collapse/expand underneath the .xaml file. How do you make the sol...

Visual Studio Publish Failed: "Unable to delete file ... Access to the path ... is denied."

I've recently switched from a Windows XP machine to Windows 7. I use Subversion and TortoiseSVN. I cannot publish my .NET application in Visual Studio. I get over a thousand errors like this: Unable to delete file "obj\Debug\Package\PackageTmp\Views\ViewName.svn\text-base\ActionName.aspx.svn-base". Access to the path 'C:\Code\...

SQL Server Compact. There was an error parsing the query.

I cannot figure out why this is not working. I get the same thing when I try to do an update query as well. Here is the error " There was an error parsing the query. [ Token line number = 1,Token line offset = 43,Token in error = where ] " Here is the actual Query INSERT INTO ads (title,price,body,enabled,where,interval,posted) VALUE...

C# app can't find Dll when compiled with /MDd flag

Hi, I have a C# application which links to a few c# DLLs which in turn use bindings to call c++ functions in other Dlls. This all works fine if I compile the c++ Dlls with /MTd but when I use /MDd I get an XMLParseException in my C# app complaining that it can't find any Dlls(it fails to find the first of my Dlls that I use). My best g...

C#: A way to copy xml comments from a set of APIs to another similar set of APIs?

Suppose in Visual Studio I have a new project which contains some of the same APIs from an older project, and I would like to copy the xml documentation over to the new one. Is there a way I can do this without manually copy-pasting them one by one? Thanks! ...

VSTO Deployment not working on Computer without Visual Studio

I have written a Outlook 2007 Add-In. I added a Setup Project to it, and it built the dependencies itself. When installed on a computer without visual studio, I get the following error message in the "Trust Center COM Add-in Manager": "Load Behavior: Not Loaded. The Managed Add-In Loader Failed to Initialize" Detected Dependencies ...

Creating DataBase (mdf) from DataSet

I have a DataSet consistint of a big number of tables of information. Is it possible automaticly create SQL Server DataBase (mdf-file) from description of my DataSet? Of course, I can do it manually, but may be there is a better way? ...

How can I get Visual Studio to beep at me if a build succeeds?

I work in a solution with many projects. Often, I need to recompile and it takes a minute or two, so I tend to switch to a web browser to kill that time. Sometimes I forget to look back and the build succeeded a few minutes before I noticed. Is it possible to somehow get Visual Studio (just UI version, not command line) to beep at me if...

Techniques to provide a shared build environment on Windows and Unix

I'm certain this has been asked before, with with nearly 900k questions, it's hard to find things :) We are starting a project where we want our C++ and Python to run both under a Unix environment but also under Windows. We want to make our project easy to contribute to as developers, and so we wish to have what each side feels is "nat...

Anyone successfully using Visual Studio/IIS/SQL Server on a Windows 7 VM on Linux host for work?

I'm getting sick of various annoyances about Windows 7 like permissions and crap like that, but I need to run it for development. Any one run Windows 7 VM with development environment for .NET and a local SQL DB (as well as IIS) on top of an Ubuntu host as their work station? If so what have you found to be the best Virtualization softwa...

XAML Designer and VS 2010 hanging

VS 2010 hangs when using the XAML designer. I don't think I have memory issues as the system has 4 gigs of RAM. I know that there were issues with VS 2008 SP1 that was fixed a patch. They don't seem to have one for VS 2010. Anyone else has this issue? Is there a workaround in using the designer? Anyone? Thanks ...

Property Sheets in C#

Hi, I'm using VS2005 and I have a property sheet (vsprops file) that I'm adding to all the C++ projects but I can't seem to find out how to add them to the C# projects. How do I go about doing this? ...

VS2010: Autogenerated files and XML documentation

This is really just re-asking this question asked about Visual Studio 2008. Does VS2010 offer any feature to get rid of the CS1591 compiler warning for auto-generated code? CS1591: Missing XML comment for publicly visible type or member To quote the question for VS2008: This is an annoyance more than a problem. My project contain...

Issue with Credentials

Hello, While setting up TFS for another user, I entered my credentials to connect to the server temporarily. Well, it still refers to my user name for the working folder. I even logged in on his machine and removed the workspace reference, but it's still giving him errors that I already mapped the folder to my account name for that pr...

Can I hide classes in the global namespace in C#?

In a visual studio 2008 solution, I have two versions of the same class in two different namespaces. In VB, if I do this: imports MyNamespace ' ... dim x as DuplicatedClass = new DuplicatedClass() it uses MyNamespace.DuplicatedClass instead of the globally-namespaced DuplicatedClass. Meanwhile, in C#, doing this: using MyNamespace;...