Move Android.Xamarin project from local mchine to Microsoft Azure - azure

I have a project that i've been working on since last year. I am using Visual Studio as my IDE for developing this project. It is a Xamarin.Android project.
Since my project is becoming really big and my local machine is not that powerful, I created a Microsoft Azure account and want to continue the developing process using a VM. I have created the Visual Studio VM inside Microsoft Azure, and now I want to bring my source code of the project to that VM
Can anyone help with how to do this, please?

I found a solution. So for everyone that havve this question, here is a usefull resource : http://geekswithblogs.net/hroggero/archive/2015/03/10/copy-files-from-you-local-computer-to-an-azure-vm.aspx

Related

Unable to design an Azure Logic App from VS 2015

I am currently developing an Azure Logic App. This is very straight-forward from portal, but I need to use Visual Studio as an IDE for this. I have followed all the steps mentioned in https://azure.microsoft.com/en-in/documentation/articles/app-service-logic-deploy-from-vs/ article, but when I try to do right-click "<>.json" and say "Open in Logic App Designer", the Visual Studio crashes everytime.
Could anyone please assist on the same?
Thanks
I has a similar issue, I found I had to install the Azure Logic Apps Tools (https://marketplace.visualstudio.com/items?itemName=VinaySinghMSFT.AzureLogicAppsToolsforVisualStudio), restart Visual Studio and then create the Azure Resource Group project for it to work.
The project that I had generated without the tool installed did not work (ever).
I'm using the Azure SDK 2.9.6, Visual Studio 2015 update 3
Are you currently signed into Visual Studio with an account containing valid Azure subscriptions/currently has strong internet connectivity? That is known to cause editing issues before.
If that does not solve your problem, we have enabled logging feature in our most recent update (ver 1.0.0):
a. Open developer command prompt for VS2015
b. Run following command to start VS with activity logging enabled.
devenv.exe /log
c. Repro the issue in this instance and close it.
d. You can find the activity log at location :
%APPDATA%\Microsoft\VisualStudio\14.0\ActivityLog.xml
e. Please send us this file to us.
If you can share the logs with logicappsbug#microsoft.com, we can further assist you on this specific problem.
Thanks,
Max

Azure Continuous Deployment with Visual Studio Online and node.js

I was flamed for my last post being too vague, so I shall be as precise and accurate as I can today.
I am a .NET developer now learning node.js. I am trying to set up continuous deployment of my node.js project within Visual Studio to Azure from Visual Studio Online. I have downloaded and installed the node.js tools for Visual Studio 2015 here. I have successfully checked in my code to Visual Studio Online using Git from within Visual Studio 2015.
I have read lots of web articles on the subject but in each I come across a seemingly insurmountable problem. For example, this article gets me quite close to a solution, but falls over trying to Visual Studio Online. It can't find the repository.
No matter, I move on. I have now managed to get my Visual Studio Online code associated with my web app through manage.windowsazure.com (rather than portal.azure.com, which I find very confusing. Why are there two? They seem to expose the same functionality).
Now I am getting a "Deployment Failed" message in Azure, and the log in VSO reveals "Exception Message: Deploying to Azure Cloud Service requires a Visual Studio Solution (.sln) that contains either a ccproj or a lsxproj. (type DeploymentException)".
What can I do about this? I have seen lots of articles that describe publishing node.js project types to Azure with no problem. Can someone please point me in the right direction?
Thanks, M

How to migrate code to different Visual Studio Online project?

I have my Visual Studio C# source code inside Microsoft Azure - Visual Studio Online (VSO), which is basically Team Foundation Server (TFS) 2013 in a Cloud. The Project was created using Microsoft Visual Studio Scrum 2013.3 Process Template.
I need to change process template from current (Scrum) to native Microsoft Visual Studio Agile 2013.3 Process Template.
Currently I do have only source code inside VSO and need to preserve all versions/check ins, with date/times and owners for whole team, there are NO any work items (tasks, bugs etc.)
One solution is to open a new Project inside VSO with Agile template, however how to migrate my code? or how to make simple / easy changes to current VSO project to change process template?
Create a new project and branch your code to the new project. The old project must remain to maintain history
use the TFS Integration tools to replay history against the new location.
(recommended) Switch to Git and use Git-TF to pull the history into git.
check out the tip and check into the new project.
The only option here that adds future value is to move to Git. Once there your history will be forever portable.

Visual studio online build minutes when using own build server

Currently I am analysing a setup for a sharepoint development project in Windows Azure.
I would like to use Visual studio online (TFS online).
Since Visual Studio online doesn't support building sharepoint projects (missing ddl's in de GAC), we need to use an own build server (either a VM in windows azure or a server on-premise).
Now, when you build a project with Visual studio online, you are being charged every minute you build. Because you use CPU power. But do you also pay those minute's if you use you're own custom buildserver?
I cannot find the awnser on any of the sites of windows, so does anyone have expirience with this?
Thanks in advance!!!
Your own build server does not make use of the Hosted Build Cluster of VSO and thus does not count towards your build credits. I can't find any clear indication on the VSO site that an on-premise server is free, only that you're charged for the "Shared Resources" used by your VSO project.
Shared Resources (per Visual Studio Online account)
-
A Visual Studio Online account includes resources that are shared across all users and projects on that account.
Build - Build definitions can be created using Visual Studio and can be run on Visual Studio Online. Builds can be configured to run on demand, at a specified interval, or for continuous integration (CI). Build is charged per minute for the actual amount of computing time it takes to build the project.
http://www.windowsazure.com/en-us/pricing/details/visual-studio-online/
Your on premise build "does not run on VSO". And this is the closest wording to a confirmation or denial. But I can tell from experience that the on premise server indeed does not count towards your "Hosted Build" minutes.

