mirror of
https://github.com/rawhide-kobayashi/ryzen-smu-cli.git
synced 2025-04-22 22:51:51 -05:00
46 lines
2.5 KiB
XML
46 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<RootNamespace>ryzen_smu_cli</RootNamespace>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<Version>0.1.2</Version>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
<SelfContained>false</SelfContained>
|
|
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="include\ZenStates-Core\External\WinRing0\WinRing0.sys">
|
|
<LogicalName>ZenStates.Core.WinRing0.sys</LogicalName>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="include\ZenStates-Core\External\WinRing0\WinRing0x64.sys">
|
|
<LogicalName>ZenStates.Core.WinRing0x64.sys</LogicalName>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
|
|
<PackageReference Include="System.Management" Version="6.0.0" />
|
|
<!-- Included for the ZenStates-Core submodule...-->
|
|
<PackageReference Include="System.ServiceProcess.ServiceController" Version="6.0.0" />
|
|
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="5.0.0" />
|
|
<PackageReference Include="System.Threading.AccessControl" Version="6.0.0" />
|
|
</ItemGroup>
|
|
<Target Name="PostBuild" AfterTargets="AfterBuild" Condition="'$(OS)' == 'Windows_NT'">
|
|
<Exec Command="xcopy /s /d /y "$(ProjectDir)include\ZenStates-Core\External\InpOut\x64\inpoutx64.dll" "$(OutDir)"
xcopy /s /d /y "$(ProjectDir)include\ZenStates-Core\External\WinIo\WinIo32.dll" "$(OutDir)"
xcopy /s /d /y "$(ProjectDir)include\ZenStates-Core\External\WinIo\WinIo32.sys" "$(OutDir)"
copy "$(ProjectDir)include\ZenStates-Core\External\InpOut\license.txt" "$(OutDir)InpOut.LICENSE.txt"
copy "$(ProjectDir)include\ZenStates-Core\External\WinIo\LICENSE.txt" "$(OutDir)WinIo32.LICENSE.txt"
copy "$(ProjectDir)include\ZenStates-Core\External\WinRing0\LICENSE.txt" "$(OutDir)WinRing0.LICENSE.txt"" />
|
|
</Target>
|
|
</Project>
|