aws / aws-extensions-for-dotnet-cli

Extensions to the dotnet CLI to simplify the process of building and publishing .NET Core applications to AWS services
Apache License 2.0
369 stars 86 forks source link

Self-contained in csproj project file is ignored #271

Closed Beau-Gosse-dev closed 1 year ago

Beau-Gosse-dev commented 1 year ago

Issue #, if available: https://github.com/aws/aws-extensions-for-dotnet-cli/issues/270

Description of changes: Also checks for self contained in the csproj file in addition to the ms build arguments. This allows publishing a .NET 7 custom runtime without native AOT from the SAM CLI where msbuild parameters can't be passed.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.