Is it possible to develop windows desktop native application on a Mac? - c#

I have a MacBook Air.
I want to make a simple windows application that has buttons to start/stop server(CouchDB Apache) on a Windows computer. Is it possible to do so?

I also got this problem, so you have to create the UI in Windows and do the business-logic coding on your mac. But need a compile connection to windows machine.
I am working with RDP on a server now to develop windows applications.
Maybe create a VM on your Mac.
Or you will need to run a Windows installation with "Boot Camp" and run the Windows version of Visual Studio to create the app.

As i know you can not deploy windows form app on mac. but you can create a .net core console application and send start/stop command to it. it will do the same thing if your app is as easy as you told.
this link helps https://learn.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio. of course you should use visual studio code IDE to create your .net core console application.

Related

How do I export a C# project for Mac and Linux on my Windows 10?

I have created a console app using C# and .Net core version 5 on Visual Studio IDE. I understood how you can publish this app for the same OS. So now I can share my C# project as a .exe with all my friends. But all my friends don't have a windows. Since this is a console app, it said that I could share it with anyone having Linux/Mac. Also, I only have windows.
So the main question: How do I export my .cs project in such a way that I get files for Mac and Linux with just a windows machine? Also is it possible to do this without using non-Microsoft services since it poses security risks?

Develop applications for Windows Compact

I have an Windows Embedded Compact v8.00 device installed with build 6247. FYI - This device is an Siemens HMI.
Now I'm looking for the right way to develop applications for this version of Windows. I started trying with Visual Studio 2008, so I build a very simple application with just a useless textbox. After copying the executable to the device I start tried to run the test applications but nothing happens.
After searching the web I found out it's better to install Visual Studio 2015 PRO with an application builder from Microsoft's website.
Is this the right way to do? What else does I need to know when developing applications for Windows Compact 2013?
To create applications for Windows Embedded Compact 2013 you need VS2013 or VS2015 professional with the Application Builder plugin and a valid SDK installed on your PC.
If you develop managed apps you also need to check in the .NET runtime is already part of the image or find a way to deploy and install it permanently on your device (the way to do this may change depending on the device configuration, registry type etc.)

Automatically update apps inside the Windows 10 IoT Core?

Recently I have a question. If I write an UWP app and install into a Raspberry Pi with Windows IoT Core OS, is it possible that I set a automatic OTA update for my app inside the Raspberry Pi, just like normal UWP apps in Windows App Store do?
EDIT: Just for my apps, not for upgrading Windows OS (since it can be upgraded directly by Windows Update)
Great question.
I'd suggest looking at a higher level device management solution that can provide updates of any type to a device via an IoT event hub. This is still in preview but check out this Microsoft post on getting started with something like this:
https://azure.microsoft.com/en-gb/documentation/articles/iot-hub-device-management-get-started/
Since Windows IoT Core does not contain the Windows Store, it is impossible to enable automatic app updates like on your Windows 10 PC with the built-in tools. As far as I know you can only manually upload an app from your Pi's web interface, Visual Studio or maybe CMD/PowerShell/putty.
It seems that I can use ProcessLauncher function in UWP app and start a new exe binary (of course it has to be compiled for ARM platform) to do the job. See here: Windows Developer - ProcessLauncher.
But anyway, my RPi3 is still on the way right now, I can't prove if my app can really can let another exe binary (or PowerShell script) to upgrade itself. Hope it can~!

How to execute a Console App by passing parameters to it from a Windows Universal App in Visual Studio?

I have a console app written in c# visual studio and a Windows Universal App. The Universal App has data streaming in, I want to pass that data to the console app which plots it. I have tried various way of doing it including the "Process" but my project isn't able to find that library. Any suggestion would be appreciated.
Thanks
UWP Apps are sandboxed, and can't launch external applications.
If the console app is already running, you may be able to communicate with it (by using sockets for instance). But there's no way to launch it (unless it's another UWP app). That's for security reasons, thank to this you can download any app from the store and run them safely on your computer.

Is it possible to create a Windows 7 phone app in Ubuntu?

I'm able to run c# programs in Ubuntu using the mono project.
But I'd like to know whether it's it possible to create a Windows 7 phone app in Ubuntu.
If so, what packages do I need to install?
At the moment, no.
I tried to run Visual Studio 2010 Express for Windows Phone ( http://www.microsoft.com/visualstudio/en-us/products/2010-editions/windows-phone-developer-tools ) via Wine before but it failed to work properly without giving me problems. On top of that, you will still need Zune to allow deployment of app.

Categories

Resources