locked
I cannot publish files via Keyboard Command in Visual Studio 2013 Communty (Command Not available) RRS feed

  • Question

  • This has been an absolutely dire issue since I started using Visual Studio 2013 Community. I've always had issues using ALT + ; + P to publish and now I can't use it at all. 

    Symptoms:

    • Under Keyboard Shortcuts, I have two duplicate entries for Project.Publishselectedfiles
    • The first one is blank and the second one contains the Alt + ; + P binding. 
    • Generally speaking, every time I open up Visual Studio 2013 I have to re-bind the blank one to Alt + ; + P because that's the one that actually works and the other ones is fake/does nothing. 

    If I don't follow those steps I get this at the bottom of my screen, regardless of what state Visual Studio is in (e.g. it doesn't happen because I'm debugging or I have the wrong window selected). 

    "The key combination (Alt + ;, Alt+P) is bound to command (Publish selected files) which is not currently available."

    Recently even that has not solved the problem and I just flat-out can't publish in this manner. This is ridiculous because I can still publish if I go to the Project menu and click on the option. What's going on here? It feels like the primary issue is my keyboard shortcuts which I've tried resetting but they always revert when I start the application again. 

    Add-Ons I Am Using: 

    • DevSense PHP Tools for Visual Studio - Activated. 

    Note: This problem happens for both PHP and regular ASP Web Application projects. 

    I have screenshots but unfortunately I'm not "verified" so I can't post them. I forgot this is 2015 and regular e-mail verification apparently just isn't enough protection against the pervasive plague of spam MSDN faces. 

    Friday, February 27, 2015 10:40 PM

All replies

  • Hi S. Cooper CSUF,

    >>"The key combination (Alt + ;, Alt+P) is bound to command (Publish selected files) which is not currently available."

    I could repro this issue in my side using the same VS version, but my understanding is that this keyboard is not used to publish the projects.

    I could prove it in my side. For example:

    I custom the keyboard for Buid.PublishSelection with the same command (Alt + ;, Alt+P).

    If you open your build menu, you could get the keyboard for publish option.

    So I think the real issue is that the specific command line is not related to the web project published.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, March 3, 2015 6:38 AM
  • Whatever the default commend fir Alt + ; + p is, that's what I want. I think the PHP Devsense tools messed with the keyboard shortcuts and I  tried to reset them but it didn't work.

    Out of the box with no add-ons, Alt + ; + P has always been what I used to publish the file I currently have selected or any number of files I have selected in the Solution Explorer view. I have no idea why it randomly stopps working.

    I currently have two "Project.Publish" enties in the keyboard commends and as long as I bind one of them to "Alt + ; + P" it will work. Which one seems to be a toss-up.

    Alt + ; + P has never been bound to "Buld.PublishSelection" for me; I have never used that command and got a pop-up window with the publish options.

    I don't have the luxury of having PHP or MySQL installed at work so I don't really have a choice but to debug via Publishing which means I really need the rapid, keyboard-only publishing of a program like dreamweaver (Ctrl + U uploads any selected files or the currently active file via FTP).

    Alt + ; + P seems to do that but I just can't reliably keep it working between restarting the program. Project.PublishSelectedFiles is definitely what I want because it works; it does exactly what I want it to do (Instantly publishes using the last configured publish profile). My issue is just that I have two identical entries for it for some weird reason; one doesn't work and it keeps becoming the default.

    Saturday, March 14, 2015 5:01 AM
  • Hi S. Cooper CSUF,

    Thanks for your friendly response.

    It seems that you didn't publish a web project, you mean that you published a selected file in a project, am I right?

    >>DevSense PHP Tools for Visual Studio - Activated.

    >>Out of the box with no add-ons, Alt + ; + P has always been what I used to publish the file I currently have selected or any number of files I have selected in the Solution Explorer view. I have no idea why it randomly stopps working.

    Since we didn't support the specific extension tool like the PHP tool, to really repro this issue, could you share us how you publish a selected file in solution explorer window? Which kind of project did we have to create? Could you share us a screen shot about it? If we didn't install the PHP extension tool, could we create the default web project and repro this issue in the default VS2013 community version?

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, March 16, 2015 5:46 AM