visual-studio-2008

Setting both Debug and Release settings in Visual C++ 2008

A common mistake when configuring the compilation/linking/etc. settings in VC++ 2008 is to set them in Release but not Debug (or vice versa) rather than setting them for "All Configurations". Any suggestions on how to avoid this kind of mistake? Some beginnings of ideas that I have: Find a way to make VC++ go to the "All Configuration...

Cursor through html in VS lags

If I have a decent size asp.net page open in Source view, and hold down the Up key or Down key to scroll through it, it will periodically get "stuck". It will stop on a line for a few microseconds, and you can see the screen flash, like it's trying to catch up with what it's trying to do behind the scenes. In my two-monitor setup, I'm wo...

VS 2008 JavaScript Intellisense Woes

I have a JavaScript class that I have made and put it into its own .js file. When I reference the the file from a web page and create an instance of that class there is no intellisense telling me the methods\variables available, it just show constructor as the only method. But when I copy the class and past it straight into the web page ...

Debug a start page in vs2008 with query string as startup parameter?

Does anyone know how to set up a default querystring to an asp.net webform which is set up as a start up page? ...

In TFS, can I use an added 'In Progress' state to determine how long tasks take?

I've modified the Agile task template in TFS to include a new 'In Progress' state. When work is started on an item the 'assigned user' will set the task from 'Active' to 'In Progress'. This helps me to know which tasks have been started. I was, however, thinking that I might be able to use this new state to figure out how long things ...

Visual Studio 2008 Fatal Execution Engine Error (7A2E0F92)

Visual Studio 2008 will suddenly quit when I'm manipulating the WebBrowser control in my WPF application. This is in the Event Log: .NET Runtime version 2.0.50727.3053 - Unrecoverable system error. .NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A2E0F92) (0) Does anyone know a cause or workaround fo...

log4net and system.data.sqlite

Does anyone know of a good example on how to set up log4net to use the system.data.sqlite provider? I've been playing around with it lately and I thought I had it all working. It makes a successful connection to the database and "writes" it out. However, when I look at the table data, it never actually commits the log. ...

best practices for using the sql server 2005 database project in visual studio 2008

what are the best practices for using the 'sqlserver 2005 database project' in visual studio 2008? I have created a project file. How to create the scripts for stored procedures, views and Tables? How would I generate scripts to populate some of the look up data? What would I do about modifications that may need to be run on the pro...

VS.NET 2003 and VS.NET 2008 co-existence

I was in the process of converting a VS2003 project (.NET 1.1) to VS2008 (.NET 2.0) and had converted all the C# (easy enough). I got a new machine and did the C# conversion on VS2008. We had a C++ layer that wasn't working under .NET 2.0 because of some memory protection issues. The C++ layer was pretty old and was written by some sub-...

Safe to uninstall .NET Framework 2.0 and 1.0 after installing 3.5?

I'm new to Windows development and I have a question. I'm using a Mac with Boot Camp to run Windows in dual boot, but I have an extremely small Windows partition (10 GB, because Boot Camp failed with bigger partition, due to the disk usage). After installing Visual Studio 2008 I continuously get low-disk-space warnings so I want to free ...

Where can I get a list of the 'Custom Tool' code generators that come with VS2K8?

I've used MSDataSetGenerator a fair bit and it causes a bunch of pain because the XMLSerializer rarely works on the output. Are there any other code generators that come with the SDK? ...

How to enable ASP.Net MVC item templates for S#arp Architecture project

I've been playing around with creating an application using the S#arp Architecture. One thing that is bugging me a bit is that I don't have access to any of the ASP.Net MVC item templates from the "Add New Item..." dialog. In other words I can't, for example, create a new "MVC ViewPage" or "MVC Controller" directly from the "Add New Ite...

How do I use a file included in my visual studio project?

In the Visual Studio application I'm creating, I want to include an .xsd file that is used in the application. The xsd file is in the same directory as the rest of my .cs files, and I dragged/dropped it into the Solution Explorer window as an item in my project. But in my C# code... how do I make use of it? It doesn't seem right to ha...

What are best practices in Setting up Localization in an ASP.NET Web Application Project in Visual Studio 2008

I feel like i am completely missing something because I am not able to find any examples describing what i want to do. I have a fairly plain jane ASP.NET web application project that I want to localize. I'd like the output to have satellite dlls so that later when I want to add a language I can just drop in a new DLL. I have created r...

Add Non-GAC reference to project

Every time I add a reference to a web project in visual studio 2008 that is in my GAC, it adds the reference as a GAC reference and doesn't copy the file to my bin directory. But for deployment purposes, I would like to add the reference as a non-GAC reference so it adds the dll to my bin directory. I've tried using the browse button to ...

Why won't VS 2008 SP1 let me edit global.asax?

Normally I create web application projects and use code-behind, but I have a requirement to create an small throwaway demo app using code-inline. I added a global.asax file to the app, but for some odd reason, Visual Studio 2008 SP1 won't let me edit any of the code between the script tags i.e. add code to the event handlers such as App...

Visual Studio 2008 on Vista problems

Does anyone have any problems with VS2008 on Vista? For me every so often when I select items in the solution explorer the screen goes blank. No other application causes this to happen. ...

Debugging a Web Application in Visual Studio 2008

When my colleague debugs a web application in his visual studio instance his output window streams all of the assemblies that are being compiled, (at least I believe that is what it's doing) but mine does not. I do see the text "Ready" flashing down in the status bar intermittently which I believe is something similar to what is being du...

DataGridView ToolTipText not showing

I have data bound DataGridView in a desktop app with columns that have their ToolTipText property set, yet no tool tip is displayed when I hover over grid view (cells or cell headers). The ShowCellToolTips property of the grid view is 'true', and I have verified using break points that it is not changed programatically before I mouse ov...

Catch block not catching exception

...