# cross platform dotnet generator

**URL:** https://discourse.cmake.org/t/cross-platform-dotnet-generator/7295
**Category:** Development
**Tags:** os:linux, os:windows, os:macos, gen:vs
**Created:** [January 20, 2023, 3:43pm UTC](https://discourse.cmake.org/t/cross-platform-dotnet-generator/7295 "2023-01-20T15:43:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![elksson](https://discourse.cmake.org/user_avatar/discourse.cmake.org/elksson/32/3100_2.png) [@elksson](https://discourse.cmake.org/u/elksson)
#### Post date: [January 20, 2023, 3:43pm UTC](https://discourse.cmake.org/t/cross-platform-dotnet-generator/7295/1 "2023-01-20T15:43:46Z")

</div>

Has anyone started working on a cross platform dotnet generator, (windows, mac, linux). We recently moved our applications from dotnet framework 4.5 to dotnet6 and would like to be able to compile on linux and mac. It seems that it would be nice to have a generator which supports .net using the cross platform compiler (dotnet) instead of msbuild.

Would appreciate if anyone could share their intrest in such a feature for cmake as well as if they have anoy open tickets, or pull requests.

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [January 20, 2023, 3:54pm UTC](https://discourse.cmake.org/t/cross-platform-dotnet-generator/7295/2 "2023-01-20T15:54:13Z")

</div>

Cc: @bhardwajs

For reference, there was some related discussion in a prior topic: [Support for `dotnet` CLI and ninja generator for C#](https://discourse.cmake.org/t/4304)
