Debugging simple ASP.NET Core 2.1.5 template with Visual Studio 2017












0















Have been beating on this for a couple days now. Created a simple ASP.NET Core app using template in Visual Studio 2017 Professional with all the latest updates. When I try to debug I get this:



enter image description here




  • I'm running VS as admin

  • set the startup project correctly

  • cleaned and build solution

  • all packages loaded fine

  • and I have been using VS for a very long time professionally.


All the "Start" options are grayed out and debug start option has "start" when it should say "IIS Express".



enter image description here



Tried this with several different canned templates across 3 different development machines. They all have the same problem.
Checked many posts and tried pretty much everything I can think of. I have not uninstalled everything and reinstalled yet but probably soon.



Here is where it gets strange. Loaded the "Community" Version and it works great with the same solution. Still does not in "Professional". Then created a new solution with template on my Mac Visual Studio and it also worked great.
I have VS Professional and Enterprise loaded on all three of my dev computers with same result. Making me crazy. Trying to make the switch to all the new Microsoft Core frameworks. This is my first post so be gentle;-)










share|improve this question





























    0















    Have been beating on this for a couple days now. Created a simple ASP.NET Core app using template in Visual Studio 2017 Professional with all the latest updates. When I try to debug I get this:



    enter image description here




    • I'm running VS as admin

    • set the startup project correctly

    • cleaned and build solution

    • all packages loaded fine

    • and I have been using VS for a very long time professionally.


    All the "Start" options are grayed out and debug start option has "start" when it should say "IIS Express".



    enter image description here



    Tried this with several different canned templates across 3 different development machines. They all have the same problem.
    Checked many posts and tried pretty much everything I can think of. I have not uninstalled everything and reinstalled yet but probably soon.



    Here is where it gets strange. Loaded the "Community" Version and it works great with the same solution. Still does not in "Professional". Then created a new solution with template on my Mac Visual Studio and it also worked great.
    I have VS Professional and Enterprise loaded on all three of my dev computers with same result. Making me crazy. Trying to make the switch to all the new Microsoft Core frameworks. This is my first post so be gentle;-)










    share|improve this question



























      0












      0








      0








      Have been beating on this for a couple days now. Created a simple ASP.NET Core app using template in Visual Studio 2017 Professional with all the latest updates. When I try to debug I get this:



      enter image description here




      • I'm running VS as admin

      • set the startup project correctly

      • cleaned and build solution

      • all packages loaded fine

      • and I have been using VS for a very long time professionally.


      All the "Start" options are grayed out and debug start option has "start" when it should say "IIS Express".



      enter image description here



      Tried this with several different canned templates across 3 different development machines. They all have the same problem.
      Checked many posts and tried pretty much everything I can think of. I have not uninstalled everything and reinstalled yet but probably soon.



      Here is where it gets strange. Loaded the "Community" Version and it works great with the same solution. Still does not in "Professional". Then created a new solution with template on my Mac Visual Studio and it also worked great.
      I have VS Professional and Enterprise loaded on all three of my dev computers with same result. Making me crazy. Trying to make the switch to all the new Microsoft Core frameworks. This is my first post so be gentle;-)










      share|improve this question
















      Have been beating on this for a couple days now. Created a simple ASP.NET Core app using template in Visual Studio 2017 Professional with all the latest updates. When I try to debug I get this:



      enter image description here




      • I'm running VS as admin

      • set the startup project correctly

      • cleaned and build solution

      • all packages loaded fine

      • and I have been using VS for a very long time professionally.


      All the "Start" options are grayed out and debug start option has "start" when it should say "IIS Express".



      enter image description here



      Tried this with several different canned templates across 3 different development machines. They all have the same problem.
      Checked many posts and tried pretty much everything I can think of. I have not uninstalled everything and reinstalled yet but probably soon.



      Here is where it gets strange. Loaded the "Community" Version and it works great with the same solution. Still does not in "Professional". Then created a new solution with template on my Mac Visual Studio and it also worked great.
      I have VS Professional and Enterprise loaded on all three of my dev computers with same result. Making me crazy. Trying to make the switch to all the new Microsoft Core frameworks. This is my first post so be gentle;-)







      c# visual-studio visual-studio-debugging asp.net-core-2.1






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 22 '18 at 2:50









      Leo Liu-MSFT

      19.4k22333




      19.4k22333










      asked Nov 21 '18 at 23:36









      Jeff PetrieJeff Petrie

      32




      32
























          2 Answers
          2






          active

          oldest

          votes


















          0















          Debugging simple ASP.NET Core 2.1.5 template with Visual Studio 2017




          First, please make sure you do not have Multiple Startup Projects enabled:



          enter image description here



          Second, excluded the project from the solution and then build solution without it. Then add that project and build solution and set that project as Start Up project.



          Third, if above not help you, try to restart the Visual Studio and PC, and create other project type app to check if still have this issue.



          Hope this helps.






          share|improve this answer
























          • This is single project solution so confirmed startup options(as above) and have done multiple reboots during my investigations. Created several simple template solutions. They debug with the community version but not professional. Thx.

            – Jeff Petrie
            Nov 22 '18 at 16:09











          • It seems your professional has some issue, have you try to repair or reinstall the professional Visual Studio?

            – Leo Liu-MSFT
            Nov 28 '18 at 6:11



















          0














          Sorry for the delay in answering this but it may help others. The answer was re-install Visual Studio 2017. I got things going on some other Dev boxes I have but last night I had the time to circle back on this problem from the original computer.
          This computer had VS 2013, VS 2015 and VS 2017 installed on it. I uninstalled everything, rebooting a few times in the process and then installed the latest VS 2017. Problem solved!
          I really hate when the answer is uninstall and re-install solves the problem, but sometimes that's just the answer.
          Thanks Leo, you were spot on.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53421945%2fdebugging-simple-asp-net-core-2-1-5-template-with-visual-studio-2017%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0















            Debugging simple ASP.NET Core 2.1.5 template with Visual Studio 2017




            First, please make sure you do not have Multiple Startup Projects enabled:



            enter image description here



            Second, excluded the project from the solution and then build solution without it. Then add that project and build solution and set that project as Start Up project.



            Third, if above not help you, try to restart the Visual Studio and PC, and create other project type app to check if still have this issue.



            Hope this helps.






            share|improve this answer
























            • This is single project solution so confirmed startup options(as above) and have done multiple reboots during my investigations. Created several simple template solutions. They debug with the community version but not professional. Thx.

              – Jeff Petrie
              Nov 22 '18 at 16:09











            • It seems your professional has some issue, have you try to repair or reinstall the professional Visual Studio?

              – Leo Liu-MSFT
              Nov 28 '18 at 6:11
















            0















            Debugging simple ASP.NET Core 2.1.5 template with Visual Studio 2017




            First, please make sure you do not have Multiple Startup Projects enabled:



            enter image description here



            Second, excluded the project from the solution and then build solution without it. Then add that project and build solution and set that project as Start Up project.



            Third, if above not help you, try to restart the Visual Studio and PC, and create other project type app to check if still have this issue.



            Hope this helps.






            share|improve this answer
























            • This is single project solution so confirmed startup options(as above) and have done multiple reboots during my investigations. Created several simple template solutions. They debug with the community version but not professional. Thx.

              – Jeff Petrie
              Nov 22 '18 at 16:09











            • It seems your professional has some issue, have you try to repair or reinstall the professional Visual Studio?

              – Leo Liu-MSFT
              Nov 28 '18 at 6:11














            0












            0








            0








            Debugging simple ASP.NET Core 2.1.5 template with Visual Studio 2017




            First, please make sure you do not have Multiple Startup Projects enabled:



            enter image description here



            Second, excluded the project from the solution and then build solution without it. Then add that project and build solution and set that project as Start Up project.



            Third, if above not help you, try to restart the Visual Studio and PC, and create other project type app to check if still have this issue.



            Hope this helps.






            share|improve this answer














            Debugging simple ASP.NET Core 2.1.5 template with Visual Studio 2017




            First, please make sure you do not have Multiple Startup Projects enabled:



            enter image description here



            Second, excluded the project from the solution and then build solution without it. Then add that project and build solution and set that project as Start Up project.



            Third, if above not help you, try to restart the Visual Studio and PC, and create other project type app to check if still have this issue.



            Hope this helps.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 22 '18 at 6:12









            Leo Liu-MSFTLeo Liu-MSFT

            19.4k22333




            19.4k22333













            • This is single project solution so confirmed startup options(as above) and have done multiple reboots during my investigations. Created several simple template solutions. They debug with the community version but not professional. Thx.

              – Jeff Petrie
              Nov 22 '18 at 16:09











            • It seems your professional has some issue, have you try to repair or reinstall the professional Visual Studio?

              – Leo Liu-MSFT
              Nov 28 '18 at 6:11



















            • This is single project solution so confirmed startup options(as above) and have done multiple reboots during my investigations. Created several simple template solutions. They debug with the community version but not professional. Thx.

              – Jeff Petrie
              Nov 22 '18 at 16:09











            • It seems your professional has some issue, have you try to repair or reinstall the professional Visual Studio?

              – Leo Liu-MSFT
              Nov 28 '18 at 6:11

















            This is single project solution so confirmed startup options(as above) and have done multiple reboots during my investigations. Created several simple template solutions. They debug with the community version but not professional. Thx.

            – Jeff Petrie
            Nov 22 '18 at 16:09





            This is single project solution so confirmed startup options(as above) and have done multiple reboots during my investigations. Created several simple template solutions. They debug with the community version but not professional. Thx.

            – Jeff Petrie
            Nov 22 '18 at 16:09













            It seems your professional has some issue, have you try to repair or reinstall the professional Visual Studio?

            – Leo Liu-MSFT
            Nov 28 '18 at 6:11





            It seems your professional has some issue, have you try to repair or reinstall the professional Visual Studio?

            – Leo Liu-MSFT
            Nov 28 '18 at 6:11













            0














            Sorry for the delay in answering this but it may help others. The answer was re-install Visual Studio 2017. I got things going on some other Dev boxes I have but last night I had the time to circle back on this problem from the original computer.
            This computer had VS 2013, VS 2015 and VS 2017 installed on it. I uninstalled everything, rebooting a few times in the process and then installed the latest VS 2017. Problem solved!
            I really hate when the answer is uninstall and re-install solves the problem, but sometimes that's just the answer.
            Thanks Leo, you were spot on.






            share|improve this answer




























              0














              Sorry for the delay in answering this but it may help others. The answer was re-install Visual Studio 2017. I got things going on some other Dev boxes I have but last night I had the time to circle back on this problem from the original computer.
              This computer had VS 2013, VS 2015 and VS 2017 installed on it. I uninstalled everything, rebooting a few times in the process and then installed the latest VS 2017. Problem solved!
              I really hate when the answer is uninstall and re-install solves the problem, but sometimes that's just the answer.
              Thanks Leo, you were spot on.






              share|improve this answer


























                0












                0








                0







                Sorry for the delay in answering this but it may help others. The answer was re-install Visual Studio 2017. I got things going on some other Dev boxes I have but last night I had the time to circle back on this problem from the original computer.
                This computer had VS 2013, VS 2015 and VS 2017 installed on it. I uninstalled everything, rebooting a few times in the process and then installed the latest VS 2017. Problem solved!
                I really hate when the answer is uninstall and re-install solves the problem, but sometimes that's just the answer.
                Thanks Leo, you were spot on.






                share|improve this answer













                Sorry for the delay in answering this but it may help others. The answer was re-install Visual Studio 2017. I got things going on some other Dev boxes I have but last night I had the time to circle back on this problem from the original computer.
                This computer had VS 2013, VS 2015 and VS 2017 installed on it. I uninstalled everything, rebooting a few times in the process and then installed the latest VS 2017. Problem solved!
                I really hate when the answer is uninstall and re-install solves the problem, but sometimes that's just the answer.
                Thanks Leo, you were spot on.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 4 at 11:58









                Jeff PetrieJeff Petrie

                32




                32






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53421945%2fdebugging-simple-asp-net-core-2-1-5-template-with-visual-studio-2017%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                    Alcedinidae

                    Can an atomic nucleus contain both particles and antiparticles? [duplicate]