Merge pull request #1431 from dorssel/fix_dependabot

Fix Dependabot
This commit is contained in:
Frans van Dorsselaer authored and GitHub committed 2026-07-04 08:43:42 +02:00
commit 2c6741bde6
4 files changed
+44 -7

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2026 Frans van Dorsselaer
SPDX-License-Identifier: GPL-3.0-only
-->
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)..\'))" />
<ItemGroup>
<PackageReference Include="Dorssel.GitVersion.MsBuild" PrivateAssets="all" />
<PackageReference Include="WixToolset.Firewall.wixext" />
<PackageReference Include="WixToolset.UI.wixext" />
<PackageReference Include="WixToolset.Util.wixext" />
</ItemGroup>
</Project>
-6
View File
@@ -15,12 +15,6 @@ SPDX-License-Identifier: GPL-3.0-only
<DefineConstants>PublishDir=$(PublishDir);PowerShellDir=$(PowerShellDir);DriversDir=..\Drivers\$(Platform);Copyright=$(Copyright)</DefineConstants>
<Pedantic>true</Pedantic>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Dorssel.GitVersion.MsBuild" PrivateAssets="all" />
<PackageReference Include="WixToolset.Firewall.wixext" />
<PackageReference Include="WixToolset.UI.wixext" />
<PackageReference Include="WixToolset.Util.wixext" />
</ItemGroup>
<Target Name="SetTarget" AfterTargets="GetVersion">
<!--
Now that we have determined the version, augment the OutputName to include the version number.
+25
View File
@@ -0,0 +1,25 @@
<!--
SPDX-FileCopyrightText: 2026 Frans van Dorsselaer
SPDX-License-Identifier: GPL-3.0-only
-->
<Project Sdk="Microsoft.NET.Sdk" InitialTargets="CheckForDependabot">
<!--
This file solely exists for Dependabot, which does not support .wixproj files.
This .csproj file is supported, however, and uses the same package references that are in Directory.Build.props.
Note that this project file is not supposed to be built, nor should it be part of the solution file.
-->
<PropertyGroup>
<TargetFramework>native</TargetFramework>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<NuGetLockFilePath>$(MSBuildProjectDirectory)\..\packages.lock.json</NuGetLockFilePath>
</PropertyGroup>
<Target Name="CheckForDependabot">
<Error Text="This project is for Dependabot only." Condition="'$(DEPENDABOT)' != 'true'" />
</Target>
</Project>
+1 -1
View File
@@ -23,7 +23,7 @@ SPDX-License-Identifier: GPL-3.0-only
<File Path="README.md" />
</Folder>
<Project Path="Installer/Installer.wixproj" Type="b7dd6f7e-def8-4e67-b5b7-07ef123db6f0">
<Build Solution="Release|*" Project="false" />
<Build Project="false" />
</Project>
<Project Path="UnitTests/UnitTests.csproj">
<Platform Solution="*|ARM64" Project="ARM64" />