visual-studio

C++ Code not building with build project (F6) in Visual Studio 2008

I have a large solution that contains C# and C++ projects. After I code in my classes or functions I run a build to have the parser check syntax. What I have noticed is that when I press F6 the entire solution will build and get parsed except for the C++ files that I'm working on. This seems like it's not the intended function of the ed...

How to disable annoying error: Generation of designer file failed: The ID 'someID' is already used by another control

In VS2008, if you have disabled 'Auto ID elements on Paste in Source View', if you then copy and paste a control or group of controls, you get the annoying Error List window popping up telling you: Generation of designer file failed: The ID 'someID' is already used by another control. I realize under: Tools, Options, Text Editor, HTM...

Oracle 10g Setup: in Visual Studio 2008 ?

Hi i am using Oracle 10g database with ASP.NET website. I would like to know how can i make setup of Oracle 10g for deployment? Is there any way to make Oracle Database setup in Visual Studio 2008? ...

Can I install Visual Studio 6 and Visual Studio 2008 on the same machine ?

Hi, I want to install visual studio 6 and Visual Studio 2008 both on my machine. Will There be any problems if i do so ? ...

How I can make Start Page for My Application Like Visual studio

Hi, everyone know the start page of Visual studio it seems to be a web page, how I can make like it in my applications? Edit, Add more details: let us say that I want to show the recently opened forms or the Tip of this day, who I can do that, where to store the data and how to generate the HTML file? ...

Multiple web projects, (almost) same layout in Visual Studio

Hi guys. Im currently developing an application with two web projects (MVC): Frontend Backend These two are going to have almost the same layout (few minor changes). Therefore I thought about creating a MasterPage, they can share. But since it's two projects in two different locations, where should I put the masterpage, images and j...

How to Add Smart Tags to my .net component?

look at the following picture, which showing smart tag for DataGridView Now I'm creating new component and I want it to support showing some properties in Smart Tags, how to add the properties to the smart Tag? ...

Directory as a bucket for a clickonce application

My application works great in debug mode but crashes after deplying it on localhost (for testing purposes) And the error message indicates that the path is invalid... And the first thing i don't get is why the directory is invalid.. I read it with: Application.StartupPath & "\Images\" C:\Documents and Settings\george\Local Settings\A...

Visual Studio debugging execution path.

I have c code like. FILE * fin = fopen("myfile", "rb"); if (fin == NULL) { printf("file myfile does not exist, closing"); return false; } It works when compiled, but not in debugging mode (stepping trough) where it return false. checking argv[0] is ok and absolute paths are working both ways. ...

Green Visual Studio ?

Hi all, I recently fiddled with the "advance" color settings and changed the 3d objects color to green to go with a green theme. While SSMS adapts nicely to the change, VS 2008 does not. Is there a way to make VS follow the SSMS way of blending in ? Screenshot here Specs: Windows 7 RC1 Visual Studio 2008 SP1 SQL Server Management Studi...

Customize Visual Studio defined value and Function name foreground color

Does anyone know how to change the color for defined value (eg: #define MyValue 1) and the function name. For example on this video: http://ddkwizard.assarbad.net/demo/ NTSTATUS is colored with blue whilst NT_SUCCESS is colored with pink DRIVER_ENTRY is colored with red Please share if anyone knows how to achieve this. Thanks in adv...

losing mvc intellisense

Hi My intellisense doesn't work in aspx or ascx pages running mvc 1.0 When I save or build it does not show the intellisense, but if I do a clean then it works it this a bug or am I missing something ? thanks ...

csc.exe not found error

I have installed a fresh copy of windows xp 2002 with SP2, and then VS.net 2008 enterprise edition. I am trying to build a simplest possible web application, and its not compiling giving error csc.exe not found. I googled a lot, and spot the problem in the following section in web.config : <system.codedom> <compilers> <compiler l...

Organization of Unit Tests in Visual Studio

I'm currently creating a paired unit test assembly for every assembly in my project, both are in the same folder. MyProject/MyProject.csproj MyProject.Test/MyProject.Test.csproj Looking at open source projects, I've seen some smaller project put all tests in one assembly, and other split it out like mine. I'm dealing with a large so...

Where do I find Microsoft.VisualStudio.DebuggerVisualizers?

A project won't compile because of a missing assembly. The file that causes the error has a using Microsoft.VisualStudio.DebuggerVisualizers; The VisualStudio part is marked in red. What do I have to install to fix it? To me it sounds like something that would have come with Visual Studio, but that is what I am using, so it is instal...

How to configure website guest access?

I finished creating my C#/SQL web application in VS 2008 on an XP Pro OS. It builds and executes successfully. Using the same code, I developed a website in VS 2008. Although this website builds and executes successfully, when I deploy it from my computer, it does not display the data grid. I think this is because the internet user d...

RunAs A different user when debugging in Visual Studio

I'm trying to run the program I'm debugging as a different user. Now, this can be done by running the exe and attaching from Visual Studio, but this is cumbersome. What I've tried to do is use the "RunAs" command: command.com /C runas /env /user:OtherUser DebugTarget.Exe But this is attached to command.com, Visual Studio wants an exe...

Propagation of .config settings

We have a fairly hefty VS2008 solution that comprises of many library projects that are referenced by one or more other projects. Some of these libraries define things like WCF bindings and connection strings, but when these are referenced by other projects, it seems to become a necessity to copy the binding settings from the library pro...

Best practices organizing a Visual Studio solution

I need some help regarding Visual Studio solution and project organization. I have a solution with several projects. All of them are written in C# and are compiled as libraries to be used by the GUI. Some of these libraries have also dependencies with others. For example, TestExecutive needs LoggingFramework, Communications needs Loggin...

"Open With" In Visual Studio

I have developed a front end for a config file with in my web application. I had hoped to use the front end by seting it up using the "Open with" right mouse click menu option. However, the file I will be editing has the .config extension. Therefore, it means when I try and open the web.config it uses my application to try and display...