visual-studio-2005

How to set platform target for a ASP.NET "web site" project

I keep running into all sorts of nuances between the "web site project" versus "web application project" - here is the latest for me: I've inherited a Visual Studio 2005 solution with several class library projects (a DAL.dll, a Biz.dll, etc.) but this is all "fronted" by a web site project rather than a web app project. While the web ...

C# : Unit testing without using 3rd party framework?

Should unit testing be run in debug or release mode? I am using Visual Studio Standard Edition 2005 which does not come with any unit testing framework. Since I also do not want to make use of any other 3rd party unit testing framework, I used Debug.Assert to perform the actual test inside all unit test methods. However, Debug.Assert on...

VS2005 How to Search for breakpoints

How can I search for breakpoints in VS2005 or go to next breakpoint? I need this feature when I add a bunch of breakpoints to unfamiliar code, say on all bits of dodgy code connected with some some feature and I want to make sure I have broken on all of them. Kind of limited code coverage test. ...

Crystal Report 11 and C# 2005 Export to PDF issue (Rendering issue, random pages)

I'm working on rewriting a vb6 application in .NET that exports our Crystal Reports to Pdfs on a daily basis. I'm running into an issue when I export to PDF, the report renders properly (2 pages) in a Crystal Report Viewer, but when I export it (either through the viewer or programatically, it turns into a 11 page document, when it shoul...

RDLC report table merge cells issue

Hi, I have a rdlc report in which I have a table with 6 columns. Of these 6 columns, the visiblity of the 2nd and 4th column are toggled. i.e. if 2nd column is visible, 4th is not visible and vice versa. The report displayed properly with these settings. Then a new row was added to the table. All the cells in this row were merged and a...

Windows 7 visual studio 2005 compatibility

I'm now working on RC windows7 and installed visualstudio2008-Professional edition. But I need to work with Java programs and so I needed to work with visualstudio2005. I installed visual studio 2005 -sp1 (vs80sp1-KB926747) but I have the following problem: "The upgrade patch cannot be installed by the Windows Installer service becau...

SSE2 - "The system cannot execute the specified program"

I recently developed a Visual C++ console application which uses inline SSE2 instructions. It works fine on my computer, but when I tried it on another, it returns the following error: The system cannot execute the specified program Note that the program worked on the other computer before introducing the SSE2 code. Any suggestions? ...

Visual Studio 2005 Can't find System assemblies

I have Visual Studio 2008 installed on my machine, but I haven't used it. I did open a dummy project and make sure that version 2.0 is the .NET Framework version I am using, since it is the one that suddenly doesn't work for me. Here's the warning message I get when I am trying to open an existing Windows 2005 project. "Namespace or t...

NHibernate unable to load Proxy Factory

I'm so stuck with trying to get a simple NHibernate app running. I'm doing "Getting started with NHibernate" step by step. First, I got a invalid property something error (managed to fix that). Now, I get an exception: Unable to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle' during configuration...

Static library links in wxWidgets statically, but apps using my lib still require wxwidgets

Hopefully someone can help me out here. I'm using Visual Studio 2005 and creating a static library that links in wxWidgets statically. I have: compiled wxWidgets statically according to their guide included the lib directory in my "Additional Library Directories" property added all of the wxWidget libs in my "Additional Dependencies" p...

Good Non-Commerical (free) Refactoring Tool for Visual Studio 2005/Visual C++ 8.0?

We have a rather large codebase in C++ here that needs some refactoring; since it's generally bad to start from scratch, I was wondering if there were any good free code refactoring tools for Visual Studio 2005/Visual C++ 8.0? ...

Visual C++ 2005: Icon saved to file is different to resource in editor

I have this weird problem. I have an icon in my C++ project's resource section, and it tells me it's "res\icon123.ico". I make some changes to this icon and save/rebuild... and while the resource editor shows the new version, the .ico file in Explorer has not changed. How is VS storing my changes and why won't it let me do what I want? ...

My visual studio 2005 solution sometimes does not open the entire projects

My visual studio 2005 solution sometimes does not open the entire projects. To clarify what I mean by the “Entire projects”, my application is consisting of different layers such as DAO, Domain, Service, Utility and finally Web.App that contains all of my .aspx, .asxc and code behind files. Each layer consists of large amount of .CS and ...

How to reuse custom functions across multiple Crystal Reports? (Visual Studio 2005)

I'm using Crystal Reports within Visual Studio 2005 and I have a few custom functions that I'd like to use in all my reports. Is there a way I can add these to all the reports without simply copying & pasting? I think perhaps in other versions of CR there is a Repository for functions but I don't see it in VS2005. If not, is there a way...

Install msvcr80d.dll

For reasons beyond my control, an app I am working on deploying needs to use the debug version of the Microsoft Visual C++ 2005 library. I tried to register the msvcr80d.dll with regsvr32.exe and it fails. Is there a work around to get the debug libraries to register? ...

AJAX Control Toolkit Calendar Extender v2.0.50727, script timeout

I have a repeater with 400+ AJAX calendar extenders embedded in a repeater. The appears to be too many for IE 8 to render/initilize before it times out, any suggestions on how to get this work without cutting down the number of calendar extenders? Visual Studio 2005, C#, IE 8. Thanks. ...

Does Visual Studio have an option to generate html documentation for Javadoc-style comments?

Does Visual Studio have an option to generate html documentation for Javadoc-style comments? If so, what steps are necessary to accomplish this? In BlueJ there is an option to translate Javadoc-style comments into an html file. Like the following picture shows for Java using BlueJ I want to do the same with Visual Studio : ...

How do I resolve: "error C2039: 'cstr' : is not a member of 'std::basic_string"?

#include <stdexcept> #include <string> using namespace std; class ListIndexOutOfRangeException : public out_of_range { public: ListIndexOutOfRangeException(const string & message = "") : out_of_range(message.c_str()) { } }; // end ListIndexOutOfRangeException ...

Is there a crystal reports API in visual studio that I can use to manipulate rpt files using a macro?

I'd like to programmatically manipulate my rpt files using a macro or add-in within Visual Studio 2005. What I want to achieve is the ability to automate updating the custom functions in my reports, since there seems no way to have a single copy of the functions shared between reports. So I'd like to have a macro to: Read the functio...

Prevent obsolete properties being added to the designer files

In one of the user controls in our project we have an obsolete property looking like : [Browsable ( false )] [Obsolete ( "Not currently supported on this control" )] public bool DeferPropertyValueUpdates Every time I edit a form that contains this control, Visual Studio will put this property into the .designer file. This then ca...