I have a simple Visual Studio MSI project.
I want to HALT the installation if I detect a running program of a certain type (e.g. "aaa.exe") and wait until the user closes it before proceeding.
how do I do that?
...
I am in the process of adding cmake support to a project and noticed that, after generating an out of source Visual Studio project, adding new files through Visual Studio puts them in the Build directory, and not in the Source directory. This is suboptimal.
Is there any way to change where VS adds new files, and can I set this in a CMak...
When I import a Work Item Type from Team Review, I get this error:
TF218007: Cannot import the work item type. It changes fields in team projects
in which you do not have permissions to make changes. Correct this problem by
changing the definition of the work item type so that it does not change the
name or reporting behavior of these f...
I have a solution with an unmanaged c++ dll project in it and a c# managed project that calls dll using PInvoke.
Is it possible to debug both managed and unmanaged code so that I see what is going on "inside" of that dll?
...
This may actually show how much of a Noobie I am but does anyone know where I can grab Java.net from?
I don't really like eclipse and would like a version integrated with my Visual Studio environment.
...
If you started developing as a project, how difficult is it to migrate into a web site development process?
...
Can you imbed silverlight 4 xap files into an aspx page and then view them in vs 2008? If so how do you do this? Any sample code would be appreciated.
Thanks!
...
I am trying to figure out how to move the items in a pre-populated listbox up and down via mouse drags. I have looked at the Control.DoDragDrop method from microsoft's api, but I still can't get it to do anything. I would appreciate any help since I am new to the visual studios environment, thanks.
...
Currently VS has a very useful feature: sort usings (C#).
I want the same functionality for any random text, for example - XML nodes in config files.
How complex to implement that? VS addin, right? Is it possible to call some VS API which is used for sorting usings?
...
I knew that we have something like this in regular expression syntax world.
*The syntax is {min,max}, where min is a positive integer number indicating the minimum number of matches, and max is an integer equal to or greater than min indicating the maximum number of matches.
So {0,} is the same as , and {1,} is the same as +
http://ww...
Does any one know how we can do this?
I have python code in eclipse and whenever it calls c++ functions, i want the break point to go to the visual studio c++ project.
...
Hi
is it better to create one resource for every asp.net page application. or to create a global resource for all pages?
my application has about 100 pages and 200 usercontrols.
if i want to create global resource can how can i use this Feature of visual studio that able us to generate resource file automatically from every page with thi...
I'm running C++ program in VS2005, and I've set only one argument in project properties-> debug-> command line args, and it's named profile1.dll for example.
here's a code snippet
cout<<"number of arguments:" << argc<<endl;
for (int i=0; i<argc; i++)
cout << "argument " << i << ": " << argv[i] << endl;
In the output I get
...
what is the difference between start Debugging and Start Without Debugging in Visual Studio while running a program ?
...
I have project in development where string operations like "Hi " + variable + ", welcome to Project" are used at many places (given example is very minor one).
One of the requirement is to convert it to string.format style.
It is very long and tedious job, where I would not like to break earlier working code due to any human error migh...
Dear ladies and sirs.
While debugging the framework source code I always get this annoying message from the studio:
Some bytes have been replaced with the
Unicode substitution character while
loading file
C:\Users\markk\AppData\Local\Temp\SymbolCache\src\source.NET\4\DEVDIV_TFS\Dev10\Releases\RTMRel\ndp\fx\src\Core\Microsoft\S...
I've been reading up on unit testing the data access layer of a project. Most options boil down to:
Use a dedicated test database but cleanup in the finalizing phase of all unit tests (or do it manually)
Use the database but don't commit or simply roll back
Mock the database
In a former project we used to use the rollback way but I l...
I've created a new MVC2 project as well as a Tests project within my solution. I have not yet done anything to the default tests nor am I experienced with them. I've seen a webinar on web tests and measuring performance using Test Professional. Are these completely different?
Can the Tests project inside my solution be used by Test Prof...
When I set a breakpoint in a class then access a method, debugger does not hit breakpoint. What would be best way to debug a class?
...
Why does the Wix Visual Studio plugin, Votive, think it's necessary to copy ALL my source files to the current Wix project's directory? How can I disable this? I've had no luck searching the docs, web, or project settings.
I would like to keep things uniform and keep the "wxs" files in a "src" directory and my Wix project in the "build"...