diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 571186e9f7f5e..f8ad9b2f7d670 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -262,6 +262,7 @@ + diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Azure.Security.KeyVault.Secrets.Aot.csproj b/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Azure.Security.KeyVault.Secrets.Aot.csproj new file mode 100644 index 0000000000000..1876a78b9a9d2 --- /dev/null +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Azure.Security.KeyVault.Secrets.Aot.csproj @@ -0,0 +1,23 @@ + + + Exe + net7.0 + true + false + false + true + + + + + + + + + + + + + + + diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Directory.Build.targets b/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Directory.Build.targets new file mode 100644 index 0000000000000..ab641d16c6c12 --- /dev/null +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Directory.Build.targets @@ -0,0 +1,22 @@ + + + + $(TargetFramework) + + + + + + + <_NoWarn Include="$(NoWarn)" /> + + + @(_NoWarn) + + + + + + + diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Program.cs b/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Program.cs new file mode 100644 index 0000000000000..fe1eef2519228 --- /dev/null +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/aot/Program.cs @@ -0,0 +1,4 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +System.Console.WriteLine("Hello, world!");