visual-studio-2005

Visual Studio - 'Browse UDDI Servers' -> 404 ?

Hi - I have a ASP.Net application which implements a web service. Within the ASP.Net application there's a test script which consumes the web service and it all works etc. I have built a .NET console application and want to 'Add a Web Reference' so that the console app can consume the web service provided by the ASP.NET application. Whe...

Automate VS2005 Publish Web Application Project

I want to automate publishing a VS2005 ASP.NET Web Application Project to a disk path from the command line as part of my build process (i.e. the equivalent of selecting Build/Publish from the IDE). I've tried Microsoft's Web Deployment Project, and it seems half-baked to me: it deploys files that are not part of the Web Application pro...

VS2005 Class Library containing c code?

Can a Class Library be built containing c code? If so, how? ...

VS2005 Error publishing application

Hi, I have a windows application that I am publishing to server as click once in VS 2005. It worked fine while I was dev it. Then I opened the project recently and made changes and tried to publish again but I get this error. Error 3 Could not find required file 'setup.bin' in 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE...

newline options for braces for properties (C# VS 2005)

Simple really - in Tools, Options, Text Editor, C#, New Lines, New Line Options for braces, there is not an option for properties... Or am I going mad and just can't find it? EDIT: I am using an add-in that is generating the code and reportedly uses the VS settings.... but doesn't seem to, so I've given up on this issue, it's not that...

any function for listing out all the files of a specified type in a folder in VB6

Hi ,I would like to know if there are some in built functions for the scenario that is described below : The input is the path of a parent folder. Wat the function must do is , it should list out all the .zip files inside that parent folder.The parent folder can contain any number of subfolders, and the same applies to the subfolders to...

VisualStudio2005 very slow in debugging.

I have 1GB ram in my pc. In my solution totally 48 projects are there. But I am debugging only one project. Each project is depending on other one. While debugging the project why visual studio is taking much memory usage. Also system is getting hanged. Can any one please let me know if you have any suggestion to solve this debugging ...

vshost32.exe crash when calling unmanaged DLL

Hi all, I'm using a VS 2005 app to interface against an unmanaged (Fortran) DLL. When I run the compiled executable straight from the command line, everything is fine - the DLL can be accessed, and I can work with the functions in the DLL. Unfortunately, when I launch the app from VS 2005, I get a popup stating "vshost32.exe has stoppe...

Report server - passing mutliple parameters to a linked report

In report server - I link to another report from my main report that has about 5 parameters. I pass the parameters to my linked report all of the parameters work except when I select more than 1 customer. What do I need to do to get this to work? ...

Visual studio 2005: List<T>.First() List<T>.Last() methods in C#?

Hello, I used List<T>.First() as well as List<T>.Last() in my VS 2008 C# project, but when I've downgraded to 2005 I got errors like this: 'System.Collections.Generic.List' does not contain a definition for 'First' As far as I understand, if still there are Find() and FindLast() methods there MUST be a very very simple way to get iter...

C/C++ codehighlighter in visual studio 2005

Hi there I just starting using VS2005 and I wish to have code highlighting in C/C++. The VS menu Tools->Options->TextEditor->C/C++ is very poor. I come from PHP and there the IDE's are very friendly when is about highlighting. I didn't expect that Visual Studio to be so poor at this kind of options. Can you recommend me a free tool/plu...

Migrate from vs 2005 to vs 2008

i work at a large company and we haven't distributed dotnet runtimes 3.0+ out to the desktops so we are all using vs 2005 and c# 2.0 is there any big benefit of moving to vs 2008 and still targeting 2.0 (since the runtime deployment will not be there soon) for the developers. also, if the suggestion is to do the upgrade to vs 2008, are...

Auto Pointer constructor in VC2008

I have an auto pointer implementation: template <typename T, bool Arr = false> class GAutoPtr { T *Ptr; public: typedef GAutoPtr<T, Arr> &AutoPtrRef; GAutoPtr(T *ptr = 0) { Ptr = ptr; } GAutoPtr(AutoPtrRef p) { Ptr = p.Release(); } ~GAutoPtr() { Empty(); } operator T*() { retur...

What is the bare minimum required to get NUnit tests to integrate with Visual Studio regular build?

Hi, I'm aware there are dozens of questions about this and blog after blog post but can someone put the simplest answer (or link to the existing question if there is an appropriate answer) to get the following working on Visual Studio 2005: NUnit tests execute on Visual Studio regular build (e.g. the absolute minimum changes to existi...

How can I maintain a VS 2005 solution in Visual Studio 2008?

I've been tasked with maintaining a Visual Studio 2005 solution but I only have access to Visual Studio 2008. Whenever I try to open the old solution in Visual Studio 2008 then the IDE is keen on converting the solution to the new version. What exactly happens during this conversion and is there a way to stop it (since I need to delive...

Visual Studio - Copying files into the application folder at compile time

If I have some files I want to copy from my project into the bin\debug\ folder on compilation then it seems I have to put them into the root of the project - putting them into a subfolder seems to copy them into the bin\debug\ folder in the same structure they're stored in. Is there any way to avoid this? === Just to be clear. If I h...

BIDS DTS_E_PRODUCTLEVELTOLOW

Group, I have Visual Studio (VS) 2005 and 2008 installed on my local machine. I am creating SSIS packages using BI Studio and the package will build and run fine on my local machine. However, as soon as I move it to the server I get the error: Error SSIS Error Code DTS_E_PRODUCTLEVELTOLOW. The product level insufficient for component......

Visual Studio Remove "Run On" Database References

In Visual Studio, when I create a new script containing a stored procedure, my usual course to run it on our databases is to right click and select "Run On". In the database references window, I add/select what I need and run. We've just switched database servers in our development environment and a number of the references here are no...

visual studio team suite : How to web test programmatically?

Good day, I'm new to Visual Studio 2005 Team Suite web testing. Here's the action i'm trying to achieve. On a webpage, I have a dropdownlist that is populated from a simple database table. In my tests, I want to click on each items of the dynamically populated dropdownlist, and after the postback, check if a label is visible on the pag...

What to look out for when moving from Visual Studio 2005 to 2008?

We're planning on updating our developers from Visual Studio 2005 to 2008. Are there any common "gotchas" to look out for during this move? My major concern at the moment is that we use WSE 3.0 quite a bit (mostly to consume external .asmx web services, but we also host a few ourselves). Will that be an issue since WSE 3.0 has been ...