Is there any way to get Visual Studio debugger to display the contents of an F# seq expression?
Visual Studio knows about IEnumerable<T> objects and gives you a results view inside the watch window. If you look at one of these in the watch window you get a mess of private fields.
Some potential alternatives:
fsi.exe does a nice job o...
What is the purpose of the Call Stack window in Visual Studio?
...
How can i model aggregation in VS 2008 class designer??
...
R# 4.5 (answers to 5 are welcome)
VS2008 (answers to VS2010 are welcome)
C# (FWIW)
I'm using a constructor (the question applies for methods, too), and there's Intellisense:
I don't yet have a value to specify for this first parameter, "firstName". Today, I type "firstName", then let the IDE create that variable for me (which I init...
I've got a problem with Visual Studio Designer's convention of setting the text in a TextBox to the name of the control. I've got a control that accepts a Social Security Number, and the Text property is overridden so as to throw an exception if the text is not in the correct format (e.g. 123-45-6789 or 123456789). When I try to use th...
I'm trying to build a Visual Studio add-in.
For long-winded reasons (to do with using disassembled assemblies courtesy of .NET Reflector) I removed the reference to the EnvDTE assembly, then re-added it. My project still builds without any problems but when I run my project I get the following exception.
System.IO.PathTooLongException ...
We are using Visual Studio 2008 for our development of our core product. We have a C# solution with roughly 5 projects and 250 data sources.
It takes anywhere from 15-25 seconds any time I do either Data > Show Data Sources, or if I click a (DataBindings) control property drop-down to bind a value of a control to a Data Source.
Aside ...
While working within C++ libraries, I've noticed that I am not granted any intellisense while inside directive blocks like "#ifndef CLIENT_DLL ... #endif". This is obviously due to the fact that "CLIENT_DLL" has been defined. I realize that I can work around this by simply commenting out the directives.
Are there any intellisense opti...
I have Visual Studio 2010 professional installed.
If I install Visual Studio Express for Phone 7, will Visual Studio 2010 still work?
...
Realizing that this could be subjective based on the project at hand, I'm looking for the "best practice" method of structuring a VS Solution.
Please feel free to edit this, comment on what you think might be incorrect, suggest alternatives, etc. I'd love to see this CW grow into a great resource for people just starting with VS Soluti...
In the CSS Outline, Visual Studio has a folder titled, "@ Blocks" . What is it talking about?
...
Development Environment :
- VS2010
- .Net Framework 4.0, 3.5, 2.0
Staging and Production Environments:
- .Net Framework 3.5, 2.0
The project I'm working on is targeting .Net Framework 3.5. And today I used optional parameters feature, which is new to C#4, in this project and it worked fine. I think VS2010 is using C#4 compiler and is c...
Hi, I have created a deployment project using VS 2005. By default, files are installed in AppDataFolder. There are also 2 string values added to the registry during the installation. These registry values represent the path to some dll files found in the install dir.
When the user chooses the default installation directory everything wor...
Hi,
I've having trouble adding a rtf file to license agreement installation window, does anyone have any tips to get it working.
Thanks.
...
I am reading this (Excel Tasks) to automate some Excel operations in VS2008 C#
http://msdn.microsoft.com/en-us/library/syyd7czh%28v=VS.80%29.aspx
But I couldn't find how to delete a column (or multiple columns).
eg. How to delete column C and shift the rest left?
Thanks in advance.
...
Hello,
I have a xml file in my desktop. When I try to open it in my browser it shows a a normal text without wordwrap.
I tried to create a webService using VS.net 2008 and when I try to open the WSDL file it shows as blank.
Please help
...
I have a list like this:
Red
Red
Brown
Yellow
Green
Green
Brown
Red
Orange
I am trying to do a SELECT UNIQUE with LINQ, i.e. I want
Red
Brown
Yellow
Green
Orange
var uniqueColors = from dbo in database.MainTable where dbo.Property == true select dbo.Color.Name;
I then changed this to
var uniqueColors = from dbo in database.Ma...
Hi,
Is there any portable version of Visual Studio (2005, 2008, 2010..)? Is it possible to use VS on a computer without installing the whole package? Virtual machines or alternative IDEs such as SharpDevelop are unfortunately out of the question.
Thank you.
...
In VS 2008 >>> Server Explorer when I set new connection using following connection string. Connection established and following query also show data.
Problem
I am not able to see list of tables in Server Explorer window.
Connection Strings
Driver={MYOAU0901};server=OpenRDA;database=C:\Premier125\Clearwtr.MYO;uid=Administrator;type=M...
Hello,
Is it possible to set option that for example:
I have object Object1
After typeing a dot after it there are displayed all properties methods, event and so on
Object1.
These are in alphabetical order.
Is it possible to order it by tyoe for example only events or only Properties ?
I also have resharper
Thanks for help
...