Skip to content

Commit 36bba6a

Browse files
authored
Merge pull request #995 from softworkz/submit_packageid
Set PackageId from ElectronPackageId
2 parents 44a010e + 25770db commit 36bba6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ElectronNET/build/ElectronNET.Core.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<_IsMsAspNetProject Condition="'$(UsingMicrosoftNETSdkWeb)' == 'true'">True</_IsMsAspNetProject>
1313
</PropertyGroup>
1414

15+
<PropertyGroup>
16+
<PackageId Condition="'$(PackageId)' == ''">$(ElectronPackageId)</PackageId>
17+
</PropertyGroup>
18+
1519
<ItemGroup>
1620
<AssemblyMetadata Include="ElectronExecutable" Value="$(ElectronExecutable)" />
1721
<AssemblyMetadata Include="ElectronVersion" Value="$(ElectronVersion)" />

0 commit comments

Comments
 (0)