File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 77 -->
88
99 <!--
10- Using wildcard matching as per https://stackoverflow.com/a/17252671
10+ Using wildcard matching as per https://stackoverflow.com/a/17252671
1111 -->
1212 <ItemGroup >
1313 <CefRedist64 Include =" $(MSBuildThisFileDirectory)..\CEF\**\*.*" />
1414 </ItemGroup >
15+
16+ <Target Name =" CefRedist64CopyResources" >
17+ <PropertyGroup >
18+ <CefRedist64TargetDir Condition =" '$(CefRedist64TargetDir)' == ''" >$(TargetDir)</CefRedist64TargetDir >
19+ </PropertyGroup >
20+ <!--
21+ Cannot gurantee access to the main CefRedist64 ItemGroup here
22+ so we create a duplicate inside our target.
23+ https://github.com/dotnet/project-system/issues/4158
24+ -->
25+ <ItemGroup >
26+ <_CefRedist64 Include =" $(MSBuildThisFileDirectory)..\CEF\**\*.*" />
27+ </ItemGroup >
28+ <Message Importance =" high" Text =" Copying CEF Redist x64 files from $(MSBuildThisFileDirectory)..\CEF to $(CefRedist64TargetDir)" />
29+ <Copy SourceFiles =" @(_CefRedist64)" DestinationFolder =" $(CefRedist64TargetDir)" />
30+ </Target >
1531</Project >
Original file line number Diff line number Diff line change 77 -->
88
99 <!--
10- Using wildcard matching as per https://stackoverflow.com/a/17252671
10+ Using wildcard matching as per https://stackoverflow.com/a/17252671
1111 -->
1212 <ItemGroup >
1313 <CefRedist32 Include =" $(MSBuildThisFileDirectory)..\CEF\**\*.*" />
1414 </ItemGroup >
15+
16+ <Target Name =" CefRedist32CopyResources" >
17+ <PropertyGroup >
18+ <CefRedist32TargetDir Condition =" '$(CefRedist32TargetDir)' == ''" >$(TargetDir)</CefRedist32TargetDir >
19+ </PropertyGroup >
20+ <!--
21+ Cannot gurantee access to the main CefRedist32 ItemGroup here
22+ so we create a duplicate inside our target.
23+ https://github.com/dotnet/project-system/issues/4158
24+ -->
25+ <ItemGroup >
26+ <_CefRedist32 Include =" $(MSBuildThisFileDirectory)..\CEF\**\*.*" />
27+ </ItemGroup >
28+ <Message Importance =" high" Text =" Copying CEF Redist x86 files from $(MSBuildThisFileDirectory)..\CEF to $(CefRedist32TargetDir)" />
29+ <Copy SourceFiles =" @(_CefRedist32)" DestinationFolder =" $(CefRedist32TargetDir)" />
30+ </Target >
1531</Project >
You can’t perform that action at this time.
0 commit comments