I am using the xamarin platform.
I have source code which is developed in C# for Windows develop in Visual Studio 2013
I have Visual Studio 2015 (Profession) in my system 1st time.
Want to check my windows code is compatible to xamarin plugin supported by visualstudio 2015 or not.
Note: I know that Visual studio 2015 have facilitate with the xamarin.
Reason: I want to reuse code develop in C# for Windows in xamarin so that I can reuse the code & develop the ios & Android application utilising xamarin in Visual Studio.
How do I perform this?
You can absolutely reuse your existing C# code with Xamarin project. However, you will need to recompile the code to target Xamarin profiler, unless you're using Portable Class libraries
You can read more about code sharing options here: https://developer.xamarin.com/guides/cross-platform/application_fundamentals/building_cross_platform_applications/sharing_code_options/
Related
Is there any way that we can build/debug and run xamarin forms app on linuxMint?
Alternatively is there any way that we can run visual studio 2019 on Linux apart from using vine?
Is there any way that we can build/debug and run xamarin forms app on linuxMint?
Sorry , there is no way to build /debug a xamarin froms app on Linux OS from officail supports.
However , about Xamarin.Android on Linux , you can have a look at that .Although that not tested on linuxMint , also can have a try whther it also works on linuxMint .
Alternatively is there any way that we can run visual studio 2019 on Linux apart from using vine?
(Hoping that Microsoft will release Visual Studio for Linux soon)
But Microsoft hasn’t made it’s Visual Studio Open Source. So it isn’t Available for Linux Systems.
You can only Install Visual Studio Code for Linux Systems , which is an amazing Code editor for Programmers.
More reference: Visual Studio Code on Linux
In my visual studio code project, I have generated an .exe file for the project and I'm trying create make my .exe as Windows Service.
From here and here, if I'm not mistaken, these solutions look like done by using Visual Studio instead of Visual Studio Code. Is it possible to create a Window Service through Visual Studio Code?
You cant,
Visual Studio Code is a code editor redefined and optimized for
building and debugging modern web and cloud applications. Visual
Studio Code is free and available on your favorite platform - Linux,
Mac OSX, and Windows.
It has no concept of an Windows Service
If you wish to create a Windows service you will have to use Visual Studio or something that can compile standard .net Windows application
Great comment from Ben Voigt
You're correct that Visual Studio Code doesn't have a concept of a
service, but that's because it is an editor not a compiler. The same
C# compiler installed as part of the .NET runtime, can build Windows
Services. And you can edit the windows service code in VS Code
I have just installed Visual Studio 2017 community addition. Furthermore, i have installed Xamarin Community edition. Initially i thought i would have to use Xamarin Studio in order to create cross platform apps. But later on, i figured it out from the internet that Xamarin Studio is only installed in MAC OS. In windows, Xamarin is installed in form of Visual Studio's extension instead. After completely installing Xamarin on my Windows 10, i opened Visual Studio and i didn't saw "BlankApp (Xamarin.Forms Portable)" under Visual C#/Cross-Platform tab. Instead there were only couple of Class Libraries and a UI Test App there.
How can i figure out the way to create Xamarin Cross-Platform on my visual studio 2017 community edition? Am i missing some extensions, or is there any update required ? Please help.
File > New > Project > Installed > Templates > Visual C# > Cross-Platform
Select Cross-Platform
Select Cross Platform App (Xamarin.Forms or Native)
New App Dialog Opens
For template select "Blank App"
For Code Sharing Strategy Select "Portable Class Library (PCL)"
Click OK, and you are good to go
Please, try this site in section "Creating your first app".
More information in:
http://motzcod.es/post/158155898027/setting-up-vs-2017-for-xamarin-dev
THIS IS NOT A DIRECT ANSWER, I tried lots of options from installing, uninstalling, modifying but I can't find "bank app xamarin forms".
SO WHAT I DID, Installed visual studio 2015 and found "that bank app xamarin forms" there.
I'm still a coding/C# newbie. I've spent the last 30 days learning C# probably about 8-12 hours per day. That said, I'm trying to get a setup where I can build Android apps, do some Swift programming, and continue learning C#.
I am currently running Visual Studio Express 2015 and it's for the Desktop platform, not Windows 10 apps.
My question is, can I use Visual Studio to do all of these things in one combined installation? I ask this because I was just about to install Xamarin and then I also found this Silver compiler which ALSO says it includes Visual Studio 2015: http://www.elementscompiler.com/elements/silver/default.aspx .
However, I'm not sure if I were to install Xamarin and then try to install Silver, is the Silver's Visual Studio going to over-write the Xamarin or my original installation of the IDE? I want to have ONE Visual Studio installation that allows me to start C#, Swift, AND Android projects.
I am also slightly confused on the different variations of Visual Studio 2015. By having Express, do I already have Community or is this a different IDE?
Thank you.
I would suggest you get Visual Studio Community instead of Express since Express is very limited. In community you are able to do all of those.
For Swift you only can use the language in the Xcode IDE. Swift can use in the Mac OS and Ubuntu, can not use in the windows now.
It's not correct. Silver is a project where you can use swift to write native apps on Windows. Xamarin is a completely different thing. With this tool you can write platform-independent with C#. For Mac, Android, iOS, and nativly with C# on Windows. It should be your prepared way, if you want to write many code in C#.
I already made an application that is using Windows Forms, but I knew that Windows Forms setup was no longer available in Visual Studio 2013, that is made me to install both of Visual Studio 2010 and Visual Studio 2013. When I want to make some changes in my application and re-build the setup, I have to run Visual Studio 2010 rather than Visual Studio 2013. The reason because I am using Visual Studio 2013, because I like this version and I am using Visual Studio 2010 just because for when I want to make some changes in my application.
I knew about WPF Applications when I finished made my application. And I am considering to uninstall Visual Studio 2010 and work with Visual Studio 2013. Do I have to re-write everything on my application's code to WPF? Because from what I heard, some functions in WPF are not the same in Windows Forms. And let's say that I successfully change my application from Windows Forms to WPF, what setup is provided with WPF ? So the other users could use my application on their computer?
i knew that Windows Forms setup has no longer available in Visual Studio 2013
Windows Forms is still available as a technology in Visual Studio 2013. If you are referring to the setup project type for creating an installer switching to WPF will not make it available for you.
So you can switch to Visual Studio 2013 and continue using Windows Forms but you will have to find another way to create an installer (and switching to WPF will not fix that problem).
In my opinion the ViX Toolset is very good for creating an installer. However, it is not "drag and drop" as the old Visual Studio Setup project type is.
#Kaoru You have to make some changes, Because some of functions in WPF and Win Forms are different.You don't need to change the Application Logic. But you have to change some modifications in UI and also code.
I heard a tool something called WF2WPF But I never used it and not found yet it.
If you are missing installer projects in VS 2013, then you may want to try Visual Studio Installer Projects Extension.
This preview release provides support for Visual Studio Installer projects in Visual Studio 2013. You can download the extension from the Visual Studio Gallery.