How to Reset Remote Debugger Connections in VS2012 Once Set - visual-studio-2012

In Visual Studio 2012, you can select Remote Machine from the Build Toolbar
On the first click, the Remote Debugger Connections dialog popups up and allows you to set where you're debugging against.
The problem is once the value has already been set, navigating to Remote Machine or right clicking anywhere on it will not allow you to change the original configuration.

The value from that popup is stored in your project file. You can access it by going to the Debug tab on your project properties. You can change the value there, or if you clear it out, you can get the popup again next time you navigate to remote debugger

Related

Edit Configuration pops up when I run a project,ignoring it says Cant start compilation as output path not set

This dialogue box appears after I click run
When I run the android project I downloaded from Android Developers website, the edit configuration dialogue box shows up. When I press run again, it says the configuration is wrong.I am a beginner and have never opened any project (nor made in my android studio) before.
Appears if I again click run,says incorrect configuration
Another box after that which asks to set output path
I tried adding a configuration named "FragmentBasics" in the Application menu but it doesn't allow me to select the main class.
The java class doesnt get selected
(Tip: Update your Android Studio. It looks like an ancient version... Do that before doing anything else.)
(Prerequisites: Create an Android Virtual Device (AVD): Error running 'app: No target device found. Android Studio 3.6 Preview)
You don't have the right configurations.
(1 Go to the Configuration Dropdown Menu and click Edit Configurations.
(2 Delete existing configurations (None of the classes in your project have the "main" method declaration)
(3 Add an "Android" run config
(4 Fill in config information
Now you are ready to deploy your app (Assuming you have an AVD).
Hope I helped you!

Android Studio opening error: Unable to Start Correctly (0xc000007b)

I just installed Android.Studio.3.4.1.0.x64 but when I want to open it, I get this error:
The application was unable to start correctly (0xc000007b). Click OK
to close the application.
Why this happens and how can I fix it?
I searched for the error and did these things but didn't work:
Reinstalled the AndroidStudio
Installed dot net framework 4.7.2 developer pack
Installed latest version of DirextX
Restarted my computer each time of above steps
I found the following answer here JetBrains IDE Error on start : The application was unable to start correctly (0xc000007b) from #Amir Karamat, and it worked for me:
in Windows 10 you should follow these steps:
open Settings (just right-click on windows start and choose
settings)
search for 'Windows Defender Settings' or just go to 'Update & Security' > 'Windows Security'
then open 'App & browser control', in the new opened window scroll down to the end to find 'Exploit protection settings', click
that
sort of settings will be shown and you can change the default settings. to create an exception you should click "Program settings"
(which doesn't seem to be a button,but it is!)
click 'add program to customize', in the dialog enter your ide name.exe (you can easily find it by clicking 'open file location' on
shortcut of the application)
in my case the application name was 'phpstorm64.exe'
next you have to look for 'force randomization for images (Mandatory ASLR)' check the 'override system settings' and switch it
off and apply settings.
I'm not sure if it's needed,but turning off 'Randomize memory allocations (Bottom-up ASLR)' stated to work for others

Android Studio won't run application from studio ide?

I've got an application I've been working on and am having an issue with android studio. When I click "build->run" and then select my device, the application never runs on my phone (and the log in android-studio that automatically comes up does not have anything, whereas in the past when I have used this feature it usually says something like, "waiting for phone..." and then the application pops up and automatically opens on the phone and you get some other pertinent information). I have the phone already in developer mode with the install from unknown sources set to on. When I manually move the application from its gradle build location to the phone and then install it manually in file explorer, all is well and the application performs as expected. As I need to debug, however, this is not a very viable solution. Anybody have any advice as to how to get it to run from the IDE? I have tried rebuilding and invalidating the cache/restarting android studio, to no avail.
When I click the run tab at the bottom I have an empty window. When I click the debug tab, I see:
Waiting for device.
Target device: samsung-samsung_sm_g920a-randomIntegerId
Uploading file
local path: /home/eric/Documents/class/OOSE/final_project/2015-group-17/project_code/android/Place2B/app/build/outputs/apk/app-debug.apk
remote path: /data/local/tmp/oose2017.myApp
Note: I am building the application on a LUbuntu 15.04 VM on a windows 8 host, and am using the latest version of android studio.
EDIT: gradle console indicates a successful build as well (obviously since moving the .apk manually to the device works properly).
Open 'Run->Edit Configurations...', and look for your app module in the column on the left-hand side.
Select it, then go to the 'General' tab.
Under the 'Activity' section, there are a couple of radio buttons. Make sure that 'Launch default activity' is selected.

How do I prevent Visual Studio 2015 from launching a browser after publishing an asp.net application?

I am working on a site with a publishing profile that pushes the site to a remote host. After publishing I get a new browser window that navigates to the newly published site. This is ok in most circumstances but I am in a situation where I can't allow that last step to occur, I simply want to tell visual studio not to show me the website after publishing. I've checked all the publishing settings that I can find but haven't found any option to control this. Anyone have any ideas?
Does this information from Visual Studio 2013 still hold true for 2015?
http://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/deploying-to-iis
I can't check it myself, but essentially it says that in the 'connection' tab of the deploy dialog, the Destination URL setting isn't required. When Visual Studio finishes deploying the application, it automatically opens your default browser to this URL. If you don't want the browser to open automatically after deployment, leave this box blank.
Do you want to try that?
Update for Visual Studio 2019:
In the "Publish" page, look for "Configuration". On the right side, click the Pencil Icon.
In the next dialog, open the "Connection" tab, and empty the field "Destination URL".

Eclipse Window Activates (and moves window to active linux workspace) when Debugger Breakpoint Hit

When running and debugging server side code with Eclipse, and you activate a breakpoint being hit by visiting a url, posting data, etc. Eclipse window will automatically activate over top of your current window.
Not only that, but if your focus is in another workspace, Eclipse gets moved to that workspace as well.
Preferences
Run / Debug
Uncheck Activate workbench when a breakpoint is hit

Resources