I am successfully instantiating/automating Visual Studio using the following code:
System.Type t = System.Type.GetTypeFromProgID("VisualStudio.DTE.9.0");
object obj = Activator.CreateInstance(t, true);
dte = (DTE)obj;
Solution sln = dte.Solution;
sln.Open(SolutionFile);
System.Threading.Thread.Sleep(1000);
//Do stuff with the solution
...
When I click the start button (with or without debugging) in Visual Studio 2005, it launches the stand alone IE. My default browser in VS is set to the internal one. Is this normal behavior?
When I do "View in browser", it does launch the internal one.
...
Hi,
since moving to Windows 7 (IIS 7.5), the debug assertions do not prompt a pop up dialog anymore.
I have tested this in a separate project, and noticed that they do work when using the integrated Visual Studio Developer server (Cassini) but they do not work when using IIS Web Server.
This is a big issue for us since we are counting ...
There's a .NET assembly and it needs to have 3 instances running at the same time all the time how can I monitor this.
I am fairly positive it can be done by monitoring the system processes?
...
I want to count how many times i built on VS.NET .
I have a plan. If i run svn commit when i build to project, i would have build count on revision number :)
I didn't write any macro which can execute a command. And i don't know visual studio is allowing to prebuild event for this kind of request.
...
Hi, i try to create an AEP for my advantage Database. I create a AEP project on VS2008 and i,ve got the dll. I copy de .dll to the folder where is my datadictionnary. I tried to register my dll with regasm but i've always got the warning to give strong name, but i tried a lot of thing and i got this error again. So i tried to install the...
Hi, Say I had (foolishly) setup a Silverlight project in VS and failed to setup a supporting website at time of instantiation are there any steps I can take to add one retrospectively?
Many thanks.
...
Hello,
i would like to add some external .dll libraries e.g. glut32.dll (but it's only example)
in vs 2008 using C#.
Can you please tell me what should i do step by step?
i am a little bit confused cause i found a lot of solutions to add dll files but they significantly differ..
some of them add dll's only using code, some using properti...
I have a property inside a class that is getting changed by something. The only place I change the value of this code is a line that looks like this:
pushpin.Position.Altitude = -31;
During visual studio debugging, is there a way to watch .Altitude for any changes made, preferably it breaks at the assignment statement that changes the...
I've been looking for a couple of hours now, but can't figure out what option in visual studio 2008 controls the highlighting used for breakpoints. I have a darker theme and the lines are hard to read when entering a debugger.
...
MenuPic
Greetings. I am using the NumericUpDown control on my application. When I right click mouse on any of these controls the popup menu shows up as displayed in the above link.
How do I remove this menu please?
Thanks.
...
The option menu persists, I'd like to remove it. Addin Manager can't as far as I can see. Sorry I'm new to addin.
...
If I browse to a flex application when recording with VS Test, I can see the calls to WebORB (amf calls). However, when stopping the recording this is what happens:
First, Visual Studio detects dynamic parameters, but stays around 20%, and never gets through it.
Second, if I cancel the detecting dynamic parameters, and run the web test...
I have just installed Visual Studio.NET. In the Design area I have added some graphical components (button, textbox) but I can't move these within the specified area, as their position remains unchanged. I would like to move these graphical components with the mouse cursor, I know it's possible, does anyone know how?
...
I'm trying to use T4MVC in Visual Web Developer 2008 Express Edition and it's not building any files. Is T4 supported in the express editions?
...
Is there a tool that can record amf calls being made from a flex application (swf) and replay them? + do a load test?
I tried Visual Studio 2010 and with FluorineFX this works. But are there other tools around that can do the same?
...
I'm using Visual Studio 2010 RC. Would it be possible that after doing my UML Diagrams, I could then generate classes with method stubs from it?
Thanks
...
I have a service that accepts Xmla queries for Analysis services, often times those queries themselves will have a string that contains a fragment that looks something like
{{[Time].[Year].[All]}}
Recording these requests works fine but when I try to re-run the test I get an error from the test runner...
Request failed: Exception oc...
Hi everybody,
I am wondering if it is possible to set VisualStudio IDE so it highlights private/protected/public variables of the class differently as well as change formatting on locals (i.e. variables that are either passed in or declared inside a function, like this).
I did not find any such options in the normal Fonts and Colors me...
I'm using Nunit for unit testing, and added another project called "Unit Testing" to my current solution. I referenced Nunit, and changed the Namespace to the same namespace used in the main project.
I can't seem to figure out how to get access to all the classes, files, etc in the main project. Is there something I have to do to link ...