Closed v-sherryfan closed 2 weeks ago
This is by design, we marked the API as experimental in Aspire 9 because it's unfinished. See https://github.com/dotnet/aspire/issues/6298
@DamianEdwards we should update the sample to ignore the warning in source.
When the samples are updated for 9.0 GA, we will 😄 Already happened in this branch: https://github.com/dotnet/aspire-samples/blob/b9b187e7a34fdd35e0ac36601804baef28b66c1e/samples/AspireWithPython/AspireWithPython.AppHost/Program.cs#L3
Fixed
Not repro on main branch
REGRESSION INFO: worked in
main
branch [Aspire 9.0.0 rc 1]INSTALL STEPS
REPRO STEPS
UpdateTo9GA
branchACTUAL 'Aspire.Hosting.PythonAppResourceBuilderExtensions.AddPythonApp(Aspire.Hosting.IDistributedApplicationBuilder, string, string, string, params string[])' is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
NOTE
main
branch [Aspire 9.0.0 rc 1]EXPECTED Building project without any errors.