visual-studio

Recommend a Visual Studio FTP deployment plug-in

Hi there, we've recently stumbled across the excellent Dispatch for ASP FTP deployment plug in. It looks great apart from one thing: It doesn't work with Visual Studio 2010, at least for us, anyway. (It's supposed to work fine.) (Yes, we've tried everything: We've managed to get Dispatch working for another FTP site, but not the main on...

Problem With WPF C# App Spawning Two Main Windows

I've been working on this app for the last few days and suddenly this super weird problem starting happening where 2 of my primary windows starting spawning during run time. I've searched for 3 hours and can't find where or why this is happening. If you want to show a stranger some love, can you help me find why this is happening? My pr...

GridControl doesn't display the data it contains

I am using DevExpress GridControl to display information from my database through a stored procedure (ie. SELECT * FROM aTable). Unfortunately when I run the program it doesn't display any of the information, columns, etc. It displays an empty table. I know that there is information contained by the GridView though as I have print stat...

ASP.NET MVC - Wrong redirecting, how to debug?

I am stuck with redirecting problem in ASP.NET MVC project. I have mapped tables via LINQtoSQL and each has unique ID as primary key. I am implementing functionallity of 'CREATE'. Basically, after new value is added into SQL table (which means I pressed Save button), I want to be redirected to Details of this freshly added item. Here's...

guide for creating addins for Visual Studio 2010?

Hello: 2 questions actually: Is there a good comprehensive guide out there for creating add-ins for Visual Studio? Here's a weird specific problem -- I'm trying to get my add-in to load. The code that the wizard stubs into the OnConnect method will add it to the toolbar, but only if it passes this "if" statement: if (connectMode == e...

Visual Studio: Re-enable "Build failed, run last success?" dialogue box

When a build fails, VS pops up with an option to run the last successful build. Someone clicked "Yes" and "Don't show this dialogue box again" on my machine, and now I'm stuck with that setting. How can I reset it? ...

Classic asp paging and session state

Hi, Working on a classic asp page that uses paging. The error I am having a problem with is this: Lets say that you have 5 pages returned in your record set and you are on page 2. You leave and come back, you then press the link for page 3, the trouble is your session has timed out. I don't know why this happens but the page is relo...

DevPartner Profiler Community Edition

I used to have DevPartner Profiler Community Edition installed on my machine, which was free to use indefinitely and was compatible with Visual Studio 2003. After I have rebuild my machine and downloaded a newer version (version 8.1) of the software, it turns out it is actually a 45 day trial eventhough it is still called a Community E...

Win32 select/poll/eof/ANYTHING!?!?!

Using the standard Win32 file I/O API's (CreateFile/ReadFile/etc), I'm trying to wait for a file to become readable, or for an exception to occur on the file. If Windows had any decent POSIX support, I could just do: select(file_count, files_waiting_for_read, NULL, files_waiting_for_excpt, NULL, NULL); And select will return when the...

any .net Framework Application at some Point Memory?Other Errors Out with no errors

I have a strange problem/bug when I have many I believe .net Applications Open at once. I may at one point have 3 Visual Studio 2005 Projects open (big or small doesn't really matter) 2 Visual Studio 2003 Projects open & sql2005 Management Studio. Or various combinations of either/or. Always when I've got quite a bit open. What hap...

IIS hosting vs Built In Web server that ships with VS 2010

Hi there, I am looking to host a wcf service while i am developing. Is this best with IIS or can i just use the default BUILT IN web server that ships with Visual Studio? I can change the Assign automatic port to specific port so in my client i always ahave a fixed address. I was hoping somebody could advise the best way to go? ...

Copy object values in Visual Studio debug mode

In Visual Studio debug mode it's possible to hover over variables to show their value and then right-click to "Copy", "Copy Expression" or "Copy Value". In case the variable is an object and not just a basic type, there's a + sign to expand and explore the object. It there a way to copy all that into the clipboard? ...

Crystal Reports and WMF image

I have a problem with inserting a vector graphics (WMF) into report (Crystal Reports v10.5 from Visual Studio 2008). The image is static, inserted by choosing "Insert Picture" during report design in VS. The problem is that it displays differently (size and aspect ratio) on machines with different operating systems and screen resolutio...

Is there any free svn for visual studio plugin?

Is there any free svn for visual studio (9 10) plugin? (opensource will be +) ...

VS 2010: Class diagram with xml summary description?

Hello, using Visual Studio 2010 Ultimate I created a class diagram of a C# / WPF project. The project is well documented, meaning ever property has a xml summary. Now in the class diagram one can hover over a property and read this summary - fine. But what about printing? Visual Studio just prints the diagram! Is there any way to let Vi...

Visual Studio 2008 Blank Tool Window

I have a blank property window that I can not get rid of in Visual Studio 2008 SP1. I have tried every thing to get rid of it. If I close it it shows right back up after going into debug mode or restarting visual studio. I have tried every thing to fix all the way to reinstalling VS with no luck. Does any one have a solution for this? ...

why can not create instance from any class out side of constructor?

why i generate instance outside of class. i give inheritance snifC to sinifD i need to create instance sinifC sinifc= new sinifC() in SinifD out side of constructor? public class sinifC { public void method3() { Console.WriteLine("Deneme3"); } } public class sinifD : sinifC { ...

C# Unit Test framework for Visual Studio?

Hallo all, My director told me that there is a Unit Test framework for Visual Studio from Microsoft, but didn't know what is the name of this tool. Could anyone of you give a hint on it? Thanks in advance, John ...

Is it possible to profile memory usage of unit tests?

I'm looking at building some unit tests to ascertain if resources are leaking (or not) using the unit testing framework that comes with Visual Studio. At present, I'm evaluating the latest version of ANTS Profiler, but I can't quite work out if it allows me to force a snapshot from code (so that I can take a snapshot, run a unit test a ...

How can I change the font and color settings for js files in Visual Studio 2010?

I don't see where in the fonts and colors settings javascript settings can be changed. ...