In Windows 10, when using Windows Explorer, "Winmerge" context menu execution does not do anything. In other words, when clicking on the "WinMerge" option in the right-click contextual menu, nothing happens.
I've tried both WinMerge-2.16.0-x64-Setup.exe and WinMerge-2.16.0-Setup.exe
I have had the same problem. The solution for me was:
Checking the box "Add WinMerge folder to your system path".
When running the -Setup.exe, make sure you right-click it, and select "Run as administrator". ;-) Yep. That simple.
Related
First of all, I just wanted to mention that I am using the win10 context menu in win11. How I changed it from win11 context menu to win10 context menu, I don't remember. So, few days back I uninstalled Lapce from my lappy, but whenever I right-click anywhere on the desktop, an option for "Open Lapce Here" is also shown in the context menu. This doesn't happen what I right-click on files/folders.
Does anybody have a solution?
I didn't do anything...
I sometimes forget to open VS as administrator or some other IDE such as titanium.
is there any way to specify under windows that I want a program to always run as administrator?
Right click and open "Properties".
Click on "Advanced Button" at the bottom of the "Shortcut" tab
Check "Run as administrator"
there are two ways to accomplish this.
appcompat: create a shortcut, open its properties, click "compatibility", check "run as administrator.
manifests: you can add a manifest to exe files to tell windows what privilege level is required. more details on this here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa375365%28v=vs.85%29.aspx
you want especially the "requireAdministrator" flag
http://msdn.microsoft.com/en-us/library/bb756929.aspx
if you need more detailed explanations just ask, i have a manifest template on another computer i can post if you want.
If you're running W7 then yes - right click the short cut and look at Properties > Advanced Properties. You should see an option there to "Run as Administrator"
Yes, you can. These works on Windows:
Right click on the icon of the program -> Properties -> Compatibility -> "Run this program as administrator"
Next time you will use it as administrator.
To accomplish this I've been right-clicking the file or directory and then selecting Show in Windows Explorer, and then copying the path out of the address bar.
Is there an add-on or macro that can make this task easier?
I'm aware that you can drag a file from Solution Explorer into the editor and it will write out the path, but when doing web development I don't always want the server path, sometimes I want the local path.
Look at PowerCommands extension
http://visualstudiogallery.msdn.microsoft.com/e5f41ad9-4edc-4912-bca3-91147db95b99?SRC=Home
Among others, it contains "Copy Path" command for files and folders
UPD: Also, another option: right-click the tab of open document and there will be "Copy Full Path" command. It's built-in, no extensions needed
You can just select the file in the 'Solution Explorer' file list and hit CTRL+C. It automatically copies the file path to your clipboard.
I've found one more option of how to solve it without plugins (for VS 2015 and above; not certain about previous versions)
Go to "Tools" -> "Customize..." -> "Commands" tab.
Choose "Context menu:" and "Project and Solution Context Menus | Item" and you can add any existing Command.
In order to copy path, choose Category "File" and "Copy Full Path" command. Will add button only for files in Solution Explorer.
This works for projects as well but you should choose "Project and Solution Context Menus | Project" (copy path of .vcxproj file).
It doesn't work for solutions and I don't understand actually why.
Tools > Options > Environment > Keyboard
You can set your own shortcut keys for anything. The two that are most relevant to this post are "File.CopyFullPath" and "File.CopyRelativePath".
I created my shortcut to just be used in "Text Editor" and it has worked great.
This was asked for VS2010 and I'm using VS2019, so it is an old question, but still relevant. I knew about the file header right click menu, but for some reason I didn't think about the shortcut keys until I read this question. Posting in case this results in a quicker fix for anyone else.
The CTRL+C doesn't work for me on MSVS 2017.
Use the copy as path extension here.
Then right click on file in solution explorer -> Copy as path (or assign a shortcut).
I find that it works very well.
I'm creating a .vdproj setup for a simple Windows form. I have added a shortcut to the user's program menu (in a folder), but when I click the shortcut, it just opens the install folder. How do I set it up to run the .exe program?
I just tried putting the .exe name in the "Argument" for the shortcut - no luck yet. I thought it might be more intuitive than that. It also seems like "Target" might be the property to set - but it gives me a pick list - and my .exe is not in the list of things to pick.
Thanks,
Neal Walters
Update 1:
I'm using VS2008 SP1.
I added a folder under "User's Program menu" called "RCT" (that's my application name). I right click on that folder and I see "Add" with an arrow to submenu and "Create shortcut to RCT". The first thing I tried was the "Create shortcut to RCT", which is what lead me to post this question. Once the shortcut is there, it looks like the Properties Windows is the only way to configure it.
I set the "Target", and "Working Folder" (all 3 properties) to "Application Folder".
Now when I click the shortcut, it opens disk directory: C:\Users\uxnxw01\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\RCT
If I right click on "User's Program Menu" I see a link "Add shortcut to user's program menu". I really want a shortcut "in" the user's program menu, not "to" the user's program menu.
The "Add" submenu has four options: Folder, Project Output, File, Assembly.
SOLUTION - based on Heinzi's response:
I think I got it now - you right-click on the white space (under "name ... type..."- not on the folder. Then I see "create new shortcut". What a confusing design on the part of Microsoft! Seems like you would click on the folder and "add new shortcut". Instead they give you "Add shortcut to..." the item you click on.
After clicking on Create New Shortcut, instead of selecting the application folder, double-click on the application folder. Then Primary output from <YourApplication> should be selectable.
I have a solution with about 20 projects (that use Devexpress controls) in and when I do a normal solution build (ctrl-shift-B) it says everything is completed sucessfully when in actualy fact it has done nothing. To get it to build i have to right click on the solution and use the batch build option.
I've tried deleting the solution and regetting from TFS and i've even gone as far as reinstalling VS!
Anyone got any clues as to what is going wrong?
Sorry should have added that also tried to build from the main menus aswell.
I've had similar issues. It's a long shot, but right-click your solution and go to Properties -> Configuration Properties. Check to make sure all of your projects have the "Build" option checked.
Perhaps Ctrl+Shift+B has been assigned to one of the "check-to-see-if-it-is-needed-before-building" type of functions?
Check in the keyboard setting:
Right-click the toolbar
Select Customize in the popup menu
Click the Keyboard button in the lower right corner of the dialog
In the new dialog, in the "Press shortcut keys", a bit to the right and below the center, hit Ctrl+Shift+B
Verify that it is bound to Build.BuildSolution
at least that is what it is bound to for me. I notice there is an action named Build.RebuildSolution as well, you should experiment.