Installer for .NET Core project [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 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.

Related

Mono app Windows 10 compatibility [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 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.

Is it possible to convert a windows form application (c# , .Net) to a cross platform 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 8 years ago.
Improve this question
What are the possible ways to convert a windows form application (c# , .net) to a cross platform project?
My GOAL is have a project that can run in both Linux base os and windows.
I really like .net but it's not compatible with all OS (for example Linux) because of .Net Framework installation.
what is your suggestions?
As #paqogomez pointed out, IronPython does not take away the need for some sort of .net since, as it's stated on the website http://ironpython.net/ : "IronPython is an excellent addition to the .NET Framework, providing Python developers with the power of the .NET framework."
Since your goal is to run your existing winforms-c#-application on both, windows and linux, you might get away by just using mono (http://www.mono-project.com/).
If this doesn't work out (please refer to http://mono-project.com/Compatibility for compatability issues), you could manually rewrite your existing C# application in pure python. But then, it might well be possible to use any other unmanaged, managed or scripted language which can be used on both systems and which is either easier to translate manually or for which even automated translators exist (however, I don't know if there are any for C#).
Thinking about the last point, I did a quick websearch for "c# cross compiler" which shows some esoteric results which might be interesting for you depending on your project type.

Application update framework for .net? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have googled over the internet and read some forums, but I could not find a really good solution to suit my requirements. I am looking for an automatic application update framework for my project.
Which do you think the best application update framework for .net?
Requirements:
free
easy to use and integrate with existing .net project
check/download/install updates automatically from a server
if it is needed, update also its referenced new dll-s from the server
if new dll is referenced to the app, should be also downloadad automatically from the server
if new items (e.g. XML files, language resource files) needed for a new version, also download them
UPDATE:
installation folder must be changeable by the user (clickonce is not an option)
check this http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx out - it combines ClickOnce (Update machnism) + Windows installer (installation) to make possible what you are asking for...
Another (perhaps better?) option: http://www.codeproject.com/KB/cs/DotNetAutoUpdateClient.aspx
Check out ClickOnce Deployment at http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx
It works really great. To use it, just open up the project properties in VS and go to the deploy tab.

How to redistribute DLLs with a C# application? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
A beginner question I am sure, but I have just started working with a DLL provided by Vandyke software (VRALib, a COM and .NET API for scripting SSH2 connections) so while I am happily now coding on my PC, I am not sure how you go about redistributing DLLs along with the application to other PCs.
Does any one have some beginners guides to working with 3rd party DLLs and best practice methods and tips / tricks for redistribution?
Ok, well if its a COM DLL with a managed .NET API, you need to make sure that you have a means for installing and registering the COM DLL on the PC. The .NET API can just be copied along with your application.
There are various ways of registering DLLs, there's a command line program regsvr32 which is a bit ugly but functional. Here is an article describing how to register COM DLLs from .NET code.
Does the Vandyke software come with an installer that you can just run from your installer? Do they provide a means of running the installer in a silent mode?

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.

Categories