visual-studio-2008

VS2008 Debug ASP and ASP.net together

Is there any way to debug both classic ASP and ASP.net applications from visual studio to allow me to breakpoint on an ASP line of code and an ASP.net one too? This is for a legacy system which has older classic asp components and newer ASP.net modules I have it working by debugging the ASP.net on its own (and not the ASP) or the other...

Why does visual studio 2008 break my web page?

I have a aspx page that has a UpdatePanel and a asp timer. the timer tick is the trigger for the update panel. If add anything to the update panel (even a space!) Visual Studio automagically adds the following <Triggers> <System.Web.UI.AsyncPostBackTrigger ControlID="tm1" EventName="Tick"></System.Web.UI.AsyncPostBackTrigger> ...

visual studio pointing to my sql server

in visual studio i have my code point to a sql server mdf file (in the APP_DATA folder). and i keep having to syncronize this local data to my server. is there anyway in visual studio i can just give it the connection string to my real server so i can debug directly against my server. i know this may be a bit slower but it also might ...

LINQ to SQL - need downloading sqlserver 2008 to a local mdf file

i have a sql server that i use and i am trying to code up a solution using LINQ to SQl in visual studio. is there a way i can: download the database from my server to my local desktop and have it as a mdf file so i can bring it into the app_data folder and it use this for LINQ to SQL code generation. also, please let me know if there ...

Global Assembly Cache Folder in setup projects in Visual Studio

Hi I'm new to creating installers using Visual Studio, and was wondering about the Global Assembly Cache folder. In the case where a other version of a dll (same version number) is already existing in Gac, will it override or ignore the old dll? Is there any method to set this in the setup project? ...

Is there something that prevents Response.Redirect to work inside try-catch block?

I got some weird error with response.redirect and the project wasn't building at all.. when I removed the try-catch block that was surrounding the block of code where Response.Redirect was in it worked normally.. Just want to know if this is a known issue or something... ...

Visual Studio 2008 Menu Items Duplicated

I occasionally get some issues with Visual Studio and ReSharper that causes me to run devenv.exe /ResetSettings After doing this, the menu items under "Data" are all duplicated, and each section is duplicated. So it now looks like this: Show Data Sources Add New Data Source... ------------------------- Schema Compare Schema Compare ...

How can I get a list of all classes and methods used in a Visual Studio project?

Are there any reporting tools for Visual Studio 2008 that can build a list of all classes and methods used in a project? ...

Can I tell VS2008 to ignore debug-time evaluation of my lazily loaded properties?

In our .Net application, some of our business objects use lazy loading to access data from the server. While debugging, if I want to inspect a property I have to be very careful and not "look at" or access those properties because this causes the IDE to try and evaluate those properties, which fails. Is there an attribute I can put on ...

visual studio 2008 pasting text freeze IDE

has anyone else experienced this . I have SP1 but i have to kill and restart VS2008 10 times a day due to this copy / paste problem. any suggestions? ...

is having a folder with a lot of large image files going to slow down visual studio web project

i just included a new directory in the project. in that directory are a number of image files (some large). it seems to have slowed down VS2008 alot. (Not sure if its a red herring) should this be expected? ...

autoformat and indent html

in visual studio, is there any hot key to autoformatand indent your html code. ...

Why would I *not* collect code-coverage data in unit tests, in VS2008?

If I'm running a suite of tests, is there a reason I would NOT want to collect code coverage data for the tests? What's the expected cost, in terms of runtime, storage, or anything else? I'm trying to decide if I would ever want to run with code coverage data collection OFF. ...

How to convert a RDL to RDLC file with a different schema?

I'm using Sql Server Reporting Services (SSRS) 2008 to create RDL files, but also need to create a RDLC file. The problem is that SSRS 2008 uses a 2008 schema, while Visual Studio 2008 uses the 2005 schema. Is there a tool or work around for this solution? Note: I'm not using tablix, so that should not be a problem. ...

Is there a way to take an XmlNode and display its data in a datagrid view?

I have spent about half a day searching for an answer to this question and am slowly becoming frustrated. I am working with a Web service that returns an XmlNode as its response. I would like to be able to take the XML data reference by the node and view it with a data grid view. Does any one know if this is possible? I am using the fo...

VS2008 Intellisense screwing up when I add an XMLNS: namespace declaration to my stylesheet

When I have the following (default) declaration in my XSL file, everything works fine. when I type a "<" character, intellisense window pops up with all the xsl: namespace choices as expected. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:x...

Ignoring users when deploying a database project from VS2008

I am currently working on an application that has different permissions/users for the local development environment and test. I want to be able to ignore the users and permissions when deploying to either environment. Under the .sqldeployment file, there seems to only be options for ignoring permissions (IgnorePermissions) and role mem...

Signing a C++ executable in Visual Studio

Is there a way to automatically sign a C++ executable generated by Visual Studio 2008? I couldn't find anything similar to the "signing" tab in Properties that exists for managed apps. Any ideas? I want to automatically sign my executable when it's built (using msbuild command line). ...

How to get the smallest VS 2008 installation for MSTEST execution and debugging

I want the tinyiest possible VS 2008 installation that can do the following Run MSTEST (This requires a either VS installation or a lot of work). I don't want to do a lot of work. (Nice) Work as a managed debugger Occassionally look at configuration or source files. This is for virtual test environments running automated tests - a ...

Looking for VisualStudio2008 "Find/Search" utility that shows results in context

I'm looking for a VS2008 AddIn or utility that improves on "Find In Files". The main feature I'm looking for is to show the names of the methods that contain the matching string, preferably in a TreeView. For example, if I did a search for variable "string1", I'd like to see something similar to the following: File1.cs method1 ...