File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.IP2Region Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Razor" >
22
33 <PropertyGroup >
4- <Version >9.0.1 </Version >
4+ <Version >9.0.2 </Version >
55 </PropertyGroup >
66
77 <PropertyGroup >
1111
1212 <ItemGroup >
1313 <Content Include =" Build\*.targets" PackagePath =" build\" />
14- <Content Include =" Data\ip2region.xdb" PackagePath =" contentFiles/ ip2region.xdb" />
14+ <Content Include =" Data\ip2region.xdb" PackagePath =" contentFiles\ ip2region.xdb" />
1515 </ItemGroup >
1616
1717 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project >
22
33 <ItemGroup >
4- <Files Include =" $(MSBuildThisFileDirectory)/../contentFiles/*.* " />
4+ <IP2RegionFiles Include =" $(MSBuildThisFileDirectory)/../contentFiles/ip2region.xdb " />
55 </ItemGroup >
66
7- <Target Name =" CopyFiles" AfterTargets =" Build" >
8- <Copy SourceFiles =" @(Files)" DestinationFolder =" $(TargetDir)/ip2region/%(RecursiveDir)" />
7+ <Target Name =" IP2RegionCopyFilesAfterBuild" AfterTargets =" Build" >
8+ <Message Text =" [IP2Region] Copy xdb file -> $(TargetDir)" Importance =" high" />
9+ <Copy SourceFiles =" @(IP2RegionFiles)" DestinationFolder =" $(TargetDir)/ip2region" />
10+ </Target >
11+
12+ <Target Name =" IP2RegionCopyFilesAfterPublish" AfterTargets =" Publish" >
13+ <Copy SourceFiles =" @(IP2RegionFiles)" DestinationFolder =" $(PublishDir)/ip2region" />
914 </Target >
1015
1116</Project >
You can’t perform that action at this time.
0 commit comments