-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
Reproduction steps:
- Create a new Project
- Add UserSecretsId attribute to the PropertyGroup. E.g.:
<PropertyGroup>
...
<TargetFramework>net9.0</TargetFramework>
<UserSecretsId>abcdefgh-ijkl-mnop-qrst-uvwxyz123456</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
...
</PropertyGroup>
- Execute "new ArchLoader().LoadAssemblies(assemblies.ToArray()).Build();" and pass the assembly with the UserSecretsId attribute into LoadAssemblies()
- The execution of Build() fails and an exception is thrown:
System.ArgumentException: 'Attribute type Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute is not an attribute.'
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.