visual-studio-2008

Accessing an XML embeded resource file throws error in Release mode but not Debug mode.

.NET 3.5 Visual Studio 2008 Team Edition I have an XML file that I've added to an assembly via the Resources tab of the project's properties; and have marked the Access Modifier as public. While running in debug mode, there are no problems referencing the assembly and the embedded resource in another project, i.e., XElement errorMap =...

Why did my Visual Studio 2008 stop recognizing .aspx and .css files?

I formatted and reinstalled my system today. I reinstalled VS 2008, but all my .aspx pages are no longer syntax highlighted (the text editor displays them in plain black font color) and IntelliSense isn't working on these pages either. The font color issue appears for .css files, too. And I also cannot see aspx pages in Design Mode, onl...

Project (bin) folder path at compile time?

Is there a way to find out the project path at compile time? I want to create a unit test that tests if the configurartion in the default web.config (the one in the project folder). Mainly to reduce human error. I cannot rely on assembly locations at runtime (for the test), so I need to know where the project folder is to access web.c...

What is the best Version Control for Visual Studio 2008 SP1?

I plan on starting a small team for programming and would like to see what experts think about the best Source Control and Intergration with Visual Studio (most current version) is. We have VS Pro 3.5 SP1. (Developing ASP.Net MVC Web APP) Thanks, ...

Can I use a Visual Studio 6 compiled C++ static library in Visual Studio 2008?

Is it possible to use a C++ static library (.lib) compiled using Visual Studio 6 in Visual Studio 2008? ...

What is the link_.exe file?

I am having trouble with my linker, I asked a question but have not got an exact solution. However its a problem with a linker called LINK_.exe Does anybody know why this file is different or why it is called just after LINK.exe during my compile? I am using Visual Studio 2008 SP1 on Windows XP SP3. For a C++ project. Further to tha...

Hide designer properties from code file editor members dropdown

Is there any way to hide the designer properties from the code file members drop-down list? The members list is the drop-down list on the top right hand side when editing a code file. It contains members defined in the code file itself, which is very useful, and those defined in the designer file, which is not useful at all. The designer...

C# How to exclude generated code from VS2008 code metrics?

See title. I've been digging around but i found no solution. DebuggerHidden and DebuggerNonUserCode seem to fail. ...

Which Visual Studio Plugins have caused you more pain? Killed your IDE??

I recently had to reinstall VS 2008 as it kept crashing (I suspect due to some plugin). I was just wondering if there are any "Use at your own risk" visual studio plugins. Has anyone seen a dialog box popup asking for error details called JIRA when using Visual Studio?? My IDE started crashing once I started getting those dialogs. This ...

PerfConsole and Visual Studio 2008 Team System Profiler

Does the PerfConsole work with the output from the VS 2008 Team System Profiler output? (.vsp files) When I try and run 'load' on the output file I get an error message: "Couldn't match to either expected sampled or instrumented profile schema, defaulting to sampled" ...

In Visual Studio (2008) is there a way to have a custom dependent file on another custom file?

Instead of a *.cs code behind or beside I'd like to have a *.js file. I'm developing a MVC application an have no need for a code beside because I have controllers, but in certain cases it'd be nice to have a JavaScript code beside or some way to associate the file to the page it's being used on. I suppose I could just name them simila...

How to remove, reinstall and/or find info about Visual Studio 2008 hotfixes?

Another developer and I are experiencing different behavior in native C++ executables built with Microsoft Visual Studio 2008, Version 9.0.30729.1 SP on different machines. We are statically linking to the Standard Library so we don't think it's a DLL version issue. We have ruled out differences in our source code and build settings. ...

How do I upgrade a resx file to be compatible with .NET 2.0?

I have a .NET 1.0 program that I've had to use a disassembler on in order to recover the source code. Once I had the code files using File Disassembler I used VS2008 to upgrade it. I've managed to get the application to the point where it is able to compile...but when I run it I get an error message saying Fatal error, exiting: Coul...

Circular file references not allowed

Hi, I am having a problem in building my solution in VS2008. Normally, it compiles fine in the environment. Sometimes, it fails with: /xxx_WEB/secure/CMSManagedTargetPage.aspx(1): error ASPPARSE: Circular file references are not allowed. I rebuild and it works fine. Now, however, I am in the middle of setting up a CruiseControl.NET ...

multiple instances of named argument in list

Hi, I have a problem executing oracle procedures from Visual Studio 2008's Server Explorer, when i try to execute a procedure all the input parameters are doubled! it only happend to me in one workstation, i've tried to reinstall oracle products, but it doesn't helped me... i get the following error message when i try execute the pro...

Compact Framework: Failed to use InputPanel in a control

I developed a control that uses the PDA's InputPanel to interact with the user. The relevant part of the code is below: namespace MyNamespace { // ... using Microsoft.WindowsCE.Forms; // ... public class MyControl { // ... public InputPanel MyPanel { get; set; } // ... } } When...

How to Enforce C++ compiler to use specific CRT version?

I am using VS2008 for developing a COM dll which by default uses CRT version 9 but I am using TSF (Text service framework) that is not compatible with the new CRT. I think the solution is to use the compatible one so how can I specify the CRT version? ...

step through debugging for classic asp with VS2008

Hello, I am coming from the django world to maintain a fairly complicated classic asp site. Unfortunately the site is riddled with uncommented, copy/pasted, spaghetti code spread out over several hundred files hidden away in a few dozen directories. To be curt, it's a bit of a nightmare ;) Anyway, I am most familiar with eclipse, and ...

How to architect this ASP.NET n-tier solution?

I have a problem trying to layout my VS solution and I would like some suggestions, please. Currently, my solution layout looks like the following project:- Foo.Models Foo.Repositories Foo.Services Foo.Web (an ASP.NET MVC application) my website (Foo.Web) calls various methods on the Foo.Services namespace. The idea here is that the ...

How do I add a reference to the source code of an assembly reference?

Hi, I have a project that has a reference to an assembly (.dll). I have the source code of that assembly, so I would like to see the code while navigating the code, instead of getting the object explorer window. How can I achieve this? (I am thinking about something like include path, but I cant find it) Thanks ...