From this thread
http://www.codeguru.com/forum/showthread.php?p=1863547
It seems this cannot be done with:
#pragma comment(linker, "/out:mycool.exe")
Is there some simple way this can be done without having to use project settings, make files etc?
Added:
Why do I want to do this.
Well this gets into another subject which is probab...
I am working on new project visual studio 2008 and ClearCase 7.01 (base ClearCase) as source control.
I am very new to .Net environment, my questions:
For deployment, how to get the source from clear case?
My idea is to create a branch , apply a label to this and use Nant or Cruise Control for compilation.
For a small work in one sour...
I notice that there are a number of different events I can capture when I'm working with a Windows Form in .NET (or any other control, for that matter) - on opening, there's:
Load
Activated
Shown
VisibleChanged
And when closing, there's:
Leave
FormClosed
FormClosing
Disposed
Plus any others I've missed. I know I could put a messa...
I'm trying to assign a keyboard shortcut to open a solution folder (the one you get when right click on solution name) from Visual Studio. Looking in keyboard options in Options didn't help (searched for "folder", for "open" etc.)
Have I missed something ?
...
I have some tedious visual studio specific questions. What are some good forums for asking this stuff or just ask them here? The microsoft msdn forums don't always work for me, and they don't seem to have a complete set of forums for the product (ide forum non-existent?). The microsoft usenet groups for visual studio seem useless.
...
Objective:
I have a list of header files (about 50 of them),
And each header-file has few arrays with constant elements.
I need to write a program to count the elements of the array. And create some other form of output (which will be used by the hardware group).
My solution:
I included all the 50 odd files and wrote an application. An...
When creating new Visual Studio C++ projects there're two ways: either run the wizard and then painfully change all the necessary settings in the project or just copy and existing project, rename everything there and add files into it.
The second variant is great except that the .vcproj file stores a project GUID. This GUID is used to t...
Visual Studio is shipped with a Create GUID tool that is used for generating GUIDs. Now here's a GUID it generated for me:
{7A09BF85-9E98-44ea-9AB5-A13953E88C3D}
each of the 4 GUID parts contains both letters and digits. Why does the third part contain only lowercase letters and other only upcase letters? Is there any sence behind tha...
I have a data table which already has some values, plus it is getting values from a textbox below.
Now my problem is when i dont enter a value in the textbox it still enters in the data table.
I dont want it to do that..
The code can run on any machine... any suggestions????
Thanks
public partial class WebForm6 : System.Web.UI.Page
...
This is a minor, esoteric problem and not a showstopper, but I'm wondering what other VS2008 idiosyncrasies are out there.
If you make a web app, add a textbox and run a focus function for the textbox on page load, it works when you run VS not as administrator from a Vista non-administrator account or if you run the page from a browser ...
If I have an existing solution containing multiple c# projects, are there any static analysis tools that can help me determine which areas of code are the most often used?
I'd like to use this information in order to determine which areas should have their test coverage ramped up first.
I've looked at some static analysis tools alread...
Hello,
I am using VS 2008 WebDeveloper Express edition.
And i'm developing a little aplication, in which i would like to use Performance Counters.
So i went reading a couple of articles, and i found this one.
However in the Figure 1, it shows a window that i don't have. I reseted all the the windows in the WebDeveloper, and i searched i...
There is a "Show output from" dropdown list in Visual Studio 2008 "Output" window, which allows viewing build events ordered by thread (Build Order). This is very useful when building big solutions on multi-core machines, as the log entries from those come unsynchronized.
Our organization has the automated build process, where solution(...
I found code online for something I wanted to do.
As usual, I fired it up in Visual Studio and it works no problem.
The problem occurs in that, when I try to port it over to Excel, it ceases to work.
As I understand, VBA is a watered down version of VB. (Based on reading this article:
http://stackoverflow.com/questions/993300/differenc...
With recent events with vulnerability found in WPF browser plugin and Firefox forcing a block on it, I can't seem to find a setting in Visual C# 2008 Express Edition that would allow me to run/debug my XBAP project in Internet Explorer without having to switch my default browser to IE. Am I missing something here?
...
I get the following errors when I try to build this project:
error C2182: 'read_data':illegal use of type 'void'
error C2078: too many initializers
errors c2440: 'initializing': cannot convert from 'std::ofstream' to int
All of the above seem to be pointing to my function call on line 72, which is this line:
void read_data(finput, fo...
Hi All,
I want to know how we can add projects in single solution file.
When I create the solution and try to add projects in it, the solution file is not visible.
How can I add projects/websites to the solution file?
...
As our unit test numbers increase we are finding it increasingly difficult to continually run all the tests on our developer machines. Does anyone know if Visual Studio 2008:
natively targets multiple cores
doesn't target multiple cores automatically, but it's configurable
doesn't target multiple cores at all
...
When I press F5, my web application starts up and runs, but the visual studio debugger is not attached to the process. The play button is always enabled.
I checked the configuration manager and all the libraries and web apps are debug|any-cpu.
...
Working with Visual Studio 2008 Pro, with Intel Fortran compiler v11, on Windows 7 x64.
I have an Intel Visual Fortran project set up with all the fortran source files. I wish to gradually replace all these subroutines with C/C++ (actually cuda -- bonus points). Simply right clicking on source files in the solution explorer and "add exi...