Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve setting up rd.xml and NativeAOT.Console.targets #507

Open
8 tasks
flibitijibibo opened this issue Dec 12, 2024 · 1 comment
Open
8 tasks

Improve setting up rd.xml and NativeAOT.Console.targets #507

flibitijibibo opened this issue Dec 12, 2024 · 1 comment

Comments

@flibitijibibo
Copy link
Member

flibitijibibo commented Dec 12, 2024

Oh hey, a very rare instance where a console issue can be public!

One of the sketchier things we have to do for setting up a console port is manually editing our template rd.xml and occasionally editing the ilc.exe parameters for our custom .targets file - we should change it so games don't have to screw around with the NativeAOT branches so much:

  • rd.xml should use RdXmlFile msbuild group instead of a custom path
  • Console.targets should pull native imports from DirectPInvoke group
  • For localized resources Console.targets should check IlcSatelliteAssembly group
  • Console.targets should include IlcArgs group for custom arguments
  • Document making a new .sln from the console samples (maybe a generator...? I dunno)

Do the above for...

  • Switch
  • Xbox
  • PlayStation
@flibitijibibo
Copy link
Member Author

flibitijibibo commented Dec 12, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant