Skip to content

Commit

Permalink
Minor improvements (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel authored Nov 16, 2024
1 parent 28cf9aa commit d074226
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 20 deletions.
9 changes: 5 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup Label="Shared properties">
Expand All @@ -18,7 +19,7 @@
<FileVersion>$(Version.Split('-')[0])</FileVersion>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<IsPublishable>false</IsPublishable>
</PropertyGroup>

Expand Down Expand Up @@ -46,9 +47,9 @@
</PropertyGroup>

<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)\LICENSE.md" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)\icon.png" Pack="true" PackagePath="\"/>
<None Include="$(MSBuildThisFileDirectory)\README.md" Pack="true" PackagePath="\"/>
<None Include="$(MSBuildThisFileDirectory)/LICENSE.md" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)/icon.png" Pack="true" PackagePath="/"/>
<None Include="$(MSBuildThisFileDirectory)/README.md" Pack="true" PackagePath="/"/>
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 3 additions & 1 deletion src/Buildalyzer.Workspaces/Buildalyzer.Workspaces.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
<PackageValidationBaselineVersion>6.0.0</PackageValidationBaselineVersion>
<OutputType>library</OutputType>
<PackageReleaseNotes>
<![CDATA[
ToBeReleased
- Target .NET 8.0. #252
]]>
</PackageReleaseNotes>
</PropertyGroup>

Expand All @@ -24,7 +26,7 @@ ToBeReleased
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Buildalyzer\Buildalyzer.csproj" />
<ProjectReference Include="../Buildalyzer/Buildalyzer.csproj" />
</ItemGroup>

<ItemGroup Label="Additional files">
Expand Down
2 changes: 1 addition & 1 deletion src/Buildalyzer/Buildalyzer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ToBeReleased
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Buildalyzer.Logger\Buildalyzer.Logger.csproj" />
<ProjectReference Include="../Buildalyzer.Logger/Buildalyzer.Logger.csproj" />
</ItemGroup>

<ItemGroup Label="Additional files">
Expand Down
21 changes: 13 additions & 8 deletions tests/Buildalyzer.Tests/Buildalyzer.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<OutputType>library</OutputType>
</PropertyGroup>
Expand All @@ -11,24 +12,28 @@
<PackageReference Update="Microsoft.CodeAnalysis.CSharp" Version="4.*" />
<PackageReference Update="Microsoft.CodeAnalysis.VisualBasic" Version="4.*" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="LibGit2Sharp" Version="0.27.0-preview-0175" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="FluentAssertions" Version="6.12.2" />
<PackageReference Include="LibGit2Sharp" Version="0.30.0" />

<PackageReference Include="MsBuildPipeLogger.Logger" Version="1.1.6" GeneratePathProperty="true" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="*" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="Shouldly" Version="4.2.1" />
</ItemGroup>
</ItemGroup>

<ItemGroup Label="Build tools">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="*" PrivateAssets="all" />
<PackageReference Include="NUnit3TestAdapter" Version="*" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Label="Analyzers">
<PackageReference Include="FluentAssertions.Analyzers" Version="*" PrivateAssets="all" />
<PackageReference Include="NUnit.Analyzers" Version="*" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Buildalyzer\Buildalyzer.csproj" />
<ProjectReference Include="../../src/Buildalyzer/Buildalyzer.csproj" />
</ItemGroup>

<ItemGroup Label="Additional files">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,32 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<OutputType>library</OutputType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="FluentAssertions" Version="6.12.2" />
<PackageReference Include="MsBuildPipeLogger.Logger" Version="1.1.6" GeneratePathProperty="true" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="*" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="Shouldly" Version="4.2.1" />
</ItemGroup>

<ItemGroup Label="Build tools">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="*" PrivateAssets="all" />
<PackageReference Include="NUnit3TestAdapter" Version="*" PrivateAssets="all" />
</ItemGroup>


<ItemGroup Label="Analyzers">
<PackageReference Include="FluentAssertions.Analyzers" Version="*" PrivateAssets="all" />
<PackageReference Include="NUnit.Analyzers" Version="*" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Buildalyzer.Workspaces\Buildalyzer.Workspaces.csproj" />
<ProjectReference Include="..\Buildalyzer.Tests\Buildalyzer.Tests.csproj" />
<ProjectReference Include="../../src/Buildalyzer.Workspaces/Buildalyzer.Workspaces.csproj" />
<ProjectReference Include="../Buildalyzer.Tests/Buildalyzer.Tests.csproj" />
</ItemGroup>

<ItemGroup Label="Additional files">
Expand Down

0 comments on commit d074226

Please sign in to comment.