visual-studio-2008

What does the JScript IntelliSense error "Object expected @ 0:0" mean when compiling?

What does the JScript IntelliSense error "Object expected @ 0:0" mean when compiling with Visual Studio 2008? Error updating JScript IntelliSense: ascript.js: Object expected @ 0:0 Double-clicking the error drops the cursor into the aspx that has the reference to the script file. The script file is listed in the aspx in a script mana...

ASP.NET MVC Debugging: The program 'WebDev.WebServer.EXE: Managed' has exited with code 0

I have an ASP.NET MVC application debugging from Visual Studio 2008, sp1. When I F5 in VS to start debugging the site, it runs fine for a few moments. Sometimes 10 seconds. Sometimes 10 minutes. But eventually the debugger exits, with this message: The program 'WebDev.WebServer.EXE: Managed' has exited with code 0 The web app is ...

Visual Studio Question: How to go to a specific file path and line number programmatically?

In the Visual Studio output window, you can double click a line that contains a file path and line number and it automatically takes you to that location. In my program, I need to mimic this behavior and be able to click something (a button for example) and do go to a specific file and line number that I tell it to go to. Any help/sugg...

Silverlight project fails to compile

I have a Silverlight 3 project in VS2008. Today, for whatever reason, I get an error when compiling. Configuration system failed to initialize It reports the error on Line 1, Column 1 for every .xaml file in the project. I did a repair on VS2008, reinstalled all the Silverlight 3 bits (e.g. SDK, VS2008 tools and the Controls Toolkit)...

Is there any provision in VS 2008 to enter symbol file path as WinDbg?

Is there any provision in VS 2008 to enter symbol file path as WinDbg? Because the project which i want to debug contains lots and lots of dlls and that too the heirarchy of the dll folders is very deep. Its a difficult task to create hierarchy of the directories every time. ...

Tools needed to get started with Silverlight

What tools are required to start silverlight development? Is VS2008 adequate? Background: I'm thinking of dipping my toes into silverlight. I'm tired of the flash dev tools and process, specifically the PITA communicating with a web service. ...

Visual Studio 2010: Location drop down when creating a new project

Hello guys, VS2008 has a really nice feature when creating a new project, it shows you the folder structure: However this either is turned off by default in VS2010 or it is completely missing: If this feature exists, does anyone know how to turn it on? ...

What's the VS shortcut for type hierarchy?

What's the equivalent of eclipse's Ctrl+T for Visual Studio? Preferably no third party tools. ...

How to disable visual "dots" in Visual Studio

How can i can disable "dots" in Visual Studio 2008? You can see it in this screenshot: Thanks for answers. ...

Application deployment problem

Hello Everyone, I developed an application using VS 2008 and MS Access2007 and it works fine. Now have to make a setup of it(this is my first project). I gone through many tutorials about deployment, I tried VS 2008 setup and deployment, but after installation it only runs in my machine and not in others..sometimes it shows error(The 'M...

asp.net and Visual studio root directory question

I am seeing something very odd and thought I would ask the Stackoverflow community if they knew the answer. I have an asp.net project that runs fine in one environment, but couldn't figure out what happened to the styles in another environment. In the first environment (Windows 2008 Server), the following link worked fine: <link href=...

The project type is not supported by this installation

Whenever I try to open a project (csproj) that's downloaded from the internet, most of the times, I get the "The project type is not supported by this installation" It appears that my Visual Studio installation is not corrupted (I can pretty much do everything with it other than open these csproj files) What may be causing this? ...

VS 2008 - how can I run a "pre" source control checkin validation

I would like to run a script automatically on a pre source-control checkin but see no option to do. Can anyone tell me if this is possible and, if so, how? When I say script; I have a executable that validates the a solution file and returns an Environment.Exit code of 0 or 1 for success or fail. It would be really cool if it would then...

new vs2008 user

Hello, I am trying to build a release version of my project. Our prof made us create a static library which i built using debug version. then i made a release version of that static library using /mt as my c runtime now in my test application (release version) I use the same runtime option and add that static library and also ignore...

Add a WCF Web Service Without Updating Web.config

I am attempting to add a WCF web service to my project and each time I add a new web service it adds a new Service Behavior, new Service configuration, and changes the formatting of my web.config. Is it possible to add a new WCF Web service (.svc extension) to my project without it changing my web.config file? I am willing to add the in...

When debugging in VS 2008 why does the debugger land on a second return statement?

When debugging the following console program: class Program { static void Main(string[] args) { Console.WriteLine(DoIt(false)); Console.WriteLine(DoIt(true)); } private static Boolean DoIt(Boolean abort) { try { throw new InvalidOperationException(); } catch(Exception ex)...

WCF: Use a Message Contract to make a Soap Header

I need to add a soap header to my web service. I plan to use this to validate my clients (Windows Mobile Devices). I found this link: http://www.c-sharpcorner.com/UploadFile/rog_21/soapheaders05172007120046PM/soapheaders.aspx Which is exactly what I want to do. But it is not written for WCF. I have done some research and I seem to...

Custom HTMLControl derived from HtmlImage control not visible in VS2008 toolbox

I have a custom control deriving from HtmlImage control which I cant get to show up on toolbox, it says "There are no components in '...\bin\Debug\ImageCustomControl.dll' that can be placed on the toolbox.". Here is the code for the control: namespace ImageCustomControl { public class ImageHtmlControl : HtmlImage { p...

Can Visual Studio manage function prototypes for me in C++ header files?

In C++, the common practice is to declare functions in header files and define them in cpp files. This leads to always having two copies of every function's prototype. Then whenever I want to change a function's name/return value/parameter, I have to manually change it in both files. This seems unnecessarily tedious and there must be lot...

Resharper doesn't play well with XAML?

I've been noticing a pattern with ReSharper (both 4.5 and 5). Very often (almost always) when I have solution-wide analysis turned on, and WPF code in my solution, ReSharper will mark a number of the .xaml.cs files as being broken. When I navigate to the file, sometimes it magically updates and displays no errors, and other times I hav...