WINDOWS APP DEVELOPMENT - visual-studio-2013

I have just started Windows Application Development and have installed Visual Studio 13 and Microsoft sdk 8.I am experiencing problems in Deploying the the app on the emulator.It says that Hyper V is not enabled on my pc. When i searched this error on the internet i found out thAt hyper v is windows 8.1 pro only feature and i have windows 8.1 single language and i don't want to upgrade because of monetary reasons.
So i just to know is there another way through which i can proceed app development on my computer either by using another emulator or any other way possible.
I read about oracle vm also but couldn't figure out to connect it to my visual studio 2013.

You could develop on a VirtualBox virtual machine which has a trial version of Windows 8 installed. You install the trial Windows 8, Visual Studio and SDKs on the VM, and do all development there. It's slower, but it works for us.
To make the creation and maintenance of the virtual machine image easier, there are some things you can do. First, start with a vm image from the IE team. Next you can install Chocolatey and find and install packages for Visual Studio and the SDKs you need. If you use source control and use these technologies, provisioning a new development VM should become very quick.
The recipe I use to make development Windows boxes goes something like this:
On your machine
Install Chocolatey
In elevated Powershell: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Run elevated: choco install virtualbox
Download Win8.1 virtual box image and run it
On the Win8.1 VM
Install Chocolatey (as above)
Run the following in an elevated command to provision:
choco install virtualbox.extensionpack
choco install visualstudio2013professional
choco install windows-sdk-8.1
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

Related

Windows Hypervisor Platform is missing

I want to create a xamarin app, but i can't enable Windows Hypervisor Platform, because it is not listed. How should I enable it?
Uncheck Hyper-V.
Then in Visual Studio go to Tools-Android-Android SDK Manager-Tools-Extras-Intel X86 ... and install this.
Start cmd and run:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
Then reboot

VSTS 2017: How to deploy task on MacOSX test agent?

I followed the instructions on Deploy Visual Studio Test Agent Task to deploy my job on Mac OSX agents.
My Mac OSX is 10.12, PowerShell is 6.0 and I have already installed .NET Core on Mac and also updated the openSSL followed by instructions.
My VSTS is: https://vivicai.visualstudio.com
Following command is for Windows, what’s the equivalent for Mac OSX?
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes
After running following command in Mac OSX, it always shows the error,
what can I do to fix the error? Thank you very much.
ConfigureWinRM.ps1 {FQDN} https
It is not supported for Mac OSX.
Test: Visual Studio Test Agent Deployment
Demands and prerequisites
This task requires the target computer to have:
Windows 7 Service Pack 1 or Windows 2008 R2 Service Pack 2 or higher
.NET 4.5 or higher
PSRemoting enabled by running the Enable-PSRemoting PowerShell script
Install and configure test agents
Requirements
Windows 10
Windows 8, Windows 8.1
Windows 7 Service Pack 1
Windows XP Service Pack 3
Windows Server 2012, Windows Server 2012 R2
Windows Server 2008 Release 2, Service Pack 1

Installation : Microsoft Visual C++ Redistributable stuck at 'Processing: Windows7_MSU_X64'

I'm trying to install the package of Microsoft Visual C++ Redistributable as my xampp apache module cannot be installed. The installation take a very long time to complete. What should I do? Is this common and is all I have to do is wait?
They are dead stuck with this setup progress as the indication
Processing: Windows7_MSU_X64
To install the Visual C++ 2015 Redistributable, you do not need to remove or uninstall the previous versions.
Refer to the error message, you can have a look at the installation log file and search ‘error’, if you can find the error message about Windows6.1-KB2999226-x64.msu, check this similar issue and have a try with the following to troubleshot this issue:
Download the update KB2999226 for your OS edition from here: Update for Universal C Runtime in Windows and before it, since your OS is windows 7, make sure SP1 is installed.
Manually install the KB2999226 as below:
Find the Windows6.1-KB2999226-x64.msu from the folder C:\ProgramData\Package Cache\xxxxx\packages\Patch\x64, which you can the path from the installation log
Create a folder named ‘XXXX’ in that and execute following commands from Admin command prompt
wusa.exe Windows6.1-KB2999226-x64.msu /extract:XXXX
DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows6.1-KB2999226-x64.cab
vc_redist.x64.exe /repair
If you have no idea about the installation log, you can go to %temp% and order by ‘Date modified’, then you should find the installation log, or you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.
I first tried a clean boot and that didn't work so I opened up the task manager to see what other processes I might kill while it was stuck at "Processing: Windows7_MSU_X64" I killed the process titled "windows update standalone installer" and the install completed successfully the moment I killed that process.
Okay, I found the solution for my stucked installation. I updated my Windows manually using wsusoffline tools as my Windows can't seem to update with the usual ways.
Install wsusoffline and select all update for Windows (Windows 7 for me). Make sure to choose the folder to save your update.
Wait for the update to be downloaded
Install the update
Install the MV C++ Redistributable again
Done!
I finally can install my Xampp Apache module and access to the localhost.

Uninstall Visual Studio Core in CentOS

I installed Visual Studio Core in CentOS (7) but the core command cannot be found. I want to uninstall and re-install from terminal this time around. What is the command in terminal to uninstall Visual Studio Core in CentOS (7)? I googled this and the answers I found are for non-CentOS Linux like Ubuntu.
I found the command. Sometimes things are simple:
sudo yum remove code

How to install Visual Studio Remote Tools on Server Core?

I'd like to install the Visual Studio 2013 Update 4 Remote Tools on a Windows 2012R2 Server running IIS 8.5. This is a pretty simple process outlined here: https://msdn.microsoft.com/en-us/library/bt727f1t.aspx
The problem I have is that the server I'm trying to installing this on is a Server Core, meaning, there is no GUI. The Remote Tools application is an exe that only installs via GUI.
I've tried to install it with PowerShell and it just hangs. I'm also not able to find the Remote Tools in Web Platform Installer to install it that way. Extensive Googling has turned up nothing.
Does anyone know how to install the Visual Studio Remote Tools on a Server Core so that I can debug on my DEV server? Any advice is appreciated.
Create a .bat file and enter the below. (not PowerShell) (Or just at the command line.)
rtools_setup_x64.exe" /install /quiet
word...
You don't have to install remote tools. Just copy msvsmon.exe, from your local Visual Studio installation. Then start it from remote powershell silently:
Start-Process -FilePath .\msvsmon.exe -ArgumentList '/nosecuritywarn /port:4022 /silent' -Verb runAs
Don't forget to open firewall port.
Turns out that you can simply remote into the Core server. When you do so, you'll get a command prompt only. From there, CD to the directory where the remote tools install file is. Execute the file by typing the file name at the command prompt, ie: rtools_setup_x64.exe.
This will run the installer, with a GUI, on the Core server. Its that simple, I didn't think you'd be able to get the install wizard on a Core server, however you do.

Resources