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?
Related
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.
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.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have got C# .Net based applications. Is there any way I can run these applications for Apple IOS. I don’t have resources to develop all applications from scratch.
Many Thanks,
Ni
First of all, you can not just run your existing .NET programs unmodified on the iOS platform.
The .NET runtime does not work on iOS, nor will it (in relation to current app guidelines regarding runtime compilation). Mono has the same fate and will not run on the iOS platform.
Your only option is to get the code compiled to native iOS executables, and this will involve 3rd party tools.
One of those is the MonoTouch product. It is not free.
Note that this is not a technical limitation. The .NET runtime could run on the iOS platform if Microsoft, or Mono made it for that platform, but Apple does not allow such runtimes (the ones that download/execute not-yet-100%-compiled code) on their platform at all.
This is the same problem that prevents Flash from executing on the platform. The way Flash has gone to solve this is to compile the Flash programs to native iOS executables.
You can use the tools made by the mono project.
These will not support all of the MS namespaces (non of the windows specific ones, such as WMI) and your application code needs to be written to be cross platform (so using Path.Combine for directory paths instead of concatenations).
Try the MoMA tools to see if your code is cross platform and get recommendations for fixing it if it is not.
Take a look at Xamarin for IOS. Integrates nicely with Visual Studio otherwise you can use its own IDE.
You can also reference .net assemblies. Hope this helps.
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.
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.