Visual Studio

Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: https://connect.microsoft.com/visualstudio.

To review the current UserVoice statuses and their definitions, please review our “What Does the Status of My Feedback Mean?” article.

We would also like to invite you to check out the Announcements section we have added to this site, where we will be posting special opportunities for you to participate in.

We look forward to hearing from you!

The Visual Studio Team
Terms of Service and Privacy Policy

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Visual studio 2012 Update 4 is not genrating a .mdf file nor .trx file for codedui test executions, it is difficult to track executions.

    After execution ( Like in VS2010) it should genertae a .trx or .mdf file in the TestResults folder whihc will be easier to track TestExecution Results.

    8 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    • Add tail call elimination to the C# compiler

      Sometimes algorithms can be expressed far more elegantly in a tail-recursive form. The problem with that is the memory footprint, and possibly overflowing the stack. Though the 64bit JIT'er may sometimes decide to optimise the tail call, there are no guarantees, leaving you with no choice than to re-write the algorithm, avoiding tail calls. Having the compiler eliminate tail calls would let developers express algorithms in different ways, which may be more suited for the problem, while also helping developers who are not aware that their tail recursive algorithms may be problematic.

      8 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      • In ModelMetada class in mvc2, if property is returning IEnumerable then there is no need to check for null.

        public virtual IEnumerable<ModelMetadata> Properties {
        get {
        if (_properties == null) {
        _properties = Provider.GetMetadataForProperties(Model, RealModelType);
        }
        return _properties;
        }
        }

        8 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
        • Integrate PHP language with PDO extension for MySQL.

          There should be ability to use the online powerful PHP functions inside any C# application, as PHP is nowadays is very advanced and reliable language for online processes (server side)... and let other functions (C# functions) to care about the offline properties (local side)...
          PHP Check for files online, get values, also in logging in/out for online applications, and sure the most important point in integrating PHP language inside C# applications is to have PDO extension to connect to the online MySQL databases and function with them.

          8 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
          • Enum Type Inference

            Allow skipping the enum type qualifier when it can be inferred.

            Example:

            enum SelectKind
            {
            All,
            Single
            None,
            }

            public void Select(SelectKind kind)
            {
            switch(kind) {
            All: ....
            Single: ....
            }
            }

            Select(All);

            And privide an 'SelectKind.All and All is ambiguous' if there's some other symbol called All.

            8 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
            • Unable to copy file "obj\x86\Debug\*.exe" to "bin\Debug\*.exe". The process cannot access the file 'bin\Debug\*.exe' because it is being use

              i am using Microsoft Visual Studio 2010 Professional (Evaluation version), whenever i build my project, i am facing this error "Unable to copy file "obj\x86\Debug\*.exe" to "bin\Debug\*.exe". The process cannot access the file 'bin\Debug\*.exe' because it is being used by another process."

              After seeing this error, i used to close Visual Studio & check for processes in Task Manager (by pressing ctrl+alt+delete), and close process indicating myprojectname.exe, then open Visual Studio and build my project again, it shows 'Build succeeded' and .exe file executes. But, after 2-3 time execution of .exe file, i see the same error and it shows…

              8 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                3 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
              • Add Mixin support

                Composition is always a pain when we have to bind all method from interface to object that really implement it

                The code often looks like messy and complex for nothing.

                Maybe this Jon Skeet's idea could solve this:
                http://stackoverflow.com/a/255621

                8 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                • C# Feature Request: "Key" Fields in Anonymous Types

                  In VB.NET I'm used to doing things like this when creating anonymous types:

                  Dim prod1 = New With {
                  Key .Name = "paperclips",
                  Key .Price = 1.29,
                  .OnHand = 423
                  }

                  It would be useful for this feature to exist in C#.

                  8 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                  • Add a Feature to Code Editor to provide live hints for better coding..

                    Add a live Code Intellisence feature for better coding.
                    rewriting the syntax and find un used variables with color highlighting
                    syntax replaces and exceptions..

                    7 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                    • Add c++ const/mutable equivalent like in C++ into .NET

                      1)
                      When develop common libraries it is hard to protect data from 3rd side modifications.
                      It is require deep copy what sometimes not acceptable (due to performance or memory issues),
                      In native C++ was really cool thing: const/mutable modifiers for classes, functions and function parameters.
                      It should be really nice if it will be added into one of next version of C#.

                      2)
                      Sometimes it is cool to mark some variable as final (to notice that it shall not be modified in rest of a function.
                      In C++ was great thing const for variables in methods.
                      It is also highly…

                      7 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                      • C#/VB.NET/F# should support Logic Programming

                        C# should implement Logic Programming, similar to P# (Prolog for .NET).

                        This programming paradigm will allow implicit knowledge representation and problem solving by logical induction.

                        A simple example is programming a sudoku game, where the logic is represented by constraints (constraints).
                        Other uses are machine learning (inductive logic) and mathematical frameworks (functional logic).

                        http://en.wikipedia.org/wiki/Logic_programming

                        7 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                        • Add a new "View" option to ListView.

                          VerticalList

                          ListBox lacks functionality and ListView is the next best thing. The only problem is the fact that if I want a vertical list, I have to put it in details mode, add a column and then set HeaderStyle to none.

                          Wouldn't it be better to just have a vertical list option?

                          7 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                          • Value arrays with constant length

                            Now you only can create an array with an extra indirection, because arrays are objects, and you access it through that reference. An array that is **** out in memory like in C++ would be pleased, it would mean much in performance in some cases. (Not just because of the lack of the extra indirection but it could be **** in memory right next to its related datas.)

                            now: int[] playerPoints=new int[4];
                            desired sg. like: int[4] playerPoints; // where "playerPoints" is not of a reference type, but a value type

                            7 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                            • Add const keyword to method/parameter signatures in C# (Similar to C++?)

                              Add support for a const keyword that can be applied to method parameters,

                              e.g. public void MyMethod(const MyClassA myInstance);

                              It would prevent any state changes to MyClassA and any instances referenced by MyClassA for the life time of the method invocation.

                              This would inform clients at compile time whether a method is likely to be corrupted or changed.

                              I believe this is similar to how the const keyword behaves in C++?

                              7 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                              • Add new C# statement for case-insensitive "switch()"

                                I've previously posted this on Connect - https://connect.microsoft.com/VisualStudio/feedback/details/566079/add-new-c-statement-for-case-insensitive-switch

                                The C# 'switch' statement does not allow for performing any kind of case-insensitive comparison for 'case' values.

                                7 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                • Add a programming model for Regions

                                  Regionizer is an open source Visual Studio 2010 package (will be converted soon to 2012) that formats code into regions;

                                  I have been told that Regions do not have direct object model in the DTE, that the values are stored in the .suo file for each user.

                                  Please allow a programmable way to collapse all regions.

                                  7 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Allow exclusion of some namespaces from remove and sort unused usings

                                    Allow exclusion of some namespaces from remove and sort unused usings. I like to keep my usings / imports minimal but would prefer to always have System and System.Linq for example. Giving me an exclusion list would give me this functionality. Also the ability to set remove and sort unused using to happen on file save would be useful.

                                    7 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                    • C#, official access to private members...

                                      Official access to private members to avoid Reflection calls and Expression compilations in real world C# applications.
                                      Please check the attachment.
                                      Regards from Germany
                                      Christian Ohle

                                      7 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Improvement to c# to add the ability to implement a new interface for any non-sealed class

                                        Add the ability to implement a new interface for any non-sealed class; in addition to extension methods have extension interfaces. The google Go language already has that. For instance if I could add the IComparable<> and IComparable interfaces to Regex Match I could add Match instances to a Sop.Collections.Generic.BTree.BTreeDictionary

                                        7 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Allow intellisense in C# Preprocessor Directives

                                          When working with preprocessor directives, you don't have intellisense in some conditional directive parts.
                                          ( http://msdn.microsoft.com/en-us/library/ed8yd1ha.aspx )

                                          When working in Debug mode:

                                          #if debug
                                          // intellisense works here
                                          #else
                                          // no intellisense here when typing
                                          #endif

                                          It would be great if we could have intellisense here.

                                          7 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                          1 2 9 11 13 37 38
                                          • Don't see your idea?

                                          Feedback and Knowledge Base