visual-studio-2008

Visual Studio debug menu invisible

I feel a little stupid asking this, but the "Debug"-menu in my Visual Studio installation has disappeared. It supposed to be between the "Build" and "Tools" menu, but it is simply not there. Restarting VS doesn't help. Also tried looking for a way to customize the menus, but no success. Any ideas where it went, and how I can get it back...

How do I automate build and testing for an asp.net ajax application in Team Foundation Server?

Hi all, Q. We're looking for a way to automate build process, run test cases and store build results. A problem could be raise as the application on which we want to setup this process is an ajax application -- a one page operation application highly rely on JavaScript. The QA team is using QTP to automate their testing. Q...

Automatize Publish of Application Web (VS2008)

Hi all, I have a solution sln and several projects (vbproj, csproj). I have web project, and I need automatize Publish (like menu option in VS2008). Can I replicate VS2008 "Publish Web Site" from command line ?? any help about it, please ? Thanks in advanced. Greetings. ...

Getting Web Site Name from Web Project Setup

I'm creating a setup project for WCF net-tcp service. One thing I came across is that I need to change "Web Site->Manage Application->Advanced settings->Enabled Protocols". It can be also done using command line: %windir%\system32\inetsrv\appcmd.exe set app "[Web Site Name]/[Applicaiton Name]" /enabledProtocols:http,net.tcp The proble...

Permanent node in DSL explorer

In my custom DSL tool I want a node in its Explorer which cannot be removed. Other than that, I want it to be like a regular node. Basically what I want is a node like the Xml Serialization Behavior in the DSL Explorer: Through using Reflector on the XmlSerializationDefinitionSerializer class in the Microsoft.VisualStudio.Modeling.Sdk...

got error The variable <variable name> is either undeclared or was never assigned

Hi, i implement a big form in winforms c# with visual studio 2008. after working fine for a big portion of the dialog it start showing a lot of error masseges as in the title when i try to open the designer "The variable is either undeclared or was never assigned" i got this for a lot of controls that worked fine before. i think it h...

What DOCTYPE is recommended for my HTML output for IE7/IE8/FF3+? and how can I update my HTML validation in Visual Studio to reflect that change?

I noticed that Visual Studio defaults the DOCTYPE to XHTML 1.0 Transitional. This seems okay, but I think that's more of a standard for "generation 6" browsers. We're now in gen 7 and 8 browsers, and I'm wondering what DOCTYPE I should be putting in my HTML. On a related note: Is there a way to add other DOCTYPEs to the HTML validation ...

C# class does not implement inherited abstract member

Hi, I am sorry if I am asking something stupid but I am completely a newbie in C# and ASP.NET. I am having an error in my code and I don't understand it. I am working on Visual Studio 2008. In this line of code: public class SQLFAQProvider : DBFAQProvider I am getting this error: Moby.Commerce.DataAccess.FAQ.SQLFAQProvider'does ...

Deploy/Publish VS 2008 Web Application

Hello, What is the best method to deploy an VS 2008 Web Application? My web application contains webservice references, libraries etc and i have to publish this to my production server which has iis 6.0 on it. Should i use VS Web Deployment method? Should i go with pre compilation and publsih the website? I am confused as you can see :...

Design Page cannot be viewed!!

In Visual Studio 2008, while editing the web page, it is displaying some error and I cannot design my page in design view, I can do only in Source code. It is showing the following error in design view... Master Page Error 'The Page Contains Markup that is not valid when attached to a master page Correct the problem in Code View' Wat...

How to check my VS2008 service pack version?

Hi folks: How can i know what's the service pack version of VS2008? I merely know the version # is 9.0.30729.1 SP. And what is the newest SP version? Thanks. ...

How can I define in Visual Studio a new constant?

Hello, I need to define a new constant in Visual Studio. I explain: I have a custom Compile Configuration (sorry I'm not sure the name is exact, I have a localized version of VS), and I need to define another constant besides the TRACE and DEBUG ones. How can I do it? ...

VS2008 / C# Close all designers when project is compiled?

The C# designers in VS2008 have some issues, e.g. they sometimes 'forget' a control when the project is compiled. The designer especially tends to forget usercontrols. I googled a while back to work around this - found this hint: Close all designers before compiling the project. Does this really help? And is there a way to to it autom...

Visual Studio installer deleting folders when upgrading a program from an older version

Hello, I'm currently finishing up a major upgrade of our software and have come across a very annoying problem with the installer. We use the Visual Studio 2008 installer and have made some changes to the installer project as part of this upgrade. In the old version it created some files and folders inside the users application data. ...

vb.net combobox different style to C# combobox

When creating a combobox on the design surface of a VB.NET app in VS 2008 it is white and when creating it in C# it is gray. How do I create a combobox in C# that looks just like the VB.NET one? (Style wise) ...

Seeing named datacolumns in Visual Studio debugger?

When I'm debugging a datatable, say in the watch window, I'll often choose the Rows property, and then a particular index-- 0 or 1, often times. When I do that, I see an ItemArray list with numeric indexing, representing the columns for the row. But the columns have names, and I'd like to see them. So instead of myTable.Rows[0][6] ....

Config file (App.config) does not update on new installation

I am creating setup of my project using Visula Studio 2008. I am facing problem in setup installation. If I uninstall old setup (application) and install the new one then config file (App.config) updates the attributes (surely it is new file) of config file but if I install new setup without uninstalling the old one then config file do...

How do I remove fields from a Crystal Report in VS?

I've tried to remove these fields from my report for an hour and I could not figure it out. Please see this picture: http://i261.photobucket.com/albums/ii43/Accurim/receipt.jpg?t=1261074404 I want to remove the fields in the gray area, but I cannot click on them. Does anyone know how to remove those fields? Thanks! ...

Is there a shortcut for getting from Expression to Value in QuickWatch

Usually, when I get an expression into the top (Expression:) part of the QuickWatch window (by typing or selecting a previously used expression) and press Enter (or click Reevaluate), the expression is evaluated, and the focus moves into the main (Name/Value/Type) part. Sometimes it does not happen, and I have to waste a mouse click to g...

C# app - How to move all resources out of the main assembly

For my C# apps I need to have default/neutral resources placed in a sattelight assembly, such that the output of a build looks like: MyApp.exe -AND- MyApp.resources.dll <- containing default/neutral resources How can I accomplish this using VS2008 and .NET runtime 2.0 or greater? Secondary question: How to keep the resources in the exe, ...