When debugging I need to start an external program from the target directory of a build and am wondering if it can be accomplished using relative paths.
As a post-build event I have the following:
IF NOT "$(ConfigurationName)"=="Debug" GOTO End
:CopyExecutable
copy "$(SolutionDir)\Source\Lib\MyExecutable.exe" "$(TargetDir)"
:End
I n...
I am using a makefile system with the pvcs compiler (using Microsoft Visual C++, 2008 compiler) and I am getting several link errors of the form:
error LNK2019: unresolved external symbol __imp__RegisterFilter@8 referenced in function _main
This is happening DESPITE using the extern "C" declaration, viz.:
extern "C" int CLRDUMP_AP...
I would like to use Apple's Xcode IDE to develop applications on the OS X, but I find the UI immensely confusing because I am so used to developing in Visual Studio on Windows.
Does anyone know of any Xcode quickstart guides for the Visual Studio developer that map common tasks and functionality from one to the other?
For example, I ca...
Okay, C++ newbie question here. I checked out a copy of a C++ application from SourceForge (HoboCopy, if you're curious) and tried to compile it, but Visual Studio tells me that it can't find a particular header file. I found the file in the source tree, but where do I need to put it so that it will be found when compiling? Are there ...
Are there any tools to give some sort of histogram of where most of the execution time of the program is spent at?
This is for a project using c++ in visual studio 2008.
...
A question to those of you who already looked at VS2010. How big are the changes that add-in developers will have to make in order to get their add-ins working under VS2010?
...
Hi all,
I am wondering if there is anyway to list all the calls to a function in source code level so that I can see the dependency if I modify that function.
One method I use is to search the function name in the "Entire Solution" but I am looking for a better way.
Thank you very much.
Cheers,
Timothy
...
The nuance of the question is what are the features of the Visual Studio environment, that not everyone knows about, that you have come to depend on and that you would like others to know about.
...
Hello,
Is there a way to use add-as-link when dragging and dropping source files or entire source trees into a C# project?
Currently, dragging a tree of source files onto a C# project will cause Visual Studio to copy all files to mirror tree below my solution file.
This can be avoided with the the add-as-link option as depicted in the...
What add-ins do you wish were available for Visual Studio 2008? Describe it here, and maybe it already exists. Or perhaps, it will soon!
...
Is there a way to disable the drag&drop functionality for Solution Explorer?
Why would you ask? I'm using an wacom pen tablet for quite some years and I love
it. But when you use it in solution explorer in combination with a source control
like TFS or AnkhSvn it's a disaster when you accidentally move a file into an
different directory...
I thought it was strange that this post did not already exist..
So post your wishlist for VS next.
Mine would be better refactoring and better intellisense a'la resharper. Also it would be nice to have built in tips on best practices. ex. warning if Dispose is not called on objects implementing IDisposable.
EDIT:
Ignore the last sent...
Is there a good tool to compare specifically web.config files to find specifically which settings are different values and which file has settings that don't appear in both.
XML comparison should do the trick, or an XSLT might work. There must be a tool for web.config settings out there?
...
One thing that annoys me when debugging programs in visual studio (2005 in my case) is that when I use "step over" (by pressing F10) to execute to the next line of code, I often end up reaching that particular line of code in a totally different thread than the one I was looking at. This means that all the context of what I was doing was...
I have an ASP.NET (2.0) site. I am on my dev box using V Studio 2008 and IIS. I have a separate User Control project that gets called from a javascript function in the default.aspx page. The User Control project is in another solution.
The application is running as expected. The user control is being called and all is well. Well not qui...
Specifically, once I get the WCAG Anaylsis warnings for a website into my warnings window I can't get rid of them, until I close down studio. When building another project in the same solution they stay there.
Anyone got any ideas?
...
I have a WSDL file defining the interface for a web service and I want to implement that service (i.e. producer/server code) using C#, ASP.Net and Visual Studio 2005. Setting up a Web Reference as consumer of a web service is a breeze, but as a producer isn't as obvious.
In the java world there is wsdltojava. Is there something similar ...
I'm using a table adapter in Visual Studio to make a query to a stored procedure in my SQL Server 2005 database. When I make the call via my website application it returns nothing. When I make the same call via SQL Server Manager it returns the expected data.
I put a breakpoint on the call to the adapter's getData method and looked at...
In Visual Studio as most of you will have noticed that related file can be collapsed in to one. E.G.
Form1.cs
Form1.Designer.cs
I'm creating a DAL library and will be splitting partial classes in to several files such as:
SomeTableClass.cs
SomeTableClass.Generated.cs
SomeTableClass.SomethingElse.cs
Is there any way in Visual...
I've never found an "ideal" layout for coding in Visual Studio. I have a three-monitor setup, but it seems that the solution explorer/properties/output/errors/whatever panes are always getting in the way or hogging screen space. It's a bit open-ended, sure, but do you have an "ideal" layout with the myriad of floating/dockable/anchored s...