aws / aws/aws-toolkit-visual-studio

Properly support net 8

Open
#436 2 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
No language data
Stars
135
Forks
37
PR merge metrics
No merged PRs in 30d

Description

When I try to use "ASP.NET Core App to AWS Elasticbeanstalk on Linux" to deploy my web site, it show s a warning:

_Using self-contained publish since AWS Elastic Beanstalk does not currently have .NET 8 preinstalled_

My application then fails to run because (for whatever reason), it appears that publishing my self-contained app is not supported.

I get an error about "Bad Image Format" and "can't load libhostpolicy.so".

I can find AMIs that DO have net8 pre-installed, so why won't the tools support them?

**Describe the solution you'd like**
Support ASP.NET 8 projects without the workaround of 'self-contained' publishing

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ASP.NET 8 deployment through “ASP.NET Core App to AWS Elastic Beanstalk on Linux” and trace where the toolkit selects self-contained publishing. Check the deployment against a Linux AMI with .NET 8 preinstalled. Done means ASP.NET 8 projects deploy without the warning or the libhostpolicy.so/Bad Image Format failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp
Domain
cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.