File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed
tests/MySqlConnector.Performance Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk" >
1
+ <Project Sdk =" Microsoft.NET.Sdk.Web " >
2
2
3
3
<PropertyGroup >
4
4
<TargetFramework >netcoreapp2.1</TargetFramework >
27
27
</PropertyGroup >
28
28
29
29
<ItemGroup >
30
- <None Update =" appsettings.json" >
31
- <CopyToOutputDirectory >Always</CopyToOutputDirectory >
32
- </None >
33
- <None Update =" config.json" >
34
- <CopyToOutputDirectory >Always</CopyToOutputDirectory >
35
- </None >
30
+ <AppConfig Include =" appsettings.json" />
31
+ <AppConfig Include =" config.json" />
36
32
</ItemGroup >
37
33
34
+ <Target Name =" CopyDirsAfterBuild" AfterTargets =" Build" >
35
+ <Copy
36
+ SourceFiles =" @(AppConfig)"
37
+ DestinationFolder =" $(OutDir)\%(RecursiveDir)"
38
+ SkipUnchangedFiles =" true"
39
+ OverwriteReadOnlyFiles =" true"
40
+ Retries =" 3"
41
+ RetryDelayMilliseconds =" 300" />
42
+ </Target >
43
+ <Target Name =" CopyDirsAfterPublish" AfterTargets =" Publish" >
44
+ <Copy
45
+ SourceFiles =" @(AppConfig)"
46
+ DestinationFolder =" $(PublishDir)\%(RecursiveDir)"
47
+ SkipUnchangedFiles =" true"
48
+ OverwriteReadOnlyFiles =" true"
49
+ Retries =" 3"
50
+ RetryDelayMilliseconds =" 300" />
51
+ </Target >
52
+
38
53
</Project >
You can’t perform that action at this time.
0 commit comments