File tree 2 files changed +12
-1
lines changed
TestAssets/TestProjects/AppWithLibrary/TestApp
src/Tasks/Microsoft.NET.Build.Tasks/build
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "configProperties" : {
3
+ "System.GC.Server" : true
4
+ }
5
+ }
Original file line number Diff line number Diff line change @@ -124,8 +124,14 @@ Copyright (c) .NET Foundation. All rights reserved.
124
124
PlatformLibraryName =" $(MicrosoftNETPlatformLibrary)"
125
125
UserRuntimeConfig =" $(UserRuntimeConfig)" >
126
126
127
- <Output TaskParameter =" FilesWritten" ItemName =" FileWrites" />
128
127
</GenerateRuntimeConfigurationFiles >
128
+
129
+ <ItemGroup >
130
+ <!-- Do this in an ItemGroup instead of as an output parameter of the GenerateDepsFile task so that it still gets added to the item set
131
+ during incremental builds when the task is skipped -->
132
+ <FileWrites Include =" $(ProjectRuntimeConfigFilePath)" Condition =" Exists('$(ProjectRuntimeConfigFilePath)')" />
133
+ <FileWrites Include =" $(ProjectRuntimeConfigDevFilePath)" Condition =" Exists('$(ProjectRuntimeConfigDevFilePath)')" />
134
+ </ItemGroup >
129
135
130
136
</Target >
131
137
You can’t perform that action at this time.
0 commit comments