-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
621 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<!-- Projects have to opt in to be packed --> | ||
<IsPackable>false</IsPackable> | ||
<Version>0.2.0</Version> | ||
<PackageVersion>$(Version)</PackageVersion> | ||
<Authors>Denis</Authors> | ||
<PackageTags>C# Roslyn detector of Newtonsoft.Json usage</PackageTags> | ||
<PackageProjectUrl>https://github.com/Hixon10/NewtonsoftJsonUsageAnalyzer</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/Hixon10/NewtonsoftJsonUsageAnalyzer</RepositoryUrl> | ||
<PackageOutputPath>$(MSBuildThisFileDirectory)bin\$(Configuration)\</PackageOutputPath> | ||
<!-- General settings --> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
...geAnalyzer/NewtonsoftJsonUsageAnalyzer.Package/NewtonsoftJsonUsageAnalyzer.Package.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<IsPackable>true</IsPackable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<PackageId>NewtonsoftJsonUsageAnalyzer</PackageId> | ||
<PackageLicenseFile>LICENSE</PackageLicenseFile> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<Description>A roslyn analyzer, which allows to detect and fail builds, which use Newtonsoft.Json library</Description> | ||
<DevelopmentDependency>true</DevelopmentDependency> | ||
<NoPackageAnalysis>true</NoPackageAnalysis> | ||
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\NewtonsoftJsonUsageAnalyzer\NewtonsoftJsonUsageAnalyzer.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\LICENSE" Pack="true" PackagePath="" /> | ||
<None Include="..\..\README.md" Pack="true" PackagePath="" /> | ||
<None Update="tools\*.ps1" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="" /> | ||
</ItemGroup> | ||
|
||
<Target Name="_AddAnalyzersToOutput"> | ||
<ItemGroup> | ||
<TfmSpecificPackageFile Include="$(OutputPath)\NewtonsoftJsonUsageAnalyzer.dll" PackagePath="analyzers/dotnet/cs" /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
</Project> |
272 changes: 272 additions & 0 deletions
272
NewtonsoftJsonUsageAnalyzer/NewtonsoftJsonUsageAnalyzer.Package/tools/install.ps1
Large diffs are not rendered by default.
Oops, something went wrong.
279 changes: 279 additions & 0 deletions
279
NewtonsoftJsonUsageAnalyzer/NewtonsoftJsonUsageAnalyzer.Package/tools/uninstall.ps1
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...onsoftJsonUsageAnalyzer/NewtonsoftJsonUsageAnalyzer/AnalyzerReleases.Shipped.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters