# .NET Core templates?

**URL:** https://talk.remobjects.com/t/net-core-templates/14515
**Category:** Elements
**Tags:** visual-studio, net, core
**Created:** [October 20, 2017, 10:24am UTC](https://talk.remobjects.com/t/net-core-templates/14515 "2017-10-20T10:24:20Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![estechco](https://talk.remobjects.com/user_avatar/talk.remobjects.com/estechco/32/8228_2.png) [@estechco](https://talk.remobjects.com/u/estechco)
#### Post date: [October 20, 2017, 10:24am UTC](https://talk.remobjects.com/t/net-core-templates/14515/1 "2017-10-20T10:24:21Z")

</div>

Should I be able to see new project templates for .NET Core (under any/all of the RemObjects branches), in the way I do for Visual C#?

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [October 20, 2017, 2:05pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/2 "2017-10-20T14:05:49Z")

</div>

.NET Core support is coming in v10, via EBuild. Please refer to the [EBuild Beta forum](https://talk.remobjects.com/c/elements/EBuild) for details.

---

<div class="post-metadata">

### Author: ![estechco](https://talk.remobjects.com/user_avatar/talk.remobjects.com/estechco/32/8228_2.png) [@estechco](https://talk.remobjects.com/u/estechco)
#### Post date: [October 23, 2017, 11:02am UTC](https://talk.remobjects.com/t/net-core-templates/14515/3 "2017-10-23T11:02:03Z")

</div>

Ok, great, thanks!

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 10, 2018, 11:13am UTC](https://talk.remobjects.com/t/net-core-templates/14515/4 "2018-05-10T11:13:29Z")

</div>

Is it ready already in 10. I need ASP .NET WebApi for .NET Core template.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 10, 2018, 11:38am UTC](https://talk.remobjects.com/t/net-core-templates/14515/5 "2018-05-10T11:38:48Z")

</div>

We have basic support for building .NET .Core apps (not launching/debugging from the IDE yet) in Fire and Water, but no [ASP.NET](http://ASP.NET) Core yet, and no templates.

To create a .NET Core project, simply change its TargetFramework setting from “.NETFrameworkXXX” to “.NETCoreXXX” (in Fire ow Water), eg:

 ![18%20AM](https://talk.remobjects.com/uploads/default/original/2X/8/81e45d4be1d5ce7eac4beeee7ebca30b26ccc769.png)

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 10, 2018, 12:00pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/6 "2018-05-10T12:00:47Z")

</div>

Using VS the same?

---

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [May 10, 2018, 12:05pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/7 "2018-05-10T12:05:18Z")

</div>

Is there an expected timeline for this and general .net development in Fire ? I know you started working on it a while back. Some things have been left and I saw that the Target Framework now lets you pick from more versions.

I opened one of my solutions that had been created in visual studio in Fire and started updating references to nugets. It takes a bit of time because you cant browse and add directly from nuget. You also cant set the expected version.

It seems feasible because I was able to hit sql server with my data access code. This is with mono but I would really like to use .net core.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 10, 2018, 12:13pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/8 "2018-05-10T12:13:20Z")

</div>

> [@JohnMoshakis](#):
>
> Is there an expected timeline for this and general .net development in Fire ?

.NET Core support is going to be our next focus area, so I hope we’ll be starting ti make progress on this over the next few weeks. Note that ther ear Eno current know issues/problems for general ( **non-Core** ) .NET development in Fire — if you are seeing issue or have any concerns in _that_ area, please let me know. .NET **Core** is a known open wound, on the other hand.

> [@JohnMoshakis](#):
>
> Some things have been left

I believe all issues that were _reported_ have been addressed. If there’s any I missed, please let me know.

> [@JohnMoshakis](#):
>
> and I saw that the Target Framework now lets you pick from more versions.

Yes, you can. know pick all “known” versions, the list is no longer driven by what’s found locally (the downside is we need to manually maintain it as new versions come, such as 4.8 and Core 3.0 now). Note that there preferred option when using EBuild is to just set _no_ version, for regular .NET, as that will pick the most appropriate version available on the machine during build.

> [@JohnMoshakis](#):
>
> I opened one of my solutions that had been created in visual studio in Fire and started updating references to nugets. It takes a bit of time because you cant browse and add directly from nuget. You also cant set the expected version.

Hmm, curious. it looks like we lost the NuGet tab, in References Manager. will investigate and try to fix to tomorrow.

> [@JohnMoshakis](#):
>
> It seems feasible because I was able to hit sql server with my data access code. This is with mono but I would really like to use .net core.

building against .NET Core should be fine. Running/debugging, not yet — there’s a lot we need to investigate, and we’ll probably need a new debug engine for it (or adjust the CLR one Water uses), since Fire currently uses our Mono debug engine, which is ties specifically to Mono’s debug APIs.

That’s all part of what we’ll start looking at now as we dive into Core support for good.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 10, 2018, 1:55pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/9 "2018-05-10T13:55:15Z")

</div>

> [@mh](#):
>
> Hmm, curious. it looks like we lost the NuGet tab, in References Manager. will investigate and try to fix to tomorrow.

Ah yes. Listing known references only works for packages in the local cache (in `~/.nuget`), because the full list from the remote repositories is too unmanageable. I’ll need to implement searching/browsing the UI and API at some stage (but last I check that was a bitch to work with some deferred that 😉

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 10, 2018, 4:04pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/10 "2018-05-10T16:04:44Z")

</div>

> [@mh](#):
>
> > Hmm, curious. it looks like we lost the NuGet tab, in References Manager. will investigate and try to fix to tomorrow.
> 
> Ah yes. Listing known references only works for packages in the local cache (in `~/.nuget` ), because the full list from the remote repositories is too unmanageable. I’ll need to implement searching/browsing the UI and API at some stage (but last I check that was a bitch to work with some deferred that 😉

Improved that for tomorrow’s build so that Fire will show at last all packages known from the local cache, as well as any that are in the project (whether known or not). Changing the version. number is also fixed, that code had been disabled in a regression as part of porting the dialog to cross-platform for Water.

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 11, 2018, 8:47am UTC](https://talk.remobjects.com/t/net-core-templates/14515/11 "2018-05-11T08:47:58Z")

</div>

Hi

I’m trying to make new [ASP.NET](http://ASP.NET) Web API project and use my existing Oxygene code. I want to run it under Linux. I’ve tried to make new class lib in Water and change it to .NET Core 2.0, but I can’t - there is no such option.

Could you please create and share to me new empty class lib for .NET Core 2.0 using Fire? Than I will try to use my existing code and run it on Linux 🙂

Thanks

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 11, 2018, 11:44am UTC](https://talk.remobjects.com/t/net-core-templates/14515/12 "2018-05-11T11:44:09Z")

</div>

you don’t see the project option from my screenshot above, in Water?

in any case, will create and post a project for you in a bit…

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 11, 2018, 11:47am UTC](https://talk.remobjects.com/t/net-core-templates/14515/13 "2018-05-11T11:47:17Z")

</div>

I can’t open dialog… I’m clicking in arrow or field but without effects ☹  
Thank you Marc !!

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 11, 2018, 11:48am UTC](https://talk.remobjects.com/t/net-core-templates/14515/14 "2018-05-11T11:48:47Z")

</div>

what build? that should have been fixed last week…

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 11, 2018, 11:50am UTC](https://talk.remobjects.com/t/net-core-templates/14515/15 "2018-05-11T11:50:14Z")

</div>

the last one …

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 11, 2018, 5:47pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/16 "2018-05-11T17:47:00Z")

</div>

[CoreClassLibrary21.zip](https://talk.remobjects.com/uploads/default/original/2X/b/b9f11b0141ccdd7e0e28a4ec016e7ed8f00d0d5c.zip) (12.6 KB)

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 11, 2018, 7:11pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/17 "2018-05-11T19:11:12Z")

</div>

> [@Mateusz\_Galazka](#):
>
> the last one …

My bad. I knew I fixed it, but it seems that was _after_ last Friday. Today’s build, out now, has the fix.

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 11, 2018, 7:23pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/18 "2018-05-11T19:23:33Z")

</div>

Thank You…🙂

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 12, 2018, 8:38pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/19 "2018-05-12T20:38:40Z")

</div>

There is a selecion i new Water - thanks, but there is the next problem

Project ‘…\RemObjects Software\Elements\Water\ClassLibrary3\ClassLibrary3.elements’ targets ‘.NETCore2.0’. It cannot be referenced by a project that targets ‘.NETCoreApp,Version=v2.0’. WebApplication2 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 1656

Error from VS - any idea how to deal with it?

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 12, 2018, 9:51pm UTC](https://talk.remobjects.com/t/net-core-templates/14515/20 "2018-05-12T21:51:31Z")

</div>

you’ll need to convert the project to use EBuild to use it from VS. Or (better) use Water.

[Next page](https://talk.remobjects.com/t/net-core-templates/14515.md?page=2)
