Add YesNt interpreter process and command integration

This commit is contained in:
Stone_Red
2026-06-11 20:44:49 +02:00
parent 160d0559e8
commit cda4dcf097
4 changed files with 68 additions and 12 deletions
+3 -10
View File
@@ -9,13 +9,10 @@
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.2" />
<PackageReference Include="Cosmos.Kernel" Version="3.0.58" />
<PackageReference Include="Cosmos.Kernel.System" Version="3.0.58" />
<PackageReference Include="YesNt.Interpreter" Version="1.1.0" />
</ItemGroup>
<UsingTask
TaskName="PatchInteropSysSecureRandomTask"
TaskFactory="RoslynCodeTaskFactory"
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll"
>
<UsingTask TaskName="PatchInteropSysSecureRandomTask" TaskFactory="RoslynCodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll">
<ParameterGroup>
<CoreLibPath ParameterType="System.String" Required="true" />
</ParameterGroup>
@@ -72,11 +69,7 @@
</Task>
</UsingTask>
<Target
Name="PatchInteropSysSecureRandom"
AfterTargets="RunPatcher"
BeforeTargets="WriteIlcRsp;CompileWithIlc"
>
<Target Name="PatchInteropSysSecureRandom" AfterTargets="RunPatcher" BeforeTargets="WriteIlcRsp;CompileWithIlc">
<PatchInteropSysSecureRandomTask CoreLibPath="$(IntermediateOutputPath)cosmos\ref\System.Private.CoreLib.dll" />
</Target>
</Project>