25 lines
1.3 KiB
XML
25 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Platforms>AnyCPU</Platforms>
|
|
<RootNamespace>Photino_Boilerplate</RootNamespace>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<PublishTrimmed>false</PublishTrimmed>
|
|
</PropertyGroup>
|
|
<Target Name="PackRenderer" BeforeTargets="DispatchToInnerBuild;BeforeBuild">
|
|
<PropertyGroup>
|
|
<BrikPackagerDll>$([System.IO.Path]::Combine('$(PkgBrikPackager)', 'lib', 'net8.0', 'BrikPackager.dll'))</BrikPackagerDll>
|
|
<InputPath>$([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', 'src', 'resources', 'renderer'))</InputPath>
|
|
<OutputPathFile>$([System.IO.Path]::Combine('$(TargetDir)', 'root.dat'))</OutputPathFile>
|
|
</PropertyGroup>
|
|
<Message Importance="high" Text="[] Packaging renderer (Cross-Platform)..." />
|
|
<Exec Command="dotnet "$(BrikPackagerDll)" --action pack --input "$(InputPath)" --output "$(OutputPathFile)" --key 66" />
|
|
<Message Importance="high" Text="[] Renderer packed at: $(OutputPathFile)" />
|
|
</Target>
|
|
<ItemGroup>
|
|
<PackageReference Include="BrikPackager" Version="0.0.1" GeneratePathProperty="true" />
|
|
<PackageReference Include="Photino.NET" Version="4.0.16" />
|
|
</ItemGroup>
|
|
</Project> |