Skip to content

Commit

Permalink
Feature/multitarget (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
murlakatam authored Nov 27, 2023
1 parent 14c7302 commit 754f500
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 114 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFrameworks>netstandard2.1;net6.0;net7.0</TargetFrameworks>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>

<ItemGroup>
Expand Down
11 changes: 3 additions & 8 deletions src/Roslyn/Conventional.Roslyn/Conventional.Roslyn.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<PackageId>Best.Conventional.Roslyn</PackageId>
<Title>Best.Conventional.Roslyn</Title>
<Authors>Andrew Best</Authors>
Expand All @@ -27,12 +28,6 @@
<ProjectReference Include="..\Conventional.Roslyn.Analyzers\Conventional.Roslyn.Analyzers.csproj" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<None Update="tools\*.ps1" CopyToOutputDirectory="Always" Pack="true" PackagePath="tools" />
<None Include="$(OutputPath)\Conventional.Roslyn.Analyzers.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />

</ItemGroup>

<PropertyGroup>
<TargetsForTfmSpecificBuildOutput> $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>
Expand All @@ -43,7 +38,7 @@
</ItemGroup>

<ItemGroup>
<BuildOutputInPackage Include="@(_ReferenceCopyLocalPaths)" TargetPath="%(_ReferenceCopyLocalPaths.DestinationSubDirectory)"/>
<BuildOutputInPackage Include="@(_ReferenceCopyLocalPaths)" TargetPath="%(_ReferenceCopyLocalPaths.DestinationSubDirectory)"/>
</ItemGroup>
</Target>

Expand Down
49 changes: 0 additions & 49 deletions src/Roslyn/Conventional.Roslyn/tools/install.ps1

This file was deleted.

56 changes: 0 additions & 56 deletions src/Roslyn/Conventional.Roslyn/tools/uninstall.ps1

This file was deleted.

0 comments on commit 754f500

Please sign in to comment.