Visual Studio 2019 Hangs During Build Because It can't delete the old exe file - visual-studio-2019

I have Visual Studio 2019.11.16.13 and having hanging issues with building running a winForms application inside the IDE. Visual Studio builds and runs the application on a fresh re-boot of the computer. But, as soon as I make a single code change and then try and re-build and run Visual Studio hangs and will eventually complete the build and run but after an extremely long period of time. Additionally, I can not go into the bin/debug or the bin/release folder and manually delete the exe file either during the building event or after I've killed Visual Studio in the task manager

Related

How can I open an Angular 7 app in Visual Studio for Mac 2019?

After completing a tutorial in Visual Studio Code, I can open up both my Angular app and my Web Api app, in Visual Studio Code for Mac, using a single line of code in a terminal window 'code .' where I'm in the parent folder for both the two projects.
This opens both projects up in Visual Studio Code and I can then run 'ng serve' and 'dotnet run' from terminals within VS Code.
Now I want to open both these projects in Visual Studio for Mac 2019, under a single solution, but can only seem to open up the Web Api app.
Is there an equivalent of 'code .' for Visual Studio for Mac 2019 that will open up both project folders in a solution? Or is there another way to open up the Angular SPA app in a solution in Visual Studio for Mac 2019? And then run it from Visual Studio?

How do i restore the x86 Visual Studio Android AVD

In Visual Studio 2017 I went to edit the avd VisualStudio_android-23_x86_phone.avd and when i tried to save it gave me an error and then deleted the AVD
Trying to restore it via the Visual Studio setup does nothing so I am wondering how can i get this back again? Is it downloadable somewhere?
I had the exact same issue. Went to add KeyBoard support, and the profile got deleted/disappeared from Visual Studio and the .Android/avd folder. I initiated a repair of Visual Studio and the missing file and folder came back.

Unable to install Windows 10 Sdk Tools

I have Windows 10 build 10532 with Visual Studio 2015 Community edition. Since VS 2015 RTM does not come with Windows 10 tools, I wanted to download and install it. When I run the intallation file Visual Studio block set up and gives an error
Invalid entries passed to /Filterfeatureselectiontree swich.
What should I do?
The Windows SDK receives updates separately from Visual Studio releases, so you may have to reinstall/update the Windows SDK.
You can trigger the latest install from within Visual Studio.
First, make sure you have the latest Visual Studio 2015 from http://aka.ms/vs2015ce
From the File menu, click File|New|Project
In the "New Project" dialog box, choose the Universal item on the left panel under Templates/Visual C#/Windows/Universal
On the right panel, note that you will either have some Win10 templates or a single item that suggests that you need to download the Win10 SDK. (You may see both templates and the download suggestion if have an older version of the SDK and there is a newer version available)
Click on the item to download the new Win10 SDK and click OK.
This should kick off the download/install process and you may be prompted to close Visual Studio as soon the installer is running.
When it's all done, go back to File|New|Project and try to create a blank app project.
Hope that helps! :)

Visual Studio Cordova - can't deploy app

I'm using Visual Studio Enterprise 2015 with Cordova Tools. I have simple bootstrapped HTML5 app, and an iMac running the remotebuild agent.
I have an iPad connected to my Windows machine with VS, and I'm selecting Debug -> iOS -> Local Device
VS seems to successfully post the build request to the iMac, it builds successfully, but then VS output window repeats over and over that "build completed successfully".
I can't see how to install my app on the connected iPad - I've installed a provisioning profile, and have iTunes installed, but no idea what is supposed to happen next.
Its a bug in visual studio 2015 and seems to effect ios developers running OSX Yosemite (Most reports were coming from that version)
there are 2 common problems with git integration in the transformation process(its likely that your project has created one during the transfer):
.git* (.gitignore and etc.) are located in wrong folder
.git* (.gitignore and etc.) are configured improperly
Solution:
move anything .git* to your root folder. i.e the folder with .sln file except the ones located in other platforms' (android, etc.) folder, they are probably located in the project folder(one level inside root project folder) or less likely, the www folder.
reconfigure your .git* files, since its not a git related question i'll try not to bother with details but an example visual studio .gitignore can be found
here (it will most likely solve your problem alone)
Hope the answer was helpful, btw let me know whether the solution has fixed your problem, there are plenty of bugs in cordova development in V.S 2015 and your best bet is to wait for update 1 unfortunately.

No IPA output for Cordova build in Visual Studio

I'm developing a mobile app with Visual Studio Tools for Apache Cordova CTP 3.1 in VS 2013. I have configured everything according to the MSDN specifications here Install Tools to Build for iOS. I am able to build the app and run the remote simulator (as described here Run Your Apache Cordova App on iOS).
My problem is there is no output from the build back on the Windows machine where I have Visual Studio. More than that, there is no .ipa file created on the Mac either. I can find the build at /Users//remote-builds/builds/ but that's all. I can open the project in XCode for instance, but that's not what I want.
I want the final package file that I can install on test devices and eventually publish to the store. How do I get that?
Also my goal is to setup a TFS build definition so I can get a build each time I commit changes. I need to get that output file to the drop location of my build.
From within VS, you will have to choose "Remote Device" or "Local Device" as your debug target and then "build" to get an IPA back.
Also, refer to TFS build does not copy Cordova project output for instructions on how to setup TFS for CI workflow.

Resources