visual-studio-2008

VS2008 Missing C/C++ Header Files

So, I'm working on some network programming in C, and it would seem that I am missing a bunch of standard C/C++ header files. For example, sys/socket.h is not there. A few otheres are missing too like netdb.h, and unistd.h. Is there a pack I need to install to get these on windows? Thanks ...

How to stop stepping into .NET source code using TestDriven.NET?

I just started using TestDriven.NET to debug on my tests, here is my setup TestDriven.NET 2.17 VS 2008 SP1 Windows XP The problem I run into is on exception it keeps stepping into the .NET Framework source code. I checked Tools > Options > Debugging and "Enable .NET Framework source stepping" is not checked and "Enable Just My Code...

Unable to delete controls inside toolstripcontainer

Hi, I met strange issue during designing winform. I placed a few controls inside toolstripcontainer and now I cannot delete them. It's also impossible to delete whole Toolstripcontainer. I'm using Visual Studio 2008 SP1 plus some extra patches. Is it a bug in Visual Studio? Is there any workaround? Or I'm lacking of knowledge of VS? Best...

VS 2008 Issue ->>Unable to start program

Ok I have a web application in 2005,. net 2.0 , I converted it to 2008 .net 3.5. when i attempt to run it in VS 2008 either debug or release I get the above mentioned error: Unable to start program http:\localhost\MyWebApp no other message just this. I can access my program directly thru iis and it runs. It runs on another dev m...

Post Build exited with code 1

I have project with a post build event: copy $(ProjectDir)DbVerse\Lunaverse.DbVerse.*.exe $(TargetDir) I works fine every time on my machine. I have a new developer who always gets the "exited with code 1" error. I had her run the same command in at a DOS prompt, and it worked fine. What could be causing this? Is there any way to...

Installer for .NET 2.0 application for Windows 98

How can an automatic installer for .NET 2.0 application be created for Windows 98? I mean for application and also for .NET 2.0 if missing. I tried to do it by creating a setup project for Visual Studio 2008, but I didn't succeed. I installed IE6 SP1 manually, but Installer still crashed. Windows Installer 2.0 is installed. It's impos...

Why does Microsoft Visual C# 2008 Express Edition debugger randomly exit?

I am writing a multi-threaded Windows application in Microsoft Visual C# 2008 Express Edition. Recently, the debugger has been acting strangely. While I am Stepping Over lines of code using the F10, sometimes it will interpret my Step Over (F10) command just like a Continue command (F5) and then the program will resume running and the ...

ViewState, FormView, and Controls

How do you (in Visual Studio) compare the controls in the different templates in a formview so you can track down a ViewState error? ...

Crystal Reports for VS 2008 - "The user function manager DLL (ufmanager.dll) could not be found."

StackOverflow, you're my only hope! I am unfortunate enough to have inherited an ASP.NET 3.5 application roughly 3/4 in development. This project uses Crystal Reports Basic for VS 2008 to generate a PDF file from a data source. Pretty straightforward. Anyway, this project compiles and runs fine on my development machine (VS 2008), but ...

Equivalent msbuild command for Publish from VS2008

Hi, any idea which is the command for publish in msbuild corresponding to the one in VS2008? What I want is the resulting output to be the same, without that _PublishedWebSites subdirectory. Is this achievable from command line or I should use a build file? Thanks. ...

VS2008 only debug one page cycle

Hi guys, would really appreciate some thoughts on the following issue. When I attached to the w3wp.exe process. It start to load the symbols then the debugger stops before ever hitting a breakpoint. If I then restart the w3wp process and refresh “Attach to process” I can debug but only for one page cycle. I have reinstalled IIS7 on...

Workspace problem once the user name has been changed in TFS Source Control

For some reason the system admin changed my user name from XxXx to XxXx1 in the source control system. Then the problems started. I had to delete all local files and re-download them from source control just to open the project. And after I had rebooted the computer, I can't do much to my files. Whenever I try to undo a checkout I get t...

How do I get Visual Studio's "Publish Website" to 1. not overwrite web.config & 2. promote copies of dlls that were referenced from my GAC

I started using a a library which I reference from the GAC during development. I want the dll included in the project bin directory when I promote it to the webserver. I also need my local and the server web.config to be different. Before I started using this library I really enjoyed using the publish website feature of VS. Now it just s...

Is there a way to expand the code window in VS.NET to maximum size?

In Eclipse you can double-click on the tab of the code window and expand it to full size, e.g. if you will be working on just the code awhile and want maximum size on a smaller monitor, etc. Is there a way to expand the code window in Visual Studio.NET in one click (otherwise I have to collapse Toolbox, Solution Explorer, Properties, et...

Unable to debug WCF service message

I've got a Visual Studio 2008 solution with a WCF service, and a client. When I run my client, and call a method from my service I get a message saying "Unable to automatically debug 'Home.Service'. The remote procedure could not be debugged. This usually indicates that debugging has not been enabled on the server." I've googled around...

Is it possible to have different members in a class document have different colours?

Hi, I am using visual studio 2008 professional and was wondering, how can I have different colours for method calls within class methods, and for properties/fields? This would be good as it would give me a quick visual overview of what my class has too much of (e.g. 20 fields and 2 methods - which will give me some interesting informati...

Question How to invalidate/refresh the VS IDE designer for C# ?

I have CustomForm inherited from Form which implements a boolean property named Prop. The forms I'll be using will inherit from CustomForm. This property will do some painting and changes (if it's enabled) to the form. However, this is not working as it should, the VS IDE designed is not being refresh to show the changes. But if I press ...

Pros and Cons of developing .Net Solutions in Vista instead of XP

i am changing my hardware which currently runs Win XP and i am wondering if i should also upgrade my OS to vista. so my question is, what are the most common issues/advantages you find while developing in VS2008 on Vista. with out taking into consideration WPF. should i keep XP where i have no Problems? or what version of vista best fit...

Intellisense support for JQuery in vs 2008 isn't working

I've followed every steps in here, but still, the Intellisense for JQuery simply isn't working, any ideas? ...

VS 2008 Team System crash on opening solution

VS 2008 crashes whilst opening a solution file when it reaches the stage of "Loading project files 'Solution Items'". Is there any way of either stopping the virtual folder of solution items from opening or a workaround for this? The solution is coming from TFS 2005 and source control. Thanks ...