forked from sshnet/SSH.NET
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProgram.cs
More file actions
19 lines (16 loc) · 694 Bytes
/
Copy pathProgram.cs
File metadata and controls
19 lines (16 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
namespace Renci.SshNet.AotCompatibilityTestApp
{
public static class Program
{
public static void Main()
{
// This app is used to verify the trim- and AOT-friendliness of
// the library and its dependencies, by specifying <TrimmerRootAssembly>
// in the csproj and publishing with e.g. "dotnet publish -c Release -r win-x64"
// See https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming?pivots=dotnet-8-0
// and https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/
Console.WriteLine("Hello, AOT!");
}
}
}