How to use PhoneGap with Visual Studio

I'm having trouble getting started with PhoneGap on windows 8, VS 2012, namely:
I don't know how to install the templates
I open the template projects I've downloaded from PhoneGap, but they are in compatible with VS2012
I don't know where to start in respect to creating my first simple CRUD application
I want to connect to a WCF API and make some calls
How to publish the result allowing installation on many devices:
I mainly want to use iPhone and Android devices
How do I get started with PhoneGap?
#Smithy, Microsoft just made it possible to develop Cordova apps with Visual Studio 2013 Update 2.
Its just a preview as far as I understand, but go have a look.
If you have the latest version of Visual Studio installed, you need to go to Microsoft'd download page and download the installer:
http://www.microsoft.com/en-us/download/details.aspx?id=42675
This comes along with documentation on how to get started and how to install and set it up in VS 2013.
Good luck.
UPDATE:
With the release of Visual Studio 2013 Community Edition along with Update 4, MS has made it easier than ever to create Cordova project....and best thing of all is it's FREE!!!!
Benefit is that if your used to VS like me, this is a comfortable environment, and its super easy to get started.
To get access to these templates, follow the steps when creating a new project in VS, and you will be prompted to install additional software, including but not limited to SDK Manager, adt, iTunes, emulators etc..
After these are installed, it is now simple to create projects, edit and run them in the included RIPPLE emulator.
These projects can also in addition be deployed to your device from VS.
To check if your device is picked up on your PC, open a cmd and run "adb devices" to see if your device is picked up on your PC and a list of connected devices.
Easy, effective and it works. From, see link on terms of use and limitations in organisations: Free Dev Tools
Download link here: http://www.visualstudio.com/en-gb/products/free-developer-offers-vs
Q: Who can use Visual Studio Community?
A: Here’s how individual developers can use Visual Studio Community:
Any individual developer can use Visual Studio Community to create their own free or paid apps.
Here’s how Visual Studio Community can be used in organizations:
An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.
For all other usage scenarios: In non-enterprise organizations, up to 5 users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or > $1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.
Thanks Microsoft!
You can use VS to edit the html, css, and javascript files, but I don't believe there are any VS project templates available. At least I've never seen any.
But, you won't be able to compile and deploy. The templates for Android for instance are eclipse project templates since phonegap is building a java application in order to deploy to android.
If you want to develop for android, follow the getting started guide from Phonegap ( I can't get you a link right now due to firewall issues). The files you put in the www folder will be the html, css, and javascript files for your project and you can use anything you want to edit them, including VS.
You can create PhoneGap application using
Cordova vs plugin
Telerik App Builder
vsnomad
for more information please see the below link
http://sourcefreeze.com/cross-platform/visual-studio-cordova-plugins-for-cross-platform-mobile-apps/
You may also want to refer to this post that describes how to use Phonegap projects in the new Multi-Device Hybrid Apps that uses Cordova integration in VS - https://stackoverflow.com/a/23621633/1277291
RedGate has a product called Nomad which integrates beautifully with Visual Studio 2013.
It makes use of the PhoneGap Build cloud service. With this approach you don't need all the platform SDK's on your system. Works very well.
See this video. Unfortunately RedGate recently stopped supporting Nomad. I'm hoping Microsoft's new offering will offer similar capability.

Resources