Skip to content
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
5 changes: 3 additions & 2 deletions MsBuildPipeLogger.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2000
# Visual Studio Version 17
VisualStudioVersion = 17.0.32112.339
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{5CC6B5A3-CF3A-463D-8116-D02280B6F6A2}"
EndProject
Expand All @@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "misc", "misc", "{2ACFADCF-3
build.ps1 = build.ps1
daveaglick.ruleset = daveaglick.ruleset
Directory.Build.props = Directory.Build.props
global.json = global.json
LICENSE = LICENSE
README.md = README.md
ReleaseNotes.md = ReleaseNotes.md
Expand Down
7 changes: 7 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generally don't pin my SDK versions, but I'm not opposed to it either if there's a reason to. Are we using something in this project that benefits from pinning and might change with later SDKs, or just adding this as a best practice?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, it's to ensure more predictability with local builds. On CI you can control which version is exactly used, not on local builds. But from past experience, I have found some users and also myself had installed a recent .NET preview that could break entirely the build of a project. So usually, I don't like to chase down this kind of issues 😅

Copy link
Owner

@daveaglick daveaglick Feb 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figured that was it, but wanted to be sure I wasn't missing some crazy version compatibility thing that requires a specific SDK to build. Glad it's just plain old .NET build tooling touchiness!

"version": "6.0.100",
"rollForward": "latestMinor",
"allowPrerelease": false
}
}
6 changes: 5 additions & 1 deletion src/MsBuildPipeLogger.Logger/MsBuildPipeLogger.Logger.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard1.3</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<RootNamespace>MsBuildPipeLogger</RootNamespace>
<Authors>Dave Glick</Authors>
<Company>Dave Glick</Company>
Expand All @@ -28,5 +28,9 @@
<_Parameter1>MsBuildPipeLogger.Tests.Client</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<PackageReference Update="Roslynator.Analyzers" Version="4.0.2" />
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>

</Project>
6 changes: 5 additions & 1 deletion src/MsBuildPipeLogger.Server/MsBuildPipeLogger.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard1.5</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>MsBuildPipeLogger</RootNamespace>
<Authors>Dave Glick</Authors>
<Company>Dave Glick</Company>
Expand All @@ -19,5 +19,9 @@
<_Parameter1>MsBuildPipeLogger.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<PackageReference Update="Roslynator.Analyzers" Version="4.0.2" />
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build" Version="15.8.166" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="15.8.166" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NUnit" Version="3.10.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
<PackageReference Include="Shouldly" Version="3.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="Shouldly" Version="4.0.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\MsBuildPipeLogger.Logger\MsBuildPipeLogger.Logger.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Roslynator.Analyzers" Version="4.0.2" />
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build" Version="15.8.166" />
Expand All @@ -12,5 +12,9 @@
<ItemGroup>
<ProjectReference Include="..\..\src\MsBuildPipeLogger.Logger\MsBuildPipeLogger.Logger.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Roslynator.Analyzers" Version="4.0.2" />
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion tests/MsBuildPipeLogger.Tests.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace MsBuildPipeLogger.Tests.Client
{
public class Program
internal class Program
{
public static int Main(string[] args)
{
Expand Down
14 changes: 9 additions & 5 deletions tests/MsBuildPipeLogger.Tests/MsBuildPipeLogger.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NUnit" Version="3.10.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
<PackageReference Include="Shouldly" Version="3.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="Shouldly" Version="4.0.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\MsBuildPipeLogger.Logger\MsBuildPipeLogger.Logger.csproj" />
<ProjectReference Include="..\..\src\MsBuildPipeLogger.Server\MsBuildPipeLogger.Server.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Roslynator.Analyzers" Version="4.0.2" />
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>

</Project>