visual-studio-2008

Visual Studio 2008 - Where is the setting to switch on /off XML auto-comments?

As the title says, my XML auto-comment feature (/// or ''') has stopped working! Spent half an hour trying to find it in Tools/Options/Environment, Googled it, rebooted, etc still no luck :-( Anyone knows where it is please? ...

Shorter Calls/Names Without Using Defines

Hi, Simple question, how do I shorten a call/name without using defines. For example, I have a singleton that I have to call that is within a namespace (I cannot use using namespace blabla because it is not allowed) like so: MyFW::GameRoot::Instance()->DoSomething(); Now I can assign that to a variable, which works somewhat if I am ...

What are the major differences between VB Express 2008 (pro) and 2010?

I sometimes hack from some code for a friend. He paid for VB Studio pro 2008 but won't upgrade to 2010. He's happy enough for me to use VB Express 2008, but I am wondering what I am missing out on by not using 2010. What are the major differences beteen VB EXpress 2010 and VB Express 2008 and VB EXpress 2010 and VB Studio PRo 20...

Reusing existing types in classic XML Web Services

How can I reuse existing class library types in a generated web service proxy, in Visual Studio 2008 "old-school" XML Web Service reference? Thx ...

Xceed Zip for .NET Compact Framework v2.1 on CF2

I have been using Xceed Zip for .NET Compact Framework v2.1 for years with VS 2003. On Windows Mobile 6.1 devices xceed.zip gives a System.TypeLoadException. Trying the same component with VS2008 again results in the below exception. It seems as if it is trying to work with CF1 on a CF2 device. System.TypeLoadException: File or assembl...

VS 2008 The debugging tool doesn't work

Hi, I have problem with Visual Studio Team System 2008. The compiler suddenly stopped watching for my breatpoints, no matter where I place them. I compile my project by F5 button. How to turn it on again ? ...

Debugging a Multithreaded C# - C++/CLI - C++ Solution in Visual Studio 2008: What are these threads?

I've inherited a project consisting of three levels of code. The lowest layer is native C++ that interacts with hardware. This is mature, stable and well-tested. The intermediate level code is C++/CLI, which interacts with top-level C# code that contains the UI elements and some additional functionality. This C# code is incomplete and wa...

Why do deleted data connections come back in Visual Studio?

In Visual Studio 2008, I have database connections in the Server Explorer window that point to SQL Server databases installed locally on my PC. When I delete one of the connections in goes, but next time I start Visual Studio is is back again. Does anyone know how to remove them properly? It isn't a big deal, but it is a bit annoying....

How to determine method parameter types during runtime in C/C++ under .NET ?

Hi all, in C# it is possible by using reflection to determine parameter types of some method as well as class members (method, properies..). I suppose that this is possible because of IL and .NET technology, right ? If so is it possible to use reflection or some similar technique for C/C++ writen under Visual studio 2005/2008/2010 .NET...

Compiling errors

Im trying to compile but im getting these errors: 1>.\item.cpp(123) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) 1>.\commands.cpp(1372) : error C2057: expected constant expression 1>.\commands.cpp(1372) : error C2466: cannot allocate an array of constant size 0 1>.\commands.cpp(1372) : error C2...

VS2008 - CrystalDecisions.Shared.XmlSerializers

Hi, I upgraded web project from VS2005 to VS2008 and CR from 10.2 to 10.5. After that when i run the report i get this error: BindingFailure was detected Message: The assembly with display name 'CrystalDecisions.Shared.XmlSerializers' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. The cause of...

bass lib not linking, all other work perfect.....

Hello all, I'm having a wierd problem. i'm developping a nice game with openGL on MFC. i need to use threads for multi sound. so i am trying to use the BASS lib for that. For a reason that is beyond my comprihention, i can not get the bass.lib to link. all other libs (openGL libs and so on) link perfect. i'v added "#include "base.h" ...

() => construct

I am in the process of converting a project from visual studio 2005 to visual studio 2008 and came up on the above construct. using Castle.Core.Resource; using Castle.Windsor; using Castle.Windsor.Configuration.Interpreters; using CommonServiceLocator.WindsorAdapter; using Microsoft.Practices.ServiceLocation; namespace MyClass.Busines...

How do I debug an process as "elevated" with Visual Studio 2008 Sp1 on Windows 7 64-Bit?

I have an executable which has to be elevated to succeed (but the debug build has no manifest). Now, I want to debug it with Visual Studio 2008 and actually it fails due to not beeing elevated. I don't want to run VS as Administrator. Is there an option in VS or does anybody know another (easy) solution? ...

How do I debug a .net application as a specific user?

I'm creating a WinForms application in Visual Studio 2008. I want to run my application in the debugger and I want the application to run as a user other than the user running Visual Studio. What is the best way to do this? ...

Any issues working with TFS 2010 and where company has vs2008 and office 2003

I really wanted to know if people have found any compatibility issues working with TFS 2010 and projects in vs2008 in terms of source control, daily build, continuous integration, work item tracking, etc. I understand that we can connect to TFS 2010 from VS2008. We are planning to onboard to TFS, but really need to make a choice between...

Visual studio 2008 and sourcesafe 2005 integration

I understand the labeling and branching of vss, but how do i implement it with visual studio 2008. for example i am labeling all the files in my project as "version 1.0" and then (after that changes checkouts and check ins made) i want to bring version 1.0 back to visual studio. how do i do that from visual studio? or do i have to do it ...

Can I install Oracle developer tools and use Oracle 10g?

I just installed the latest version of Oracle developer tools and couldn't install it in my 10g home directory because you can only do that if your home is 11g. Now when I'm in VS2008, create a new connection and test it. It doesn't connect because I'm assuming it can't find my tsnames.ora since it's located under my 10g home. Any way I...

Known Issues installing Visual Studio 6 with VS 2005 and 2008 already installed

Has anyone encountered any errors when installing Visual Studio 6 on a machine which already has 2005 and 2008 installed? ...

cannot use vs2008 debugger for IIS 7.5n with Windows 7

I am following the instructions exactly from the IIS site http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-7/ But when I do the "2. In Visual Studio, use the Build \ Publish option to publish the contents of your Web application to an IIS 7 Web site. " step I get the following error. ------ Publish started: Projec...