My team is looking into upgrading our large-ish C# solution (~30 projects, probably thousands of files) from VS 2005 to VS 2008.
From your experience, what problems, if any, are likely to appear?
Oh yeah, there are a few isolated components still using VS2003 that should also be upgraded to VS2008.
...
I migrated a web app from Asp.Net 1.1 to Asp.net 2.0 using VS 2005. While I tested and debuged and the Asp.net 2.0 version, we made some enhancements to the 1.1 production version (requests from users).
I'd like to know the best strategy for bringing the changes in the 1.1 web forms into the 2.0 version. Is deleting the web form from ...
Hi,
I'm trying to create a static library using Visual Studio 2005, consisting of multiple header and source files, for example:
A->B, A->C, A->D
B->E
(A->B = B is #include-d in A)
I managed to compile a static library by following the MSDN tutorial and put all the files in a project file in Visual Studio, and compiled a .lib. The pr...
I am working on re-factoring of an existing Asp.Net 2.0 web site. I am looking for a framework/pattern to modularise the application. As there is no WCSF for Visual Studio 2005 I can't use it and I also can not upgrade it to Visual Studio 2008 for reasons beyond my control.
I can use Mono-Rail but I would loose the existing controls func...
I've inherited a large Visual Studio 6 C++ project that needs to be translated for VS2005. Some of the classes defined operator< and operator[], but don't specify return types in the declarations. VS6 allows this, but not VS2005.
I am aware that the C standard specifies that the default return type for normal functions is int, and I ass...
Hi all, this may sound too simple, but I'm missing something. I need to write a RAPI Windows Console app using C++. I'm currently using VS2005. I've created a brand new empty Windows Consol app "MyTestRAPI" from documentation, I know I need the include of the "RAPI.H" file. So, I've tried as
#include <rapi.h>
and also by
#includ...
My boss just got Windows 7 and he tried running one of our installers which runs perfectly fine under XP. On Windows 7, the installer runs without giving any errors. However, it does not create registry keys under HKEY_LOCAL_MACHINE\SOFTWARE{Company}{product}. These keys get created correctly under XP.
Has anyone encountered this iss...
I'd like to override the directories used by Visual Studio (devenv.exe) for the compiler and library paths. I know how to do this interactively via Tools->Options->VC++ Directories, but I'd like to automate this.
http://msdn.microsoft.com/en-us/library/t9az1d21(VS.80).aspx has a tantalizing note on this: "If you want to set up director...
I need to do two (or more) passes over a va_list. I have a buffer of some size, and I want to write a formatted string with sprintf into it. If the formatted string doesn't fit in the allocated space I want to double the allocated space and repeat until it fits.
(As a side-note, i would like be able to calculate the length of the format...
I am getting this fxcop warning even though my objects do not have finalizers I just have the simple IDisposable.Dispose() method in place. Is this rule really telling me I should implement finalizers? I don't have any unmanaged resources to finalize so I wouldn't have the need for the advanced Dispose(bool) pattern with suppress finali...
I have created a Windows CE6 Image through Platform Builder, and I now want to develop c++ applications on this device with VS2005.
With Visual Studio 2005 comes ConManClient2, compiled for each patform, which can be placed onto the target platform to allow for remote degugging from VS.
On previous platforms, ones I haven't designed th...
I have a c# solution and its composed of numerous projects.
I have a project that is my baseassemblies that holds all common information that other projects use. All of the other projects have references to baseassemblies.
I added a dll reference in my baseassemblies however all of the other projects cant see it.
How can I make it so ...
This may or may not be specific to VS2005 (as that is the version I'm referring to for this question).
I find often the case is that I see this in the Output panel inside Visual Studio
2>Build log was saved at "file://c:\\vsdll_example\MyExecRefsDll\Debug\BuildLog.htm"
Now, since that looks and smells like a URL, I would have thought...
What is the best way to implement a "program options" dialog with the "Reset to default" capability in C# (vs2005)?
Below is the way I am doing.
Create a dialog form and add some controls (like checkBoxes) to it. Also add three buttons: Ok, Cancel, Default.
Create Settings file and add some fields in the user scope.
Bind the dialog co...
When I clicked on a control,
How to get cursor position relative to upper left corner of a (winforms) control ?
C#, VS 2005
PS:
I'm asking on context of tooltip "show" method which need that coordinates ..
...
I'm in the process of migrating a VB.NET web application from Visual Studio 2005 (.NET 2.0) to Visual Studio 2008 (.NET 3.5) and while it was mostly straightforward I encountered a problem which took some time to resolve.
The code in question reads:
Dim serviceArray = New SecurityLayer.Model.Service()
serviceArray = new SecurityLayer.S...
Why is it necessary to make a function STATIC while using delegates in C# ?
class Program
{
delegate int Fun (int a, int b);
static void Main(string[] args)
{
Fun F1 = new Fun(Add);
int Res= F1(2,3);
Console.WriteLine(Res);
}
**static public int Add(int a, int b)**
{
int result;
...
I'm currently working on a reporting tool for a company that conducts the same survey at different clients. So the analysis and report would be the same, except for the conclusions. The ultimate goal of the project would be a tool that automatically extracts, analyses the data and creates the report. SQL Server and Visual Studio are mand...
I was able to do 'Find all reference' a couple of hours ago, and now suddenly it stopped working. When I do 'Find all references', its always says 'Search found 0 references'. I have reinstalled visual studio but the problem still exists.
Anyone has any idea what might be wrong?
...
I have one shared add-in created in visual Studio 2005. This Add-in is worked on my system fine but if i tried to run this add-in on different system then it is not working. I found the problem behinde this but is it correct or not.
In my view the problem is when we create add-in through visual studio then the entry of this add-in is int...