No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

chromiumembeddedframework.runtime.win-x86.props 1.6KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <!--
  4. Files are no longer copied as part of this targets file.
  5. For projects other than CefSharp define a target to copy the files.
  6. Checkout the CefSharp.Common.targets file for an example
  7. -->
  8. <ItemGroup>
  9. <CefRuntimeWin32 Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\*.*" />
  10. <_CefRuntimeWin32Additional Include="$(MSBuildThisFileDirectory)..\CEF\win-x86\**\*.*" />
  11. <CefRedist32 Include="@(CefRuntimeWin32)" />
  12. <CefRedist32 Include="@(_CefRuntimeWin32Additional)" />
  13. </ItemGroup>
  14. <Target Name="CefRedist32CopyResources">
  15. <PropertyGroup>
  16. <CefRedist32TargetDir Condition="'$(CefRedist32TargetDir)' == ''">$(TargetDir)</CefRedist32TargetDir>
  17. </PropertyGroup>
  18. <!--
  19. Cannot gurantee access to the main CefRuntimeWin32 ItemGroup here
  20. so we create a duplicate inside our target.
  21. https://github.com/dotnet/project-system/issues/4158
  22. -->
  23. <ItemGroup>
  24. <_CefRuntimeWin32 Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\*.*" />
  25. <_CefRuntimeWin32 Include="$(MSBuildThisFileDirectory)..\CEF\win-x86\**\*.*" />
  26. </ItemGroup>
  27. <Message Importance="high" Text="Copying Chromium Embedded Framework Runtime x86 files from $(MSBuildThisFileDirectory)..\runtimes\win-x86\native to $(CefRedist32TargetDir)" />
  28. <Copy SourceFiles="@(_CefRuntimeWin32)" DestinationFiles="@(_CefRuntimeWin32->'$(CefRedist32TargetDir)\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
  29. </Target>
  30. </Project>