visual-studio-2008

How to restore VS project template for test if I deleted it by mistake?

When I was installing some new templates for VS, I deleted built-in test project template by mistake. How can I restore it? ...

Can I programmatically export class diagrams from Visual Studio 2008?

I can export a class diagram as an image from Visual Studio by right-clicking on the surface and choosing "Export Diagram as Image..." Is there a way to do this through command line? I'd like to be able to generate all of my class diagrams as images so I can include it in the .chm I am building w/ Sandcastle. ...

Limitations in Visual Studio 2008 when using limited account privileges

Hi, Unfortunately I lack admin rights on my machine at work. This makes me wonder, what limitations are there when doing development in Visual Studio 2008 Professional Edition? I believe one of these limitations may be in not being able to write to the file system? What else applies? Can I write to "My Documents" (using XP Pro)? Thank...

Pre-compiled over source code - how can I reverse engineer it?

Hi, Is there a way to reverse engineer a pre-compiled website .... if for example someone 8) was silly enough to publish their site to a virtual directory witha local path set to the project folder in VS2008? Help :) ...

"Break when exception is thrown" - doing it one better

There was a question on how to create a macro or keyboard shortcut that will toggle "break when an exception is thrown" without using the GUI. The accepted answer does that. It's great. I assigned the macro to a toolbar button and now I click away at will. The only problem with that approach is that I do not know what is the state of ...

how to add files to the project namespace in visual studio?

hi all, i am having a problem in adding the image files to project namespace. I'm trying to do this like........ Step 1:Going to add existing item menu. Step 2:Then browsing to the file that i want to add and simply adding it. But when I'm trying to read this file by this method------- Assembly myAssembly = Assembly.GetExecutingAsse...

Visual Studio 2008 - How do I setup automated copying of files from source to run/debug/deploy areas?

Hi, Can someone give me a quick pointer to where abouts in VS2008 I would look to automatic the copying of files from a source area to (a) debug, (b) run, and (c) deployment areas? Background - in this case it'll be a base sqlite database with empty tables... Thanks ...

data access approach for using sqlite in C# VS2008 project??

Hi, I've got Sqlite working in a basic sense for my C# project in Visual Studio 2008 via use of the ADO.net Sqlite wrapper from http://sqlite.phxsoftware.com/. Question - For a C# winforms newbie what VS2008 data access layer approach would you recommend I look to use for my winforms app, as I need to write/read data from the sqlite da...

install visual studio 2008 TS when I cant install windows installer?

Hi all, I needed to Add/Remove some things from my Visual Studio 2008 TS installation. I ran the setup but then I got the following error: "A problem has been encountered while loading the setup components. Cancelling setup." This error is handled in the VS2008Readme.htm where they say: To resolve this issue: 1. Go to Windows Instal...

GDR - deploying multiple database targets with one project

I'm using Visual Studio Team System 2008 with GDR Version 9.1.40413.00 and am trying to resolve the issue of deploying a single DB project to multiple databases. For instance if I have a Performance.DB project I would like to deploy databases called Performance, Performance2, Performance3 etc. However it seems if you go to the properti...

Can't create a new Windows Azure Project - "Requested registry access is not allowed "

When I attempt to create a new Cloud Service project, after it prompts me for 'Roles', I get the following error message and VS just stops: "Requested registry access is not allowed " I am running Visual Studio as an administrator, so what gives? I found a couple of sites that mention using "subinacl" to correct the permissions, but I...

Select Individual XML Bound Items in TreeView

I am trying to learn to bind the following simple XML file to a WPF TreeView: <?xml version="1.0" encoding="utf-8" ?> <Profiles> <Customer> <Name>Customer1</Name> <Profile> <Version>1.0</Version> <DisplayText>DisplayText1</DisplayText> </Profile> <Profile> <Version>1.0</Version> <DisplayTex...

Visual Studio IDE Issue

Can someone tell me why my Ctrl+F5 disappeared in Visual Studio 2008? Its not even in the menu. In the Debug menu, All I have is Windows, Start Debugging, Step Into, Step Over, Exceptions, and Toggle Breakpoints. I'm using the professional edition of Visual Studio 2008 and for some reason, this morning, it just vanished. ...

How can I display vertical lines to align tags in Visual Studio?

In demos online, I frequently see people in VS 2008 with vertical lines between the opening and closing tags of their HTML, or between curly braces in C#. This makes it easy to find both tags in a block. I can't figure out how to set that up. Perhaps it's a 3rd party plug-in? Any ideas? ...

Wdproj won't open

I just switched to Windows7 Professional 64 bit from Vista Ultimate 32 bit. I reinstalled all Visual Studio 2008 Professional and applied SP1. All is working well except I can't open a solution that contains a wdproj file. I found this link (and a bunch of others scraped from Microsoft) with a similar problem. They suggested using ca...

arraylist to a table

I have an arraylist called backuplist. this arraylist has structures in it. So what i need to do is transfer this arraylist in a table and then store this table in my SQL database. Anybody with ideas as to what i should do..?? Even if it is a different way to do this please let me know. Thanks ...

Renaming directories in TortoiseSVN - conflicted state

I always have problems renaming a directory in TortoiseSVN. It seems to be taking the correct steps, marking the original directory and directory files for deletion and adding a new directory with the new name. I try to commit and get conflicted state and wound up checking out my whole project again. Is this a known bug? My workaroun...

asp.net error "tt is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application..."

I have an asp.net application of type web site. I keep getting the error below in VS 2008. The site works fine from a browser.I have made every folder using IIS manager an asp.net app. Why does it keep complaining? The site's folder is below a parent folder. I am not familiar with web site apps instead of web application app. Where are t...

VS.Net 2008 Express Edition remote connect to iis 7 (FPSE not installed error)

i have a windows server 2008 setup on my vmware and my main OS is winxp. my problem is, on my winxp, im using vs.net 2008 and when i try to connect to the guest OS (IIS7), im getting "The Web server does not appear to have FrontPage Server Extensions installed." error. i tried installing FrontPage Server Extensions for IIS 7.0 (http:/...

Invalid Class String Error when creating C++ Project in Visual Studio 2008 with Vista x64

After going through this Problem (connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=329986) that was related with registry permissions, now again, Visual Studio comes with another error. I have the same error as this guy, I have searched all the internet and it seems nobody has resolved it yet. When I create a C+...