File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 1
1
using Microsoft . Build . Evaluation ;
2
2
using Microsoft . SqlServer . Dac ;
3
- using System . Reflection ;
4
3
5
4
namespace Aspire . Hosting . ApplicationModel ;
6
5
@@ -15,14 +14,7 @@ string IResourceWithDacpac.GetDacpacPath()
15
14
if ( this . TryGetLastAnnotation < IProjectMetadata > ( out var projectMetadata ) )
16
15
{
17
16
var projectPath = projectMetadata . ProjectPath ;
18
-
19
- var attr = this . GetType ( ) . Assembly . GetCustomAttribute < AssemblyConfigurationAttribute > ( ) ;
20
-
21
17
using var projectCollection = new ProjectCollection ( ) ;
22
-
23
- if ( attr is not null )
24
- projectCollection . SetGlobalProperty ( "Configuration" , attr . Configuration ) ;
25
-
26
18
var project = projectCollection . LoadProject ( projectPath ) ;
27
19
28
20
// .sqlprojx has a SqlTargetPath property, so try that first
You can’t perform that action at this time.
0 commit comments