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

Move analyzer dependencies to be defined in nuspec #49

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
it doesn't have any impact on project output.
-->
<dependency id="Microsoft.Build.Tasks.Git" version="1.1.1" />
<!--
Reference to preview version because there hasn't been a non-preview release in an age,
the language support is a long way behind on the last non-preview version, and the
package author says to use the preview versions.
-->
<dependency id="StyleCop.Analyzers" version="1.2.0-beta.435" />
<dependency id="Roslynator.Analyzers" version="4.3.0" />
</dependencies>
</metadata>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,4 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<!--
Reference to preview version because there hasn't been a non-preview release in an age,
the language support is a long way behind on the last non-preview version, and the
package author says to use the preview versions.
-->
<PackageReference Condition="$(EndjinDisableCodeAnalysis) != 'true'" Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Condition="$(EndjinDisableCodeAnalysis) != 'true'" Include="Roslynator.Analyzers" Version="4.12.4">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>

namespace MultiFramework
namespace MultiFramework;

/// <summary>
/// Class1.
/// </summary>
public class Class1
{
/// <summary>
/// Class1.
/// </summary>
public class Class1
{
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>

namespace MultiFramework
namespace MultiFramework;

/// <summary>
/// Class1.
/// </summary>
public class Class1
{
/// <summary>
/// Class1.
/// </summary>
public class Class1
{
}
}
}
Loading