Program.cs 694 B

12345678910111213141516171819
  1. using System;
  2. namespace Renci.SshNet.AotCompatibilityTestApp
  3. {
  4. public static class Program
  5. {
  6. public static void Main()
  7. {
  8. // This app is used to verify the trim- and AOT-friendliness of
  9. // the library and its dependencies, by specifying <TrimmerRootAssembly>
  10. // in the csproj and publishing with e.g. "dotnet publish -c Release -r win-x64"
  11. // See https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming?pivots=dotnet-8-0
  12. // and https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/
  13. Console.WriteLine("Hello, AOT!");
  14. }
  15. }
  16. }