visual-studio

Microsoft Visual Studio Test Elements with MSDN - Pricing

Does anyone know the expected price of this when released? ...

Help opening a file in Visual Studio 2008

I'm trying to use Visual Studio 2008 since I had problems opening a file in XCode. I am new to VS, but these are the steps I took. I created a new project, selected Win32 Console Application, empty project. My code is: // C_test.cpp : Defines the entry point for the console application. // #include <stdio.h> #include <stdlib.h> int ...

vb file becomes a binary file. Why??

Hi, I have a form.vb file that has recently became a binary file, while it supposed to be a text file. That means that I can't compare or merge it anymore. When I try so, I get error message that tells me that the file contains '\000' character, but I can't find this character although I searched the whole file. Do you know what is tha...

Visual studio code snippets Cursor

In visual studio (2008) when you insert a snippet and finish inserting literals the cursor jumps to the beginning of the snippet. Now I'd like to tell visual studio where the cursor should go afterwards. I've searched the web and actually hold little hope for this to be possible. To illustrate, suppose I have this snippet: <Code Langu...

Documentation from XML Doc in VS

Hello. Tell me, please, is it possible to generate from standard XML Doc in Visual Studio a proper documentation? With exports from xml into user-friendly look? ...

replacing vs object browser with reflector?

Has anyone tried to build or seen a plugin for visual studio that replaces the object browser of with Reflector? It would be really cool if I do "Go to Definition" I would end up in Reflector at the correct place instead of in the VS object browser. ...

How do I see the value of a GUID in the Visual Studio 2008 debugger?

When you look at a GUID values item in the watch window you do not see the value of the item, when you expand the item you just see “Empty” this is very misleading! You have to add “ToString()” to the value to see something useful. So how do I get Visual Studio to add the “ToString()” it’s self? I am using VB.NET if it make a differ...

Generate publish.htm when publishing clickonce app using msbuild

If you publish a Clickonce application from within visual studio, it will generate publish.htm .This seems to be Visual Studio generated, and not part of the publish target if the app is built with msbuild from a command line. How do people handle automatic(e.g. as part of a build server) clickonce publishing, including a publish.htm ? ...

Integrate Source Safe WIth Visual Basic 6

Hi, I'm using Visual Basic 6.0 (SP6) and want to integrate Source Safe 2005 into the IDE, how can I set this up? Thanks Lennie De Villiers ...

Setting compiler and linker directories via pragma in Visual C++

Is it possible in Visual C++ to set additional include directories and additional libary directories in the source code itself, through pragma definitions (similarly to #pragma comment(lib, "xxx.lib") to link specific libs)? ...

How do I work with shared assemblies and projects?

To preface, I've been working with C# for a few months, but I'm completely unfamiliar with concepts like deployment and assemblies, etc. My questions are many and varied, although I'm furiously Googling and reading about them to no avail (I currently have Pro C# 2008 and the .NET 3.5 Platform in front of me). We have this process and it...

Is there a way to view only the instance methods of an object in Visual Studio's Intellisense?

If I go to visual studio and type MyEnumerable., I'll see a list of all the methods that can executed from that object. This list shows extension methods as well, which is great, but is there a way (a keboard shortcut?) to narrow this list down to not include extension methods? ...

What makes an ASP.NET project an application vs library?

I am inheriting some ASP.NET code (I am an OS guy, not a web dev (yet ;-)). The solution has been re-factored and there are multiple projects (libraries and asp.net sites) in it. Aside from the libraries, there are two asp.net projects (called MAINSITE and SUBSITE). Only MAINSITE is being used as the official site (as an asp.net site), a...

Quirks of Visual Studio's property pane with WPF

Working in the visual designer of a WinForm project, when one selects an element the properties pane lists all the properties for that element. Selecting a property in the properties pane then displays a description for that property (the value of the assigned DescriptionAttribute) in a property description box immediately below the list...

How can I get Visual Studio to error check my code without explicitly compiling?

I use Visual Studio (C# Express 2008) occasionally to work with some vendor supplied C# code. I am looking to make my experience with it more like my experience with Eclipse. I have gotten accustomed to the way Eclipse handles underlining errors (in java source). When there is a error in my code in eclipse, it will usually be underlin...

what dlls do i need

i have a silverlight project it references other dlls in the bin folder it looks like this myproject.dll otherproject.dll otherdll.dll If I want to reference my project from another project what dlls do i need to copy over? Can i just copy over the myproject.dll or will it break? ...

ASP.Net MVC - Referencing stylesheets in the master page

I have a master page that is in /Views/Shared. The master page references a stylesheet in the /Content folder. Everything works fine if I reference the stylesheet using "../../Content/style.css". However, my web application is not in the root folder in our production environment, so the relative path doesn't work. I have tried "<%=Re...

Visual Studio Blog

Good Day, I want to write a blog and some of the blogs that I've seen on the Internet have code snippets in VB.NET or C# that look like the text in Visual Studio itself even with the colors. Is there some sort of application or tool I can use to create code snippets that look like those other blogs. TIA, coson ...

Change the location of the Auto Recovery information in SQL Server Management Studio.

Our local IT has our My Documents folder on a network path. This causes a problem from MSQL Server management studio as it saves it auto recovery information every 10 min it will lock up as its doing its save. I found where VS2008 saved its setting but I can not find out how to change it out of My Documents for this. Does anyone know w...

Tests are not available in Visual Studio 2008?

I'm working through the Nerd Dinner ASP.NET MVC tutorial and am at the part right after I've created the project and am trying to run my unit tests for the first time. I see the test project and the AccountControllerTest.cs and HomeControllerTest.cs files that were generated but when I click on Test -> Run all options are greyed out. W...