Skip to content

Commit eb92d1c

Browse files
committed
Cleanup project files
1 parent ff33ffb commit eb92d1c

File tree

3 files changed

+7
-31
lines changed

3 files changed

+7
-31
lines changed

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/CSharpGuidelinesAnalyzer.Test.csproj

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFramework>net60</TargetFramework>
54
<ImplicitUsings>enable</ImplicitUsings>
65
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
9-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
10-
<DefineConstants>TRACE;DEBUG;JETBRAINS_ANNOTATIONS</DefineConstants>
11-
</PropertyGroup>
12-
13-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
146
<DefineConstants>TRACE;RELEASE;JETBRAINS_ANNOTATIONS</DefineConstants>
157
</PropertyGroup>
168

17-
<ItemGroup>
18-
<None Remove="CSharpGuidelinesAnalyzer.Test.csproj.DotSettings" />
19-
</ItemGroup>
20-
219
<ItemGroup>
2210
<PackageReference Include="CSharpGuidelinesAnalyzer" Version="3.8.0" PrivateAssets="all" />
2311
<PackageReference Include="FluentAssertions" Version="6.6.0" />
@@ -28,14 +16,8 @@
2816
<PackageReference Include="OpenCover" Version="4.7.1221" />
2917
<PackageReference Include="ReportGenerator" Version="5.1.5" />
3018
<PackageReference Include="xunit" Version="2.4.1" />
31-
<PackageReference Include="xunit.runner.console" Version="2.4.1">
32-
<PrivateAssets>all</PrivateAssets>
33-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
34-
</PackageReference>
35-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
36-
<PrivateAssets>all</PrivateAssets>
37-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
38-
</PackageReference>
19+
<PackageReference Include="xunit.runner.console" Version="2.4.1" PrivateAssets="all" />
20+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" PrivateAssets="all" />
3921
</ItemGroup>
4022

4123
<ItemGroup>

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Vsix/CSharpGuidelinesAnalyzer.Vsix.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
55
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
66
</PropertyGroup>
7-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
7+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
8+
Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
89
<PropertyGroup>
910
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
1011
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.csproj

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>netstandard1.3</TargetFramework>
4+
<LangVersion>8.0</LangVersion>
45
<IncludeBuildOutput>false</IncludeBuildOutput>
56
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
6-
<LangVersion>8.0</LangVersion>
7+
<BaseOutputPath>$(SolutionDir)..\bin</BaseOutputPath>
78
</PropertyGroup>
89

910
<PropertyGroup>
@@ -24,14 +25,6 @@
2425
<DevelopmentDependency>true</DevelopmentDependency>
2526
</PropertyGroup>
2627

27-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
28-
<OutputPath>..\..\..\bin\Debug</OutputPath>
29-
</PropertyGroup>
30-
31-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
32-
<OutputPath>..\..\..\bin\Release</OutputPath>
33-
</PropertyGroup>
34-
3528
<ItemGroup>
3629
<None Include="..\..\..\LICENSE.txt" Link="LICENSE.txt" />
3730
</ItemGroup>
@@ -49,6 +42,7 @@
4942
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.6.0" PrivateAssets="all" />
5043
<PackageReference Include="ResharperCodeContractNullability" Version="2.0.2" PrivateAssets="all" />
5144
</ItemGroup>
45+
5246
<!--
5347
To bypass the NuGet cache during install/uninstall debugging, uncomment the target below.
5448
@@ -59,5 +53,4 @@
5953
<Message Importance="High" Text="Setting PackageVersion to $(PackageVersion)" />
6054
</Target>
6155
-->
62-
6356
</Project>

0 commit comments

Comments
 (0)