I have not been able to figure this out, but I was curious if you can float VS 2008 document tabs. Often times, I want to look at 2 documents, maybe the aspx file and the cs file on two different screens, but I can't drag one to the other screen, so I have to just switch back and forth. Is this possible?
...
I'm having a problem where a collection of objects isn't being accessed correctly when run on a thread from a service. I can run my unit tests fine in VS2008 but when I attach the debugger to the service i can clearly see that it's not starting at the 1 based index but instead at the 0 based index. I've tried everything that I can thin...
I have a multi-project .NET application which I am developing in Visual Studio 2008. If I try to open the project properties for one of my projects (to change settings or publish) Visual Studio immediately closes. There is no prompt to send a report to Microsoft, and two consecutive errors logged in the Event Viewer:
.NET Runtime vers...
We're planning on updating our developers from Visual Studio 2005 to 2008. Are there any common "gotchas" to look out for during this move?
My major concern at the moment is that we use WSE 3.0 quite a bit (mostly to consume external .asmx web services, but we also host a few ourselves). Will that be an issue since WSE 3.0 has been ...
I have a new installation of VS2008 after a PC Rebuild and "Startup" does not appear under: Tools|Options|Environment. It was there before the rebuild. Any ideas why it is missing and how to get it to appear? In particular I want to get VS to "Load last loaded solution" at startup.
Neville http://www.surfulater.com
...
I work with multiple projects and I want to recursively delete all folders with the name 'bin' or 'obj'. That way, I am sure that all projects will rebuild everyhing (sometimes it's the only way to force visual studio to forget all about previous builds).
Is there a quick way to accomplish this (with a bat file for example) without ha...
Following on from this question...
"how do you tell the visual studio project type from an existing visual studio project"
How do i add project guids into my csproj file to enable me to add other types of form/controls.
For instance I create a class project solution and want to be able to add web forms and web user controls to the pr...
We use Lab Manager to test on multiple platforms and do remote debugging by creating a Windows account with the same name and password on both the local dev box and the VM in Lab Manager (causes the VS debugger to think that the same account is being used on both boxes so it allows the debug server to be seen on the dev box). Then we run...
I've got a website setup which references another DLL project in my solution. In that project I have two extra files - a .LIC file and a .XLS file. Both of them are set to "Always Copy to Output Directory".
When I build the DLL project, the project's bin/debug folder gets the .LIC file and the .XLS file copied into it. However, when I b...
I'm using visual studio's external tools to open .sql scripts in Sql Server Management Studio (SSMS). The problem is, each time I use the external tools command to open a .sql file from visual studio, it opens a new instance of SSMS.
Visual Studio has a switch /Edit that will do this, is there one for SQL Server Management Studio?
...
I have two classes like this (in the actual project):
namespace app {
internal class A {
}
internal class B {
private List<A> list;
private void SomeMethodToTest() {
list = new List<A>() { new A() };
}
}
The I have my Unit test looking something like
[TestClass()]
public class ATes...
I have converted a VB6 project to VB.NET and am left with a large number of inline 'warning messages' such as "UPGRADE_WARNING: Couldn't resolve default property of object varJonSkeet" that I would like to get rid of. Is there a way to do this within Visual Studio 2008? Will it be easier to remove the warning messages with regex? I would...
I've found a few examples of using vb.net to access an sql database, so far none of them have worked . They all involve using DataReaders. Maybe its the fact that the sql db is not on the same machine as the application.
I was just wondering if anyone had a more comprehensive example of using VB.NET to access a remote sql server.
Thank...
How do I force an asp.net app to break in VS 2008 when I don't know what code the process is hitting? I am getting a problem where there seems to be something looping in the code and after putting in a bazillion breakpoints in can't find it. I want to force the app to break so that I can see where the problem lies.
...
I have two Visual Studio database projects. Both build fine on my local dev environment.
On the TFS build server, with a TFS build solution containing both projcets, one builds fine and the other fails with this error:
Task "SqlBuildTask"
Creating a model to represent the project...
C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0...
Where is the HMI/Dialog/UI to pick and choose which types of build warnings that I'd like to be notified ?
e.g.
Warning 77 CA1725 : Microsoft.Naming : In member 'x', change parameter name 'a' to 'b' in order to match the identifier as it has been declared in 'd'. <filename>
isn't as important as
Warning 75 CA2200 : Microsoft.Usage...
How do I see a disassembly of the machine code generated by the .net JITer? The Show disassembly window menu option is no where to be found. Even the tool bar button for it is in the disabled state. If I recall correctly the disassembly can indeed be seen but one must resort to some trick, unfortunately I don't remember what that trick w...
I've recently been building a test framework for a bit of C# I've been working on. I have NUnit set up and a new project within my workspace to test the component. All works well if I load up my unit tests from Nunit (v2.4), but I've got to the point where it would be really useful to run in debug mode and set some break points.
I've tr...
Every once in a while I will paste in some code and it will lose all its tabs and look pretty bad
I know that in the vs2008 xml viewer there is a button to format(indent) all the code to the correct hierarchy
Is there such a function or macro or shortcut key that i could apply this to a section of code (or to all the code in that windo...
Situation: My report uses several ReportViewer Textbox controls which grow and shrink, depending on the size of the bound text. When the text in the ReportViewer textbox control is too long to fit on the current page, a page break occurs before the textbox and it is then wholly rendered in the next page. This often results in a large e...