File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 2828 <Compile Remove =" Commands\GetScriptAnalyzerLoggerCommand.cs" />
2929 </ItemGroup >
3030
31+ <ItemGroup >
32+ <None Remove =" Settings\*.psd1" />
33+ <None Remove =" Settings\*.json" />
34+ </ItemGroup >
35+
36+ <ItemGroup >
37+ <Content Include =" Settings\*.psd1" >
38+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
39+ </Content >
40+ <Content Include =" Settings\*.json" >
41+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
42+ </Content >
43+ </ItemGroup >
44+
3145 <ItemGroup >
3246 <PackageReference Include =" Microsoft.CSharp" Version =" 4.5.0" />
3347 </ItemGroup >
Original file line number Diff line number Diff line change @@ -187,8 +187,6 @@ function Start-ScriptAnalyzerBuild
187187 " $projectRoot \Engine\ScriptAnalyzer.format.ps1xml" , " $projectRoot \Engine\ScriptAnalyzer.types.ps1xml"
188188 )
189189
190- $settingsFiles = Get-Childitem " $projectRoot \Engine\Settings" | ForEach-Object - MemberName FullName
191-
192190 $destinationDir = " $projectRoot \out\PSScriptAnalyzer"
193191 # this is normalizing case as well as selecting the proper location
194192 if ( $Framework -eq " core" ) {
@@ -231,6 +229,7 @@ function Start-ScriptAnalyzerBuild
231229 )
232230 Publish-File $itemsToCopyBinaries $destinationDirBinaries
233231
232+ $settingsFiles = Get-Childitem " $projectRoot \Engine\Settings" | ForEach-Object - MemberName FullName
234233 Publish-File $settingsFiles (Join-Path - Path $destinationDir - ChildPath Settings)
235234
236235 # copy newtonsoft dll if net452 framework
You can’t perform that action at this time.
0 commit comments