Shell Extension in C# with .Net 2.0/3.0/3.5 - c#-2.0

Is it Possible to develop the(shell Extention Program in C#) CSShellExtContextMenuHandler Shell context menu handler (C#) through dot net framework 2.0/3.0/3.5.
Because I am converting the VC++ code to C#, In VC++ through COM(ATL Project) are used but in C# those functionality is not available.
Note: Dot net framework 4.0 or above I can't use.
Please suggest me. Thanks in advance

Related

Can Delphi call a function from a .NET Standard class library?

Calling functions contained in a .NET Framework class library from Delphi has been solved long ago.
But we now have .NET Core and .NET Standard class libraries and would like know if using these in a Delphi project can be done. I'm not sure where to start or whether it is worth it. Obviously I can rebuild this library for .NET Framework but do I HAVE to do it this way?

Standalone F# installer

I know this question has been asked before, but none of the answers help me in any sort.
I would like to know a way of installing F# on a computer that has no internet connection (visual studio is already installed on the target computer, but only C# components). Do you know if it's doable ?
Thanks!
If you only need to support .NET Core, then you get everything F#-related just be requiring .NET Core with your Visual Studio installation. This includes the compiler, FSI, and templates. The only thing you'll have missing is the old-style F# templates that don't use the .NET SDK.

aspnet core 1.0 full .net framework on Linux

I have a few simple questions:
a) can I use mono on linux and osx to load the full .net framework like I would on windows by adding net46 to my project.json?
b) can I use mono as an alias like net46?
c) can I use mono with aspnet core 1.0 rtm projects on linux?
I have been looking at the dotnet docs, specifically the standard library and the table and the table with the platform support confuses me with the arrows and star under mono.
thanks
can I use mono on linux and osx to load the full .net framework like I would on windows by adding net46 to my project.json?
In theory, yes, that's exactly what you do: specify some version of net inside frameworks in your project.json and dotnet run will then use mono to run your application.
In practice, basic Hello World application works, but I'm not sure how well will more complicated applications work.
If you want to run dotnet build on the same machine, you will also need reference assemblies. The version I tested (mono 4.2.1) only contained reference assemblies up to .Net 4.5.1, so net451 works, but net46 doesn't.
can I use mono as an alias like net46?
I don't think you can, at least not without forking .Net Core SDK.
I don't understand why would you want to do that, but I believe doing so would require modifying DefaultFrameworkMappings in NuGet.Client.
can I use mono with aspnet core 1.0 rtm projects on linux?
I wasn't able to make a basic ASP.NET Core application run under mono. I don't know what the problem is, or how hard would it be to fix it. EDIT: I managed to work around the issue I encountered.
Mono is other thing. Yeah they developed mono like .net framework but you cannot use .net 4.6 on mono.
Read the following article. Click here
Micrsoft developed .net core a new framework to run .net on windows, linux, mac osx etc.

Translating a .NET DLL using Monodroid

I have written a networking library using C# and .NET. .NET/Mono developers can use the library to develop multiplayer applications.
I want to make the library available on the Android platform so that native Android developers can use the library. Is Monodroid (Mono for Android) capable of performing this translation and what is the best way to proceed?
Thanks.
If I'm understanding the question correctly, you are looking to build a DLL using Mono for Android that you give to Java developers to use? That's not currently possible since Mono for Android isn't simply translating from C# to Java. Mono for Android apps include the Mono runtime, and .NET code is run against that. It generates callable wrappers so that Mono and Dalvik (the Java virtual machine in Android) can talk to each other, but without the Mono runtime the DLL wouldn't be very useful.
If the developer is using Mono for Android to build the application, then they can use your DLL in the app.

Are there any F# alternative (non-.Net) implementation projects?

Some popular languages like Python and Ruby have native, JVM and .Net CLR implementations. C# is implemented with free Mono project. Aren't there any attempts of implementing F#?
As others pointed out, the standard F# implementation from Microsoft is just a .NET (CLI) application that runs on multiple implementations of CLI (namely .NET and Mono). F# also produces .NET (CLI) applications as libraries that also work on both .NET and Mono. However, that is still the same CLI implementation of F# (just running on different implementation of CLI)
To answer your question -
As far as I know, there is no other attempt to implement F# compiler for other platforms/runtimes.
F# shares a common background with OCaml, so the easiest way to get another implementation of F# would be to take OCaml and add F#-specific features (and remove OCaml-specific features).
You can use only shared sub-language and cross-compile using both F# and OCaml.
Also, there are some plans to release F# as open source, so it may be possible that (in the future), someone will port F# to other platforms such as JVM using the source (when released).
F# interactive, fsi.exe, already runs on Mono, as do compiled F# programs.
There is a compiler for targeting a subset of F# to FPGAs, which I guess is a non-.NET implementation
http://www.avalda.com/
Link
Mono is an implementation of .net which happens to include a c# compiler (as well as a vb compiler). It is not primarily a c# implementation.

Resources