Mono app Windows 10 compatibility [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have mono application that compiled on windows 7 x86. It works on any other windows 7 system even without mono runtime. But i can't run it on any Windows 10 system.This is GTK# app. I'm not using anything except Mono and GTK#. No IL repacking.
Tried to google and didn't find any answer.
No logs, no errors. Simply can't run it. What's the problem?

This could be a host of things, but if you're not doing something unusual like IL repacking then I would start with looking at simple things like checking whether you have GTK# installed on your Windows 10 box and whether your mono compiled application is compatible with the .NET version on that box etc. I have had this behaviour when using ILMerge / ILRepack, hence my earlier comment/question, but compatibility is more likely the issue.

Related

Installer for .NET Core project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have developed a .NET Core console app. This app is not only targeted for Windows, but also for Linux.
What installer can I use to install the app to Linux? Preferably, I want a setup solution that handles both Windows and Linux.
I want some kind of installer because the app is intended for an offline Linux computer.
Off course, I know how to install it on Windows.
This is quite a broad question, but here goes.
In principle, installing a console app would likely mean pushing files around and maybe setting some values in a config file - operations that are trivial to accomplish from Powershell.
Given Powershell is now cross-platform, and you have chosen .NET Core for your console app, it could be a good choice for you as you'd only have one installer script codebase to maintain.

.NET vs Mono. What's the difference? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I've done a bit of reading online and I'm not seeing a straight forward answer to a straight forward question. Is .NET for Windows and Mono for Mac? Maybe my understanding is off but I'm trying to figure out the difference between the two tools. Thanks in advance.
Mono was originally reimplementation of the .NET for linux. Today is much more (http://www.mono-project.com/).
There is actually funny story behind. Miguel De Icaza was working on linux email client and he loved .NET C# so much that we wanted to work with it also on linux. So he rewrite the .NET so he can wrote email client in C#. Wow.
Then mono evolved very very much all lead to the Xamarin platform (.NET cross mobile platform).
You can more read here: https://blogs.msdn.microsoft.com/cesardelatorre/2016/06/27/net-core-1-0-net-framework-xamarin-the-whatand-when-to-use-it/
.NET comes with a runtime environment that runs .NET apps on a windows based OS. It is of course produced and distributed by Microsoft. Mono is an open source version of the that which allows you to do this on Linux, Mac, and even windows.
Conceptually, the runtime seems to operate somewhat like a JRE does, in that, you can take a module built in .NET, and run it in Mono. So, it must be something like byte code that can then be interpreted and compiled to run natively (this last sentence is all speculation).

Odd Visual Studio Experience? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am running an app as a side app to a major application on an x86 Windows 8.1 tablet. The app is written in C# 3.5 client side. When I try to compile the app on a desktop machine, and then run the app on a tablet, the app immediately crashes. When I compile the app on a tablet (fresh VS install), the app runs fine. Does anyone know what setting I could be missing here?
Thanks in advance,
Dan
Switching the app to compile to 3.5 instead of "3.5 client profile" and x86 throughout the project's build tab fixed the bug.

Deskband in Windows 7 x64 C#? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to create a deskband app, like BatteryBar, in C#. I understand that the deskband might not work in future versions of windows, that you shouldn't code explorer extensions in managed code, and whatnot. My question is, what is the current reccomended way to create a deskband (or a simulation of one) in C#? Thanks in advance!
This may not answer your question, but it is important information related to your question:
You said,
I understand ... that you shouldn't
code explorer extensions in managed
code
This is no longer true.
This used to be true because the multiple versions of the CLR could not be loaded into a single process. For example, Explorer could not load an extension that used both .NET 2 and .NET 1; the host process would fail to load the second CLR version.
But with .NET 4, which comes with a new CLR, you can now run multiple versions of the CLR in the same process. So if you write your code using .NET 4, you're no longer at risk of making host processes error out.
In short, it is now OK to write Explorer extensions in managed code, provided you're using .NET 4 or greater.

Install a phone app made with Visual Studio (c#) in a non Windows Phone? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is it possible to accomplish that?
How should I do that?
The phone specs:
Nokia N900.
OS: Maemo 5 (Linux based).
My PC OS: Win7
No, it has the wrong operating system.
You can use Mono.
You will need to write the application specifically for Maemo; it cannot run WP7 applications.
Look, you Phone OS is Maemo, your app is for Windows.
You forgot the Windows Phone version but never mind, it's not going to work.
The closest thing would be a Mono implementation, but there isn't one compatible with WinCE (or WP7).

Categories