mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-26 00:42:19 +00:00
40 lines
2.0 KiB
XML
40 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup Condition="'$(ElectronExecutableName)' == ''">
|
|
<WinPrefix>win</WinPrefix>
|
|
<ElectronExecutableName Condition="'$(RuntimeIdentifier.StartsWith($(WinPrefix)))' == 'true'">$(Title)</ElectronExecutableName>
|
|
<ElectronExecutableName Condition="'$(RuntimeIdentifier.StartsWith($(WinPrefix)))' != 'true'">$(ElectronPackageId)</ElectronExecutableName>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- The binary Electron.NET launches. It only differs from the packaged executable in advanced
|
|
scenarios, e.g. when a build hook adds a launcher stub to the package. -->
|
|
<ElectronExecutable Condition="'$(ElectronExecutable)' == ''">$(ElectronExecutableName)</ElectronExecutable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<_IsMsAspNetProject>False</_IsMsAspNetProject>
|
|
<_IsMsAspNetProject Condition="'$(UsingMicrosoftNETSdkWeb)' == 'true'">True</_IsMsAspNetProject>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<PackageId Condition="'$(PackageId)' == ''">$(ElectronPackageId)</PackageId>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<AssemblyMetadata Include="ElectronExecutable" Value="$(ElectronExecutable)" />
|
|
<AssemblyMetadata Include="ElectronVersion" Value="$(ElectronVersion)" />
|
|
<AssemblyMetadata Include="ElectronRootDir" Value="$(ElectronRootDir)" />
|
|
<AssemblyMetadata Include="RuntimeIdentifier" Value="$(RuntimeIdentifier)" />
|
|
<AssemblyMetadata Include="ElectronSingleInstance" Value="$(ElectronSingleInstance)" />
|
|
<AssemblyMetadata Include="Title" Value="$(Title)" />
|
|
<AssemblyMetadata Include="Version" Value="$(Version)" />
|
|
<AssemblyMetadata Include="BuildConfiguration" Value="$(Configuration)" />
|
|
<AssemblyMetadata Include="IsAspNet" Value="$(_IsMsAspNetProject)" />
|
|
</ItemGroup>
|
|
|
|
<!-- Import migration validation checks -->
|
|
<Import Project="$(MSBuildThisFileDirectory)ElectronNET.MigrationChecks.targets" />
|
|
|
|
</Project> |