visual-studio-2008

TODO: comments are not showing up in the Task List

I had to reinstall all my development tools after a hard drive failure and I'm having a problem with Visual Studio. I had a bunch of //TODO: items scattered throughout my projects and I can't get them to show up in my Task List under the User Tasks. I restarted Visual Studio to no effect, then I checked the tokens in the Task List setti...

ANTS Profiler: Change the default browser?

I cannot find this information anywhere. Within Visual Studio I'm using the ANTS Profiler add-on. It always launches IE. My default browser is Firefox. I cannot find a setting anywhere where I can change the default. Can someone help? ...

Required file 'alink.dll with IAlink3'

Hello, I was trying to build a C# solution on my Visual Studio 2008, that is running on a Windows Vista machine, but when I try to build it I'm getting this error: Required file 'alink.dll with IAlink3' could not be found Amigo X Amigo X is the name of the solution. What is wrong? PS: Amigo X is a party that we have here in Brazil a...

building QT (2009.04) with VS2008 (on XP)

Has anyone managed to build the latest QT (2009.04) with VS2008?. I am having problems building QT I configured QT by running this command: C:\Qt\2009.04\qt>configure -no-sql-sqlite -no-qt3support -no-opengl -platform win32-msvc2008 -no-libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit When I run nmake, this was the output (...

Any issues with large numbers of critical sections?

I have a large array of structures, like this: typedef struct { int a; int b; int c; etc... } data_type; data_type data[100000]; I have a bunch of separate threads, each of which will want to make alterations to elements within data[]. I need to make sure that no to threads attempt to access the same data element at t...

How do I compile a 64-bit native C++ DLL in VS 2008?

I'm trying to port a native ATL C++ in-proc COM server to 64 bit in Visual Studio 2008. I've opened the Configuration Manager, added "x64" platform. Now I have 6 configurations - 3 for Win32 that compile and link fine and 3 for x64 that compile fine, but make the linker emit the following error: \Debug64\Objects\common.obj : fatal error...

jQuery lambda functions

jQuery uses lambda functions extensively wherever a function is to be passed into another function. But Visual Studio 2008 would not honor break points that are set inside a JavaScript lambda function. Anybody knows any workaround for this other than giving an explicit name for the function and passing this to the jQuery functions? ...

Producing the fastest possible executable

I have a very large program which I have been compiling under visual studio (v6 then migrated to 2008). I need the executable to run as fast as possible. The program spends most of its time processing integers of various sizes and does very little IO. Obviously I will select maximum optimization, but it seems that there are a variety of...

What does Visual Studio offer that Monodevelop lacks?

What would a developer used to working in Visual Studio have to give up if they switched to Monodevelop? This hypothetical developer most often develops ASP.NET web applications with C#. I'm aware that Monodevelop has the basic Visual Studio features like syntax highlighting and support for Visual Studio solutions. What are the deficien...

Run exe after msi installation?

Using Visual Studio 2008 to create an msi to deploy my program with a setup project. I need to know how to make the msi run the exe it just installed. A custom action? If so please explain where/how. Thanks. ...

TeamCity Environment Variables

How do you access TeamCity environment variables through the post-build event window in visual studio? What type of evaluation can be done to make sure the build is happening on the build server and not locally where the environment variables do not exist? Thanks ...

How to change the address location of my wsdl

My wsdl put a wrong domain in address location, How to fix it? - <wsdl:service name="XWebService"> - <wsdl:port name="XServiceSoap" binding="tns:XWebServiceSoap"> <soap:address location="https://machine.wrongdomain.com.br/webservices/MapleStoryWebService.asmx" /> </wsdl:port> - <wsdl:port name="XWebServiceSoap12" binding="tns:XWebS...

Visual Studio 2008 on an External Hard Drive?

My laptop had an install error with Vista Ultimate and now it does not let me run Visual Studio. I was able to install Visual Studio 2008 on my HP TouchSmart without a problem and now I use it on there. I want to be able to travel though. So I was wondering if I take the folder in which Visual Studio was installed and put it on my extern...

How would I add another extension for deletion when Visual Studio 2008's build->clean / build->rebuild is called?

Using VS 2008, C++. I would like to delete all my pch's on a rebuild/build clean. Is there anyway I could add the *.pch files to the list of files to be deleted build->clean or rebuild all? I've looked through Visual Studio options dialog and really can't find anything. Has anyone messed with this in the past? ...

Visual Studios Prompts for Vault Repository at Solution Load

Whenever I load a specific solution under source control (Vault), Visual Studios (2008) prompts me to choose the repository. This takes the form of Vault's Choose Repository prompt. I have a default repository selected in the Vault GUI but whenever I load a specific solution, it prompts me for the repository. Any ideas? ...

Visual Studio file selector

I am new to .NET and the Visual Studio IDE. How to I add to a form a component that lets the user browse the file system to select a certain file which will then allow me to programmatically use the selected path as a string variable? ...

Use Resource String as ToolStripMenuItem Text during design time?

I have a simple form with a toolstripmenu control that contains various toolstripmenuitems and the strings that I want to use for the menu items' text are stored in a Resources.resx file. What's the best way to associate the menu item with the menu strings? I'm using C# and VS2008 so I'm hoping that there's a way of doing this at des...

Keyboard Assignment in Visual Studio

Every now and then my keyboard in Visual Studio gets all screwy. For example Shift + 3 inserts a pound symbol instead of a hash #. Shift + \ inserts a tilde ~ instead of a pipe |. When this happens it only affects the current instance of VS - even if I have multiple VS windows open. Only VS is affected - Notepad and other windows app...

Does it make sense to write core/critical projects in .NET

.NET become to be more and more popular, lot of new systems are build base on it. People (including me) love .NET for many things. When I started my C# adventure the fact supporting this choice was London stock exchange have chosen .NET/ MS SQL Server for they transactional systems. Now I heard they withdraw from that (confirming opin...

Using a project from source control across repositories and solutions

In one of our projects, we have a class library we use for more than one project/client and each of these solutions exist in different repositories. Currently, this class library exists in it's own repository. When we are referencing it in the client app, we compile it from one location, then copy the .dll to the other project's /libs/...