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: http://connect.microsoft.com/visualstudio.

ASP.NET Runtime/Web Tooling suggestions have moved! All your ideas, including your votes, have been transferred and are searchable in the ASP.Net Uservoice forum. Please submit any new ASP.NET Runtime/Web Tooling suggestions, or vote on existing suggestions by going to http://aspnet.uservoice.com.

We look forward to hearing from you!

Thanks – Deon Herbert
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 vote and comment on it.

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

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

  • Hot ideas
  • Top ideas
  • New ideas
  1. Entity Framework Code First, then Other Next.

    Entity Framework Code First is nice to start off with when you got an idea you want to try. But once you get to a certain number of classes, you may want to flip a switch in Visual Studio and start working from database or model and have the classes be generated from there. It would be great to be able to switch back and forth quickly.

    6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
    • Allow Partial Properties. Seperate Logic from "Structure" as in Entity Framework

      Recently I have been getting into Entity Framework, but don't like the idea that some of the Entity classes are doing somewhat too much.

      To fix this, I wanted to make my Entity class file partial, and implement the data access functionality away from the other aspects of the class.

      While I was doing that, I figured it would be greatly beneficial to make my properties partial, and have the implementation away from the Annotations!! This would clear up the files and allow separation of concerns. Because of Entity Framework (and not liking the format for auto-generated annotations) you have…

      6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
      • Add smooth streaming media element to WPF

        Currently you can play smooth streaming media from silverlight and winrt, but not from a desktop application! (Or windows media player for that matter)

        6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
        • Path.TryGetAvailableSpace(path,SpaceEnum.UserWritable)

          This should work. I should be able to "try" this on any file system (unc, junction, mount point, network, dvdrw) without pinvoke.

          if (Path.TryGetAvailableSpace(var writablespace,path,SpaceEnum.UserWritable) > x) && writablespace < 123) { ... fail ... }

          6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
          • Support for "dpi aware" bitmaps in WPF

            An article on MSDN (http://msdn.microsoft.com/en-us/library/ms701681.aspx) recommends providing bitmaps in several sizes for each graphic. This is a very good idea, and there should be built-in support for this in WPF.

            Example:

            <Image Source="myBitmap.ico" Width="16" Height="16" />

            Then, depending on the dpi setting, WPF automatically will select that bitmap in the ico file whose size matches best the required pixel size (i.e. 96 dpi -> 16x16 pixels, 120 dpi -> 20x20 pixels etc.).

            This, of course, is only an example of how it could be implemented, there might be better ways.

            6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
            • Add 'Toggle' Method for Booleans

              I have often found myself typing the following conditional statement:
              If Panel.Visible = False Then
              Panel.Visible = True
              Else
              Panel.Visible = False
              End If

              And it hit me that life would be so much easier if there was a 'toggle' method for booleans (Boolean.Toggle()) that automatically switched the value between true and false. More of a productivity suggestion than anything but I think it would make life so much easier.

              6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
              • Make the PtrToStructure method a true generic version.

                In .NET 4.5.1 the generic marshaling method for PtrToStructure and it's inverse gave hope in performance improvements. However developers found out it was merely a wrapper over the boxed version of those functions. Please recode these methods to truly utilize generics to avoid type boxing in using this function.

                6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                • Add modulus operation to BCL Math library

                  The currently existing remainder operator behaves the following way: the remainder may be negative if the dividend is negative. While this corresponds to the way it's taught in the school, this way is not particularly useful when using this operation in real-world applications.

                  The more useful way would be to have an operation (Math.Modulus?) which behaves the following way: the modulus is always a non-negative number not greater than the absolute value of divisor.

                  This function would have advantage over the traditional % operator.

                  Example 1: the check (x mod 2 == 1) would be true for all odd numbers…

                  6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                  • Add non-generic base class to TaskCompletionSource<T>

                    The TaskCompletionSource<T> class should have a non-generic base class that would implement the methods that are currently in TaskCompletionSource<T> and which don't operate on the result type.

                    Specifically these are: SetCanceled, SetException, TrySetCanceled, and TrySetException.

                    This would allow for canceling/failing a diverse collection of TaskCompletionSource objects without needing to know what the result type should have been.

                    6 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                    • Add AlternateContentPropertyAttribute to standard library

                      Since VS2012, in order to recognize alternate content of controls one has to decorate property with AlternateContentProperty [1]. This is quite common use case and Silverlight contains this attribute in its standard library.

                      Unfortunately the same is not true for WPF, where this attribute is present only in one of Visual Studio / Blend assemblies and therefore cannot be used directly. Instead, one has to go through much more laborious process of creating designer metadata assembly just to implement very basic functionality.

                      Please follow Silverlight and add this attribute to BCL.

                      [1] http://connect.microsoft.com/VisualStudio/feedback/details/764315/wpf-designer-does-not-recognize-children-of-custom-controls

                      5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                      • Disable Maximize Button of the Touch Keyboard in WPF Application

                        Disable Maximize Button of the Touch Keyboard from WPF Application.
                        This sample is work in Touch Screen.

                        5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                        • IdentityDbContext need more constructors

                          IdentityDbContext(DbConnection connection,bool bflag)
                          :base(connection,bflag)
                          {
                          }

                          So We can still use EFCachingProvider in EntityFramework 6

                          5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                          • When we make DB changes and refresh .edmx files the the code also refreshes

                            If there is a methord so that the changes are retained or the changes can be made in .edmx and directly reflects on DB.

                            5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                            • Integrating\hosting SQL Server In CLR or Visual Studio

                              Just like CLR hosting in SQL Server ...can we host whole SQL Server Execution Engine, Optimization Engine, Query Engine in CLR ? I think query engine is already integrated into Visual Studio tool. Is there any work is going on in Microsoft to achieve this ?

                              5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                              • add report Viewer control in WPF Application

                                use as in Windows application

                                5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                • Make the async operations of HttpWebRequest really asynchronous

                                  HttpWebRequest has 2 asynchronous operations:
                                  - BeginGetRequestStream, and the task-based equivalent GetRequestStreamAsync
                                  - BeginGetResponse, and the task-based equivalent GetResponseAsync

                                  Unfortunately, these methods are not really asynchronous:

                                  > The BeginGetResponse method requires some synchronous setup tasks to complete (DNS resolution,
                                  > proxy detection, and TCP socket connection, for example) before this method becomes asynchronous.
                                  > As a result, this method should never be called on a user interface (UI) thread because it might
                                  > take considerable time (up to several minutes depending on network settings) to> complete the
                                  > initial synchronous setup tasks before an exception for an error is thrown…

                                  5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                  • allow easy control extending in WPF

                                    wow. wpf doesnt even have a "category" here...
                                    anyway the problem is that its close to impossible to simply inherit a wpf control and add some binding info to it
                                    all i want is to inherit a textbox and add the typeconverter and/or the stringformat via code or usercontrol
                                    but cant figure it out
                                    heres a long discussion about it http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/8bcfeb09-aff6-4b29-8448-7c6a952d4d52

                                    5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Adding a service reference protected by form authentication

                                      A website is protected with forms authentication, and so is the WCF service hosted on this website. This service is consumed by a silverlight application, also hosted on this website (and only accessible to authenticated people).

                                      If in Visual Studio I add a reference to the service, because the service is protected by forms authentication, my request for metadata will be redirected to the login page and Visual Studio will fail to reference this service.

                                      What I would really expect when I enter an URL in the address field is a browser windows which only shows the service list if…

                                      5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Add More Windows API Definitions for Windows

                                        Please add a class for external windows like http://www.vbforums.com/showthread.php?t=644071&highlight=Window
                                        This would be very useful if it Contained ALL Windows Api Functions related to windows.

                                        5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Variable Active Scope

                                          static void Main(string[] args)
                                          {
                                          bool bTrue = true;
                                          //bTrue = !bTrue;
                                          if (bTrue)
                                          {
                                          int i = 0;
                                          }
                                          else
                                          {
                                          int i = 0;
                                          }
                                          int i = 0;//Variable "i" was disposed when exiting the "if scope" then why we can't declare it again
                                          }

                                          5 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base