Visual Studio Code - Edit and Continue - node.js

Iam using Visual Studio Code for developing NodeJS apps. Is there a way to make changes while the app is running (debugging) and see them without restarting the app ?

I've requested for this feature and need more votes to get it accepted as valid request. You can vote too and wait with finger crossed.
https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/10336395-edit-and-continue-node-js

Using VS 2013 with "Node.js-Tools for Visual Studio", changes in functions are applied in realtime.
Furthermore this even works with remote-debugging from within Visual Studio. (Debugging->Attach to process->Node.js remote debugging)
Edit: Sorry, wasn't aware Visual Studio Code was a separate thing.

Related

Q: Creation of Azure Resource Group Project in Visual Studio 2015

I am trying to create a new Azure Resource Group Project for Creating a Logic Apps Solution in Visual Studio 2015 however I am facing the below error mentioned in the Screenshot.
It seems a issue caused by visual studio instead of azure. You may have a corrupt install and depending on the order that dlls are loaded determines whether you see the error or not.
This is a workaround in the similar issue that you could refer to.
The workaround - which does not always work right away - is to Sign out of Visual Studio (This takes 2 attempts to sign out and remove the credentials). Then reboot the PC. Once logged into WIndows, launch Visual Studio - DO NOT SIGN IN. Open the solution, right click on the Deployment project; which may or may not trigger the same dialog error. If the deployment dialog is display, then i can add account and deploy. Otherwise, i must turn off the PC and try again, and again, and again, until it starts working.
I recommend you can try the workaround if necessary.Then you could report the problem and ask the Microsoft visual studio support for help.

Visual Studio - Slow launching of quick find

Whenever I type in CTRL + F to launch the visual studio quick find it takes about 2 to 3 seconds to show.
This is really annoying and sometimes frustrating as I am used to start typing the search criteria instantly after launching the quick find and since it is still loading I generally start typing in the code by mistake...
This problem started occurring when I decided to switch to Visual Studio 2012. It did not occur on the previous versions...
Any help would be appreciated :)
I saw this advice on another website, maybe it will help you.
It would appear that other people are having the same problem.
Here is the MSDN documentation
Upon installing Visual Studio 2012, I found out that all operations related to TFS (such as adding a new file, check in/out, etc.) were incredibly slow and would freeze the application for quite some time. If this is the case for you, try this solution:
Edit the Visual Studio config file found in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe.config
and locate the following line:
<system.net>
Right below (above settings, NOT under), insert the following line of code:
<defaultProxy enabled="false" />
Your visual studio should now be more responsive!
With visual studio 2017, this issue seems to have been solved. However, I stopped using the integrated TFS with visual studio. I know only use VS Pro for debugging.
I also recommend to use the new free light VS Code and do MSBuild commands via MSBuild CLI tool. It has way fewer features than VS Pro but for web development (SPA's) it's great. Do install some plugins if you choose this editor.

Visual Studio through MSDN: Can they know it is not mine?

So, I was arguing with a great friend of mine about Visual Studio 2012 and Microsoft being able to detect which one you used. According to him if you get your hands on a direct MSDN download of Visual Studio 2012 Professional, and you end up creating an app, like a game or something, and then you submit it to the Windows App Store, they will never know which visual studio version you truly used to develop the App, or if you were the owner of it or not.
Is he right? Because I thought Visual Studio some how left a footprint behind on the .exe file letting Microsoft know about licensing information. Or should I go apologize to him for calling him a f...ing liar.
If you guys say it does leave a print, can you show some proof, or a link to read more about it? Thanks guys.
Your friend is likely correct. Why would MS bother when they make freely available all the tools you need to compile your program. You can build .Net applications without the Visual Studio IDE. See this related question
Is it possible to install a C# compiler without Visual Studio?

IPP and Visual Studio 2012

I've been trying to get the .NET Dev Kit and Azure SDK to work with Visual Studio 2012 and am not having much luck. What am I missing?
The Azure SDK installation instructions don't work on VS 2012. When I search for anything Intuit-related from the VS Extension Manager, nothing comes up.
I tried installing from the VS Gallery but then there's no Intuit Anywhere menu in VS as shown in the VS 2010 screen shot. (These instructions are highly suspect, since Intuit has moved away from the "Intuit Anywhere" name. But given that the developer site was overhauled recently I would expect the instructions to be up to date.)
Is there an easy way to get this to work with VS 2012, or am I wasting my time? Am I better off just building everything from scratch? (We have done that in another project, just not with Azure.)
The Plugin for Visual Studio has not been updated for Visual Studio 2012, the last supported version is 2010.
The code that the plugin generates is available as templates and sample code as well.
It includes the Oauth grant and handler pages, as well as the OpenId handlers.
regards,
Jarred

there was an error attaching the debugger to the role instance

I am getting an Exception when I am trying debug my application on Emulator (Web Role).
you can see exception by clicking following link
Configuration which I am using Windows 7 pro, VS 2012 Pro, Azure SDK 1.8
Hope it might help others.
I Also had the similar problem and I restarted PC and **Run Visual Studio as Administrator**.
And let Visual Studio start the emulator with same privilege resolved the issue.
I was using Visual 2013 and Web API application under IIS Express.
Do you have IIS added? Most likely it's already installed but you've to enable it via Add Windows Compoenents on Control Panel...
I had this same issue all of a sudden, luckly I remember changing the ServiceDefinition.csdef file. I rolled this back to an earlier version and the debugger ran again correctly. The only thing I changed in the 'broken' version was instance size from small to medium.
Go to visual studio installer(search it from window's start)
and update the visual studio.
After updating, hit modify
button, after that on right side you will find a box named
debug (or something like that), select that box
Then hit install.
Restart your visual studio and debugger will start working.
In my case it worked perfectly.

Resources