visual-studio

Visual Studio 2008 and Visual studio 2005

I am developing a Windows Application using the .net Framework 2.0 and Visual C#(Microsoft Visual Studio 2008) in my PC. On the completion of my project I have to execute it in a system which has Visual Studio 2005 and .net framework 2.0. So my doubt is if I develop an application in Microsoft Visual Studio 2008 will I be able to execu...

Server Explorer window does not display in Visual Studio

I have Visual Studio 2008 Professional and when I click on menu View -> Server Explorer, the Server explorer window does not display. Same happens when using the shortcut: Ctrl+w+L I have tried the following: Cmd -> devenv /resetsettings Tools > Import and Export Settings > 'Reset all settings' Window > Reset Window Layout Deleted De...

Process that I attach to debug disappears

I am trying trying to attach to a process in Visual Studio, and I can't find that process that I usually attach to during debugging. What is going on with Visual Studio? ...

Visual Studio 2010 Beta Crashes on open

I've worked with VS 2010 Beta 1 for weeks with no issue, but now it crashes on open. I've uninstalled and reinstalled with no success. Does anyone have any advice? Regards. ...

Where are the files in publish?

Hello: If I use the publish feature in VS2008 (I think it's called ClickOnce install), and then install the published application in another computer, where are the files copied? In other words: If I need an auxiliary file (a .txt file) in the same path of the assembly, where do I have to create it? Thank you. ...

likely/unlikely equivalent for MSVC

GCC compiler supports __builtin_expect statement that is used to define likely and unlikely macros. eg. #define likely(expr) __builtin_expect((expr), !0) #define unlikely(expr) __builtin_expect((expr), 0) Is there an equivalent statement for the Microsoft Visual C compiler, or something equivalent ? ...

Visual Studio 2008 - Conditional Compilation Symbol for Solution, not Project

I want to use a compilation symbol, like DEBUG, except a different name, and have it associated with a solution, not a project, so that it applies to all the solution's projects. Rather than define the same symbol in multiple projects, is there a way to define a symbol once, that applies solution-wide, via VS2008? ...

Virtual Development Environment Performance - .NET Development

I have the following setup for my daily/main/only development environment Hardware/Tin = 4gb ram, 2.6ghz dual core CPU, 2x250gb HD's, usual array of periperhals One the tin above, I currently have Windows XP installed, in Windows XP I have VMWare Workstation installed and I run a Windows Server 2003 deelopment environment. This includ...

class name and method name dropdown list is missing (visual studio setting)

Does anyone know how to get my class name and method name dropdown lists again? It's the dropdown lists that are usually above the code. It's just a setting but i can't seem to find it. I don't want to reset my setting btw. I shouldn't have to. ...

Invalid argument. Culture ID 2155 (0x086B) is not a supported culture

I am currently getting the following error when I attempt to build my solution. C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1353,9): error MSB3095: Invalid argument. Culture ID 2155 (0x086B) is not a supported culture. C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1353,9): error MSB3095: P...

Using VC++ to execute a shell extension

I'm working on a function to convert input files for my app to .ly files for use with LilyPond. What I would like to do in the conversion routine is go ahead and generate the PDF of the music. If I were to do this myself, I would double click the .ly file or I would right click the file and select "Generate PDF." I hoped that using Sh...

Error While Installing Visual Studio 2005 Express Edition

Hi all, I have installed .net framework 2.0 and now I am trying to install Visual Studio 2005 Express Edition from the Internet, but when I execute the setup file I am getting the following error: "The upgrade patch cannot be installed by the windows Installer service because the program to be upgraded may be missing or the upgrade pat...

Visual Studio 2008 can't find .dll file after adding the .lib file to the project

Ok, I'm just now learning how to add libraries to visual studio projects, but I'm running into a problem. I've gone to the project properties and added the correct path to the include header files I need and then I've added the correct path to the library files that I need. I'm not sure if this is redundant or not, but after that, I add ...

Detected Dependencies - Where is each dependency coming from?

I have two detected dependencies with the same name (different paths) showing up in my setup project's detected dependencies. One's the "old" one, at an old path. How can i determine which portion of my primary project is causing the "old" one to show up? I can probably do it by trial and error, but is there a quick/direct way? ...

Is it true that I can still use Linq to SQL in design time even if you are targeting .net 2 in your application?

Hello, Someone recently said that I can use Linq to SQL in my application even if I am targeting the .net 2 framework. Is that true? How does that work? How do you setup your references? Any gotchas I need to be concerned about? Is there some special way to set that up? Thanks. Seth ...

.NET Remoting in AddIn VS2008 not working?

Hi, I just started with AddIn development and have a small problem. The following code is working nice inside a console application: Trace.WriteLine("Started"); var channel = new TcpChannel(8083); ChannelServices.RegisterChannel(channel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(Re...

Trouble using Qt with Visual Studio

I am looking to do Qt development with Visual Studio 2005. I have built the Qt libraries for Visual C++ and have downloaded the Qt plug-in using the steps outlined here. I've set the QTDIR environment variable to point to the newly built Qt environment (C:\Qt\vc). However, when I start Visual Studio, I get the following message: Th...

Telerik RadEditor working issue under VS2008

I've a SharePoint portal for tracking questions in a list. When I open an list item in IE8 Telerik Editor works fine. But if I open this page inside VS2008 in browser mode this control starts to do unexpected actions. It's the Telerik RadEditor for Sharepoint v. 5.3.2.0. Is it a bug of VS2008 or a bug of Telerik RadEditor? Steps to re...

Visual Studio 2008 Extension to test a function quickly? C#

I have a function buried deep inside an assembly, eventually this function will get called by my program, but I really don't want to have to debug it all the way to get to this function. Is it not possible to get a module / addon for visual studio 2008, where I can just select the function I want to run, provide the parameters, and it ...

Why does int count jump from 1 to 4 on entering a loop? C++

My "counter" is jumping from 1 to 4 when I enter my loop. Any ideas? Code and output below: static bool harvestLog() { ifstream myFile("LOGS/ex090716.log"); if (myFile.fail()) {cout << "Error opening file";return 1;} else { cout << "File opened... \n"; string line; string field; int cs_uri_stemLocation = 0; int csRefer...