Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix (non-)dependencies #5

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions GitVersion.MsBuild/GitVersion.MsBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,20 @@ SPDX-License-Identifier: MIT

<IsTrimmable>false</IsTrimmable>
<IsPackable>true</IsPackable>
<BuildOutputTargetFolder>tools</BuildOutputTargetFolder>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<NoWarn>NU5128;$(NoWarn)</NoWarn>
<PackageId>Dorssel.GitVersion.MsBuild</PackageId>
<SignAssembly>true</SignAssembly>
</PropertyGroup>

<ItemGroup>
<None Include="..\LICENSE.txt" Pack="true" PackagePath="" Visible="false" />
<None Include="..\README.md" Pack="true" PackagePath="" Visible="false" />
<None Include="build\Dorssel.GitVersion.MsBuild.props" PackagePath="buildTransitive" Pack="true" />
<None Include="build\Dorssel.GitVersion.MsBuild.targets" PackagePath="buildTransitive" Pack="true" />
<None Include="build\Dorssel.GitVersion.MsBuild.props" PackagePath="build" Pack="true" />
<None Include="build\Dorssel.GitVersion.MsBuild.targets" PackagePath="build" Pack="true" />
<None Include="buildMultiTargeting\Dorssel.GitVersion.MsBuild.props" PackagePath="buildMultiTargeting" Pack="true" />
<None Include="buildMultiTargeting\Dorssel.GitVersion.MsBuild.targets" PackagePath="buildMultiTargeting" Pack="true" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SPDX-License-Identifier: MIT

<GitVersionTargetFramework Condition="'$(GitVersionTargetFramework)' == ''">netstandard2.0</GitVersionTargetFramework>
<GitVersionFileExe Condition="'$(GitVersionFileExe)' == ''">dotnet tool run --allow-roll-forward dotnet-gitversion</GitVersionFileExe>
<GitVersionAssemblyFile Condition="'$(GitVersionAssemblyFile)' == ''">$([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(GitVersionTargetFramework)))GitVersion.MsBuild.dll</GitVersionAssemblyFile>
<GitVersionAssemblyFile Condition="'$(GitVersionAssemblyFile)' == ''">$(MSBuildThisFileDirectory)..\tools\$(GitVersionTargetFramework)\Dorssel.GitVersion.MsBuild.dll</GitVersionAssemblyFile>
</PropertyGroup>

<UsingTask TaskName="GetVersion" AssemblyFile="$(GitVersionAssemblyFile)" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2024 Frans van Dorsselaer

SPDX-License-Identifier: MIT
-->

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\build\$(MSBuildThisFile)"/>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2024 Frans van Dorsselaer

SPDX-License-Identifier: MIT
-->

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\build\$(MSBuildThisFile)"/>
</Project>
Loading