visual-studio

Visual Studio - Project with that name already opened in the solution

I recently migrated a VSS database to TFS 2008. Using Source Control Explorer, I got the latest version of a solution with 12 projects. When I opened the solution in VS 2005, two of the projects were not found. I am not sure why these two projects were not found, but thought it easiest to just delete and re-add them to the solution. When...

Possible to have Visual Studio TODO comments in aspx/ascx files appear in task list?

We develop asp.net webforms using visual studio 2008. For multilingual support, we translate all our text. However, when designing, we usually just enter the english text and come back to translation later (it interrupts flow of work otherwise). I've added a "ToTranslate" tag in the options. Adding //ToTranslate: something in C# co...

Create Project/solution in an existing directory?

How can I create a New project & Solution in the same, existing , directory? No matter what I do, it keeps creating a new (sub)directory for the project and populating that directory instead of the one(s) that already exist. I have the "Create directory for Solution" checkbox cleared so that it will put the solution an dproject in the ...

What are the pitfalls of combining a web site project with a web application project in Visual Studio?

I have a web site project with a lot of files, it has become really slow to build. What I want to do is to create a web application project, and in Explorer add all the files to it, including the Bin folder. In Visual Studio I will not add these files (Show All Files will show them), only new files in one new folder that I am going to wo...

Visual Studio visualizer similar to Mole

Hi All Mole visualizer for WPF in Visual Studio is a great tool for debugging WPF apps. What I want to know is, is there a visualizer tool with Mole like functionality for general .Net debugging. I find the built in watch capabilities to be a little fidly. Thanks ...

Configuring new developer PC with VISTA 64-bit: can I use my 32-bit Visual Studio

I'm about to take the plunge and build a PC, and it will probably be 64-bit, which will use 64-bit VISTA, I suppose, since Windows 7 isn't out yet. I'm a Visual Studio 2008 developer; will I need new versions of the software? I run the 32-bit versions on XP right now and deploy to a 64-bit Windows 2003 server that runs IIS in 32-bit mod...

what is difference btw /MD and /MDD in VisualStudio C++?

Hi What is difference betwwen /MD and /MDD( multi threaded debug dll ) in c/c++->code generation propertis of visual studio .... ...

Adding json.net to project

Hi I have downloaded json.net. and added the dll file by clicking Add Reference. The dll file is now appearing in the bin folder. Now in the code I have tried calling the functions from Json.net Imports Newtonsoft.Json.JsonReader Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByV...

Best Practise for Structuring Visual Studio Testing Projects

I know there is no right or wrong answer to this but it would be VERY helpful to see how others have structured their test projects? Especially for multi assembly solutions and managing different test phases, unit, integration, system? And ontop of it all it would be helpful to see what structure fits nicely for running test builds ...

What advantage have other testing libraries over the one provided by Visual Studio 2008?

Or in another way, is there any reason to install NUnit or any other library and use it instead of the one that comes with Visual Studio 2008? ...

Strange behavior with the hotkeys in VC++

I have a dialog written in VC++ as shown below: Label1 Control1 Button1 If Control1 is disabled, using Label1's hotkey results in Button1's Click event. How could I avoid that? As Control1 is disabled shouldn't the hotkey for Label1 too? ...

How to resolve the following linker errors in Visual Studio?

Here is My scenario. I have a project which contains 30 subprojects. In one of the projects I have used CLR (common language runtime) so I modified its runtime with /mdd (multi threaded debug DLL). Individually all the projects are built successfully. But when I try to compile the main project I am getting the following linker errors: ...

What is the best practice for sharing a Visual Studio Project (assembly) among solutions

Hypothetically, I have a project "MyFramework" that has a bunch of code used across a lot (12?) of solutions. Each of the solutions including "MyFramework" are in there own source control (SVN). MyFramework is strictly an internal product and doesn't have a formal release schedule. Each of the solutions are internal projects (no clien...

Is there a way to bookmark code in a Visual Studio project?

In various projects there's certain parts I will keep jumping to. Is there a way to effectively "bookmark" these parts so I can quickly jump back to a certain line in a certain file (or a certain method)? I keep getting lost navigation the solution or doing a "find in whole project/solution", and if anyone knows a way then us lot will ...

Remote Pair Programming in Visual Studio

Does anyone know of a Visual Studio add-in that allows remote pair programming in Visual Studio? Something along the lines of SubEthaEdit, where all users can edit the same document, live, in realtime. A shared/remote desktop connection where multiple users are in control of the keyboard and mouse is a step in the right direction. Howe...

Why does Visual Studio place a div tag in a new ASPX page?

By default, a new ASPX page contains the following: <body> <form id="form1" runat="server"> <div> </div> </form> </body> I'm curious--is there any reason I should leave that div tag in? ...

How to make the VS debugger do stack unwinding after breaking on uncaught exceptions?

I need this to make the finally blocks run /after the debugger breaks at the throw point/. BTW I know how to make it never break on an exception, but I don't want that. ...

create "Add New Row" button asp.net3.5 c#

I am building a web-enabled ASP.NET 3.5 application in Visual Studio 2008 using C#. I am connecting to an SQL database. The user must be able to insert, edit and delete entries from the database using the forms I create. I am creating the screens and I ran into quite a snag. There is a table that contains many different types of fiel...

Can A VS plugin inject code into the compilation process?

I'm sort of conceptually designing a plug-in I'd love to have here. What I'd want is to be a able to tag line in my code (something like how breakpoints are added) and then get a trace log of when execution runs though them. Rather than set breakpoints (because they don't work outside the debugger), I'd rather that inside the compiler, t...

get selected row index of dynamic dropdown list selection

I know the question is a little choppy and perhaps misleading,but I have a gridview with dropdownlists on the rows. I created an AddHandler and a Delegate for the SelectedIndexChanged and it gets to the sub. Here is the code for that: AddHandler ddlmgr.SelectedIndexChanged, AddressOf ddlmgr_SelectedIndexChanged Public Delegate Sub DropD...