We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3688dd6 commit 7690e5fCopy full SHA for 7690e5f
src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/SqlProjectResource.cs
@@ -17,7 +17,7 @@ string IResourceWithDacpac.GetDacpacPath()
17
var projectPath = projectMetadata.ProjectPath;
18
using var projectCollection = new ProjectCollection();
19
20
- var attr = Assembly.GetEntryAssembly()?.GetCustomAttribute<AssemblyConfigurationAttribute>();
+ var attr = projectMetadata.GetType().Assembly.GetCustomAttribute<AssemblyConfigurationAttribute>();
21
if (attr is not null)
22
projectCollection.SetGlobalProperty("Configuration", attr.Configuration);
23
0 commit comments