CefGlue.CopyLocal.props 1.1 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project>
  3. <ItemGroup>
  4. <PackageReference Include="cef.redist.x64" />
  5. <PackageReference Include="cef.redist.osx64" />
  6. </ItemGroup>
  7. <PropertyGroup>
  8. <BrowserProcessDir>$(MSBuildThisFileDirectory)CefGlue.BrowserProcess\bin\$(Configuration)\$(TargetFramework)</BrowserProcessDir>
  9. <RuntimeIdentifiers>osx-x64;win-x64</RuntimeIdentifiers>
  10. </PropertyGroup>
  11. <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
  12. <CefGlueTargetPlatform>win</CefGlueTargetPlatform>
  13. </PropertyGroup>
  14. <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
  15. <CefGlueTargetPlatform>osx</CefGlueTargetPlatform>
  16. </PropertyGroup>
  17. <ItemGroup Condition="'$(RuntimeIdentifier)' == ''">
  18. <CefGlueBrowserProcessFiles Include="$(BrowserProcessDir)\$(CefGlueTargetPlatform)-x64\publish\*" />
  19. </ItemGroup>
  20. <ItemGroup Condition="'$(RuntimeIdentifier)' != ''">
  21. <CefGlueBrowserProcessFiles Include="$(BrowserProcessDir)\$(RuntimeIdentifier)\publish\*" />
  22. </ItemGroup>
  23. </Project>