visual-studio

What's wrong with my Visual Studio 2008 template?

I'm trying to create my own class template for Visual Studio called "Public Class". I followed the official MSDN instructions on how to manually create an Item Template pretty much to the letter, but I'm having no luck getting the template to show up in the "My Templates" section of the "Add New Item" dialog. I placed PublicClass.zip i...

Executing scripts from a database project in visual studio

I am trying to add some stored procedure to a build process in visual studio (using MSBuild). I have a database project (*.dbp) added to my solution, however unlike some of the other database projects available in VS i cannot build or run it. ( I believe this is the project file i want as I am using SQL2000) How can i get the SQL scr...

Visual studio extensibility allows us to put extra items in any menu?

I mean, I have an add-in that will be applied to a given project. I'd like to know if it's possible to add a menu item for my add-in to the context menu that appears when you right click any project in the solution explorer. ...

How to quickly get the focus of the file being editted in VS

Is there any short-cut or device in Visual Studio to let me quickly get focus on the file I am editing? I often meet the scenario: after I edit a specific c# file for a while, I suddenly want to search for other files in the same directory hierarchy. ...

C++ error detection in Visual Studio 2005

Coming from a different development environment (Java, mostly) I'm trying to make analogies to habits I'm used to. I'm working with a C++ project in Visual Studio 2005, the project takes ~10 minutes to compile after changes. It seems odd that if I make a small syntactical error, I need to wait a few good minutes to get a feedback on tha...

FAiled to attach Visual Studio 2008 to an application with IronPython on Vista..

I'd like to create new command line to attach Visual Studio to an application with IronPython: My Script: import clr import System from System.Runtime.InteropServices import Marshal DTE = Marshal.GetActiveObject('VisualStudio.DTE') curLocalProcess = DTE.Debugger.LocalProcesses print curLocalProcess.Count currentProc = curLocalProcess...

How to display paragraph marker in Visual Studio 2008?

hi, Is it possible to display paragraph marker in Visual Studio Source Code Editor? Eclipse has this option, is it implemented in Visual Studio? thx ...

Where is the Visual Studio 2008 Installation Log

I have an installation of Visual Studio 2008 that is failing. Where is the installation log that is generated and what is it's name? ...

Commenting .CSS files from VS

I've grown dependent on the 'Cnt-K;C' shortcut available to most all MS dev apps. But VS is not inserting comment marks for .css files. Works for HTML, why not CSS? thx ...

How to define Multiple Breakpoints in MS Visual Studio

Hi ! Suppose you want to debug a project... but you want to step into all Event handlers, delegates methods etc... Is there any way how to add multiple Breakpoints at all of these locations (let's say at the start of each method) instead of manually clicking and choosing the breakpoints? ...

Change Visual Studio.Net 2008 IDE Background Image

Hi, I remember seeing a way to change the background of the VS.Net 2008 IDE code editor to an image, how can I do this? thanks ...

ATL Security update broke compatibility for DLLs depending on the older version

The recent ATL security update updated the C++ runtimes to version 8.0.50727.4053. Unfortunately, this update broke one of our DLLs that dynamically links to the runtime, as we only have 8.0.50727.762 available to us on the target machine (we don't even use ATL). Is there a way we can get Visual Studio to dynamically link to the older ...

How to connect to a web service in the same solution from javascript

I have a solution with several projects, one a web site the other a separate web server. (They will reside on different hosts.) I need to connect to the web service from some javascript in the web site. However, although this seems like an obvious, easy thing, I can't seem to get it right. My web service works fine, I can connect to it f...

Bug Tracking for Windows and SVN

I'm working as part of a volunatry team creating an open source product with a permissive license. We are currently using Visual SVN Server/TortoiseSVN for source control and TeamCity for our continuous integration builds. I would like to add a bug tracking component into the mix that will integrate into SVN. Ideally, I'd like to use Fo...

How use refactoring tools when you have multiple visual studio solutions?

We have two visual studio solutions for our product: one for our reusable components (Core.sln) and one for our product (Product.sln). Projects from the Product solution have references (file references) to assemblies of our core. When working in one solution, the refactoring features will not refractor in the other solution. Renaming a...

If I have a solution folder, is it ok to name projects ProjectName instead of MyCompany.MySolution.ProjectName?

So the directory layout would look like: Visual Studio 2008\ Projects\ MyCompany.MySolution\ Models\ Models.Tests\ Services\ Services.Tests\ UI\ etc.. rather than Visual Studio 2008\ Projects\ MyCompany.MySolution\ MyCompany.MySolution.Models\ MyCompany.MySolution.Models.Tes...

Visual Studio 2008 reading or writing protected memory when debugging

On a brand new Vista machine, I'm getting the following error - instantly - whenever I try to start a project in debug mode: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. I don't buy the "other memory is corrupt" part of the message. I thought the error might be related...

MFC Fail to Load Dlg from DLL

I have installed in my PC VS2008 and Windows Mobile 6 SDK. I have made a SmartDevice MFC application and a Regular DLL MFC, both uses shared MFC DLL. But when I called DoModal() of the DLL the application hangs, show a "Debug Assertion Failed" message and freeze my device. Can you help me? Codes: The EXE code: typedef BOOL (CALLBA...

Disable XAML Preview

In Visual Studio 2008 when I open a XAML file from the project it displays the horizontal split with the preview on the top, and the XAML on the bottom. Most of the time our XAML won't render in the preview, so I just have to wait for it to try to render, and then close the preview. Is there a way to have it default to not showing th...

Can I develop ASMX web services in Visual Studio 2008 Standard Edition?

I need to know if I can develop ASMX web services using VS 2008 Standard Edition, or if I need Professional Edition? I can't find this anywhere. Thanks. ...