File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 28
28
<Compile Remove =" Commands\GetScriptAnalyzerLoggerCommand.cs" />
29
29
</ItemGroup >
30
30
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
+
31
45
<ItemGroup >
32
46
<PackageReference Include =" Microsoft.CSharp" Version =" 4.5.0" />
33
47
</ItemGroup >
Original file line number Diff line number Diff line change @@ -187,8 +187,6 @@ function Start-ScriptAnalyzerBuild
187
187
" $projectRoot \Engine\ScriptAnalyzer.format.ps1xml" , " $projectRoot \Engine\ScriptAnalyzer.types.ps1xml"
188
188
)
189
189
190
- $settingsFiles = Get-Childitem " $projectRoot \Engine\Settings" | ForEach-Object - MemberName FullName
191
-
192
190
$destinationDir = " $projectRoot \out\PSScriptAnalyzer"
193
191
# this is normalizing case as well as selecting the proper location
194
192
if ( $Framework -eq " core" ) {
@@ -231,6 +229,7 @@ function Start-ScriptAnalyzerBuild
231
229
)
232
230
Publish-File $itemsToCopyBinaries $destinationDirBinaries
233
231
232
+ $settingsFiles = Get-Childitem " $projectRoot \Engine\Settings" | ForEach-Object - MemberName FullName
234
233
Publish-File $settingsFiles (Join-Path - Path $destinationDir - ChildPath Settings)
235
234
236
235
# copy newtonsoft dll if net452 framework
You can’t perform that action at this time.
0 commit comments