Visual Studio IDE

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, you can visit our Developer Community website to get started. 

NOTE: The Applications Insights forum has moved to the Azure feedback site.

For suggestions for improvements to other developer products, see these sites:

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

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. APIs for taking screenshots and share

    Please, develop APIs for taking screenshots and can be shared on social media on uwp.

    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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    • Improve

      Hi All,
      I have something what can improve .NET and C# more further in cloud and cloud programing. Everything is prepared for analytics and developers. I've tried lot of contacts in microsoft but nobody helped me and nobody give to me better contact.

      So is here someone from Microsoft who could discuss with me? I can come to the Microsoft CZ and show you how far you can jump with this.

      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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      • I would like to see that the C# editor and compiler get XML support.

        I would like to see that the C# editor and compiler get something like XML support. It is very simple to integrate and extremely helpful at development time and furthermore, it allows unbelievably powerful new futures. Please check the attachment and for the case that it is interesting I could send test application and code examples.
        (I wrote an own c# compatible Compiler for fast runtime compilations)

        Regards from Germany
        Christian Ohle
        Free programmer

        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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
        • C#: Allow readonly fields to be modified from initialization methods

          To prevent replicated code in several constructors of a class it is nice to use initialization methods.
          But in this case, the readonly fields of the class are not allowed to be modified by the initialization method.

          Therefore i have to decide which technique i have to drop, readonly or initialization methods.

          Perhaps you can introduce an attribute [ConstructorOnlyInitializationMethod] (or named something else).
          Methods decorated by this attribute may modify the readonly fields and may be called just from constructors.

          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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
          • Move UserAppDataPath to another namespace than Forms

            In order to get the applications specific path within the current users appdata folder you have to use Application.UserAppDataPath right now. That is located within the System.Windows.Forms namespace.

            Since this information should not me limited to Forms it should be moved to a higher namespace

            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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
            • Add "as" option in foreach loop definition

              foreach( var item in SomeList as MyClass )
              {
              // here item is of type MyClass
              }

              equivalent to something like:

              foreach( var rawItem in SomeList )
              {
              var item = rawItem as MyClass;
              if( item == null ) continue;

              // here item is of type MyClass
              }

              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…)
                2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
              • Property Initializer

                In addition to get{} / set {} it would be handy to have an init {} block on Properties

                e.g. The new [CallerMemberName] allows us to call the following without hard coding the proprety names:

                protected bool SetProperty<T>(ref T storage, T value, [CallerMemberName] String propertyName = null)
                protected bool ValidateField([CallerMemberName]string propertyName = null) ....
                etc.

                where ValidateField runs any validations that have been defined for a given field:
                eg. protected Dictionary<string, Action<string>> Validations = new Dictionary<string, Action<string>>();

                The only hassle is that the Validations need to be defined seperate to the Property and so require the property name to be…

                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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                • Implement Wraps Keyword

                  It would be nice if the compiler could generate 'wrapper' classes for you,. This would look/be similar in style to inheritance, but works as a wrapper rather than derived class. The benefits would be faster and easier development, as well as reduced maintenance if wrapped types change. It would be of particular benefit when creating wrappers, proxies, deorators and mocks (the latter would therefore benefit anyone doing unit testing).

                  For a trivial/not real world example;

                  // The 'wraps System.IO.Stream' tells the compiler the subtype of value being wrapped. The compiler generates auto-pass through methods/properties from the wrapped type for any…

                  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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                  • Property setter value modifier

                    add support for changing property input.

                    like this:

                    public string property { get{....}, private int set{....}}

                    This property takes int (value type is int). but returns string.

                    then we dont have to do some logic(ex: converting) outside property.

                    thanks

                    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…)
                      2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                    • Make MVVM easier to implement

                      SO MUCH BOILERPLATE CODE, and need for third party tools, it's ridiculous. You need to make it dead simple to implement all aspects of MVVM, from databinding, to commanding, to navigation, and state management. I shouldn't need to add so much basic stuff for something MS is encouraging everyone to do.

                      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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                      • inner keyword for getters and setters

                        private string _name;
                        public string Name
                        {
                        get
                        {
                        return _name;
                        }
                        set
                        {
                        _name = value;
                        }
                        }

                        This private member used merely for the public property itself could be handled by a context related keyword, like "inner"

                        public string Name
                        {
                        get
                        {
                        return inner;
                        }
                        set
                        {
                        inner = value;
                        }
                        }

                        Just using { get; set; } is not allways sufficient. With INotifyPropertyChanged, you will have lots of boilerplate code otherwise.

                        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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                        • Create method stub at cursor's position

                          After you select the class/method from the dropdowns in the navigation bar, the method stub is appended at the end of the current file ( (A) in the attached picture).
                          I wish this could be changed, e.g., the code will be placed at the current position of the cursor ( (B) in the attached picture).

                          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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                          • C# Interactive Window: "Initialize Interactive with Project" should also load config file

                            If testing a module that has a dependency on a config file value (connection string, for instance), the current implementation of "Initialize Interactive with Project" creates an interactive environment where modules will fail because the config file information is not loaded into the interactive environment. This makes testing with C# interactive useless for any such modules.

                            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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                            • Allow await operator in non-async methods

                              I'd like of a simple syntax sugar for semantics purposes:

                              void SyncMethod()
                              {
                              await AsyncMethod();
                              }

                              That would be equivalent to:
                              void SyncMethod()
                              {
                              AsyncMethod().Wait();
                              }

                              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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                              • Please support CocosSharp and dont abandone like XNA

                                Why is CocosSharp abandond? is this the next XNA project hacked?

                                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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                • traceof special word

                                  One of biggest problems in computer programming is determining when a variable changes its value.
                                  The typical problem is: “When X is changed so…” or “Before X is changed…”.
                                  This is the main problem in bindings scenarios but also in a lot of other cases.

                                  We can separate problem in two main problem:

                                  1) When X is changed?
                                  2) When A.B.C.D.E.X is changed?

                                  At the moment the solution require to define a lot of redundant code.
                                  Typically we must define an XProperty closely related to X property. If we want to trace A.B.C.D.E.X we must define the same pattern for…

                                  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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                  • property auto-initializer

                                    When declaring member properties with auto initializers, have the compiler be smart about the type of the property.

                                    e.g.

                                    public MyCustomClass<string> MyString { get; set; } = new; // compiler knows it is MyCustomClass<string>, so automatically adds/calls default constructor

                                    or allow inferred definitions

                                    public class MyClass
                                    {
                                    var MyString {get; set;} = "hello world"; // property type inferred from auto-initializer
                                    }

                                    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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                    • When you're implementing an interface, carry over the comments

                                      When I create an interface, and add comments to the method signatures, then implement the interface, the comments don't carry over

                                      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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                      • T should be castable to ValueTask<T>

                                        T should be castable to ValueTask<T>
                                        as it were in the early bits.
                                        public static implicit operator ValueTask<TResult>(TResult result) => new ValueTask<TResult>(result);

                                        this will enable much nicer API when working with delegate that return ValueTask<T> for synchronous flow.

                                        for example: the following method
                                        Task CallPetentialAsync(Func<ValueTask<int>> f)

                                        can be called as follow
                                        await CallPetentialAsync(() => 42);

                                        instead of
                                        await CallPetentialAsync(() => new ValueTask<int>(42));

                                        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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Add access modifiers in interface

                                          I think we need a posibility to add access modifier to interface method or property so we will be able to write something like

                                          interface ITest
                                          {
                                          string Name { get; private set; }

                                          private void DoSomething();
                                          }

                                          Even if it is not possible with methods, it is possible with properties, i am sure

                                          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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                          1 2 8 10 12 34 35
                                          • Don't see your idea?

                                          Feedback and Knowledge Base