ubisoft / Sharpmake

Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
Apache License 2.0
927 stars 171 forks source link

Add PublishAot Option to allow NativeAot on .Net7 #261

Closed ReyAnthony closed 1 year ago

ReyAnthony commented 1 year ago

The following is needed for NativeAOT to be enabled in a .Net 7 app This Pull Request adds the required option.

<PropertyGroup>
    <PublishAot>true</PublishAot>
</PropertyGroup>

https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/

jspelletier commented 1 year ago

Hi Anthony, Since you are working at ubisoft, I suggest next time to use the gitlab mirror for your MR.

ReyAnthony commented 1 year ago

Hey ! I've worked on this on my free time for a feature I need on a personal project, that's why ;)