XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESystem

【Rust】XFE系统,基于Rust和汇编

公开
关注 0 Fork 0 Star 0
UTF-8
<Project>
  <!-- Only imported by NativeApplication: host BC/TLS tests retain the original NuGet bytes. -->
  <Target Name="XfeNativeBouncyCastleEntropy" AfterTargets="CopyFilesToOutputDirectory"
          Condition="'$(MSBuildProjectName)' == 'NativeApplication' and '$(XfeNativeEntropyPort)' == 'true'">
    <Error Condition="!Exists('$(TargetDir)BouncyCastle.Cryptography.dll') or !Exists('$(TargetDir)XFESystem.NativeEntropy.dll')" Text="Native TLS requires BC and the explicit hardware entropy adapter in the private application output." />
    <Exec Command="dotnet run --project &quot;$(MSBuildThisFileDirectory)TlsEntropyPatch.csproj&quot; -c Release --property:RestoreLockedMode=true --artifacts-path &quot;$(IntermediateOutputPath)TlsEntropyToolArtifacts&quot; -- &quot;$(MSBuildThisFileDirectory)../..&quot; &quot;$(TargetDir)BouncyCastle.Cryptography.dll&quot; &quot;$(TargetDir)XFESystem.NativeEntropy.dll&quot;" WorkingDirectory="$(MSBuildProjectDirectory)" />
  </Target>
</Project>