File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 53
53
<CmdletSolutionsToBuild Include =" .\src\ServiceManagement\ServiceManagement.sln"
54
54
Condition =" '$(Scope)' == 'ServiceManagement' or '$(Scope)' == 'AzureStorage' " />
55
55
<SetupSln Include =" .\setup\azurepowershell.sln" />
56
+ <Analysis Include =" .\tools\StaticAnalysis\Static Analysis.sln" />
56
57
</ItemGroup >
57
58
58
59
<!--
161
162
Properties =" Configuration=$(Configuration);Platform=Any CPU"
162
163
ContinueOnError =" false"
163
164
Condition =" '$(Scope)' == 'all' " />
165
+
166
+ <MSBuild
167
+ Projects =" @(Analysis)"
168
+ Targets =" Build"
169
+ Properties =" Configuration=Debug;Platform=Any CPU"
170
+ ContinueOnError =" false" />
171
+
172
+ <CallTarget Targets =" DependencyAnalysis" />
164
173
165
174
<CallTarget Targets =" CodeSignInstaller"
166
175
Condition =" '$(CodeSign)' == 'true' and '$(Scope)' == 'all'" />
280
289
<Copy SourceFiles =" @(InstallersToSign)" DestinationFolder =" signed" Condition =" $(DelaySign)" />
281
290
</Target >
282
291
292
+ <!-- Run Dependecy Analyzer -->
293
+ <Target Name =" DependencyAnalysis" >
294
+ <Message Importance =" high" Text =" Running Dependency Analysis..." />
295
+ <Exec Command =" $(MSBuildProjectDirectory)\src\Package\StaticAnalysis.exe $(MSBuildProjectDirectory)\src\Package\$(Configuration) $(MSBuildProjectDirectory)\src\Package" />
296
+ </Target >
297
+
283
298
<!-- Publish all packages -->
284
299
<Target Name =" Publish" >
285
300
<Error Condition =" '$(NuGetKey)' == '' " Text =" You must provide the NuGetKey parameter to the build: /p:NuGetKey=YOUR_PUBLISHING_KEY" />
Original file line number Diff line number Diff line change 17
17
<DebugSymbols >true</DebugSymbols >
18
18
<DebugType >full</DebugType >
19
19
<Optimize >false</Optimize >
20
- <OutputPath >bin\Debug\ </OutputPath >
20
+ <OutputPath >..\..\src\Package </OutputPath >
21
21
<DefineConstants >DEBUG;TRACE</DefineConstants >
22
22
<ErrorReport >prompt</ErrorReport >
23
23
<WarningLevel >4</WarningLevel >
26
26
<PlatformTarget >AnyCPU</PlatformTarget >
27
27
<DebugType >pdbonly</DebugType >
28
28
<Optimize >true</Optimize >
29
- <OutputPath >bin\Release\ </OutputPath >
29
+ <OutputPath >..\..\src\Package </OutputPath >
30
30
<DefineConstants >TRACE</DefineConstants >
31
31
<ErrorReport >prompt</ErrorReport >
32
32
<WarningLevel >4</WarningLevel >
You can’t perform that action at this time.
0 commit comments