why can't create a .Net project with Eclipse? - c#

I want to create a .NET Core project in Eclipse IDE, but Eclipse does not find an available project template. So I can't create the project.
Does anyone have any ideas on how to fix this?
I installed the aCute. I specified dotnet.exe in Preferences.

Related

Visual Studio 2022 can't create exe with all dll's

I have project in .NET 4.8 and i want to publish as one exe file (with all dll) and app.config. When i use VS 2017 i just choose publish and to file. But now i have Publish wizard which create installer (which install i don't know where). When I go to project properties this same wizard.
Edit: this issue absent for .net 6 app
Publish Wizard which I get:
P.S. I hope my english wasn't too terrible
Publishing in a single-file app isn't supported by .NET Framework 4.8. This is for .NET core and higher version of launguage.

Create installer/exe for c# .net core 3.0 project with dll

I need help how to create installer for c# .net core 3.0 project with some dll. I've tried the installer extension and Install shield for vs2019 but seems it is not working. Please help. Thanks.

How to create Installer for a .NetCore project?

I recently moved my winform project from .NetFramework to .NetCore3.0.
My earlier project had WiX installer support for building a nice and clean installer. But, now i don't see any such support for .NetCore3.0. Also, WiX installer project is no more compatible in VS2019. Do you have any suggestions?
WiX has an extension for VS2019. (I contributed it.)
When you create a WiX setup project in VS it asks you what version of .NET to use. This question isn't actually relevant and has no effect on the project generated. It's just part of the VS2019 project template system and isn't hidden.
I have an FOSS solution called IsWiX that makes creating this type of installer super easy. You can see how it works by looking at the desktop tutorial found at:
https://www.github.com/iswix-llc/iswix-tutorials
The only real difference between .NET Framework and .NET Core is you have a lot more choices in how to build your project. This means you might no longer author an AppSearch/LaunchCondition and/or create a bootstrapper to install .NET Framework. You might instead deploy a private copy of the framework with your application or you might create a single self contained executable. You have more choices here. But WiX, IsWiX and MSI still all work great here.

Is it possible to use .NET 4.6.1 for Xamarin on Mac?

I want to use .NET PCL library from a NuGet that target .Net 4.6.1 in Xamarin PLC project.
I can add it to the project, it will build fine. But, I cannot reference it in the project itself, it just doesn't allow because of .NET versions differences. The maximum version that I can set for my PCL projects is 4.5.
I can select 4.5.1 for example but it will jump back to 4.5 due to missing profiles for that version.
I was not able to find those profiles or update .NET Framework.
If I'm doing something completely dumb, please, tell me :)
If you are using visual studio 2017, you need to go to the visual studio installer, and select a few more checkboxes:

How to create .NET Platform Standard project

I read up on the new .NET Platform Standard concept replacing the old Portable Class Libraries, which seems nice. However, I can't seem to figure out how to create such a library, yet.
Is there a Project Template for Visual Studio where I could choose the target generation / netstandard? Or do I have to manually change a PCL project.json file for this?
(Got VS15, Update 3 installed)
If you create a PCL project and then double click properties, you should see an option to change your target platform. That will let you choose a .net standard version. Same thing as doing it yourself in the project.json but is the closest thing I have found so far to having a VS template do it for you
You can follow this Create .NET Standard Packages with Visual Studio 2015
From the article:
This guide will walk you through creating a nuget package targeting
.NET Standard Library 1.4. This will work across .NET Framework 4.6.1,
Universal Windows Platform 10, .NET Core, and Mono/Xamarin.
On Visual Studio 2019 it is possible to create projects that target .NET standard, just as you create another type of project. To do so, you just need to add new project, and then if you search for .net standard it will show several types of projects in which you can target .NET standard, as shown below.
You can also create new .NET Platform Standard projects from a template by using Visual Studio 2017 RC.

Categories