|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | | - <PropertyGroup> |
4 | | - <TargetFramework>net6.0</TargetFramework> |
5 | | - <GenerateDocumentationFile>true</GenerateDocumentationFile> |
6 | | - <IsPackable>true</IsPackable> |
7 | | - </PropertyGroup> |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>net6.0</TargetFramework> |
| 5 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 6 | + <IsPackable>true</IsPackable> |
| 7 | + <Tailcalls>true</Tailcalls> |
| 8 | + <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> |
| 9 | + <DevelopmentDependency>true</DevelopmentDependency> |
| 10 | + <NoPackageAnalysis>true</NoPackageAnalysis> |
| 11 | + <TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage> |
| 12 | + <IncludeBuildOutput>false</IncludeBuildOutput> |
| 13 | + </PropertyGroup> |
8 | 14 |
|
9 | | - <ItemGroup> |
10 | | - <Compile Include="Suggestion\CopyAndUpdateRecordChangesAllFieldsAnalyzer.fs" /> |
11 | | - <Compile Include="Suggestion\IgnoreFunctionAnalyzer.fs" /> |
12 | | - <Compile Include="Suggestion\UnnamedDiscriminatedUnionFieldAnalyzer.fs" /> |
13 | | - <Compile Include="Style\SquareBracketArrayAnalyzer.fs" /> |
14 | | - </ItemGroup> |
| 15 | + <ItemGroup> |
| 16 | + <Compile Include="Suggestion\CopyAndUpdateRecordChangesAllFieldsAnalyzer.fs"/> |
| 17 | + <Compile Include="Suggestion\IgnoreFunctionAnalyzer.fs"/> |
| 18 | + <Compile Include="Suggestion\UnnamedDiscriminatedUnionFieldAnalyzer.fs"/> |
| 19 | + <Compile Include="Style\SquareBracketArrayAnalyzer.fs"/> |
| 20 | + </ItemGroup> |
15 | 21 |
|
16 | | - <ItemGroup> |
17 | | - <PackageReference Update="FSharp.Core" /> |
18 | | - <PackageReference Include="FSharp.Analyzers.SDK" /> |
19 | | - </ItemGroup> |
| 22 | + <ItemGroup> |
| 23 | + <PackageReference Update="FSharp.Core"/> |
| 24 | + <PackageReference Include="FSharp.Analyzers.SDK"/> |
| 25 | + </ItemGroup> |
| 26 | + |
| 27 | + <Target Name="_AddAnalyzersToOutput"> |
| 28 | + <ItemGroup> |
| 29 | + <TfmSpecificPackageFile Include="$(OutputPath)\$(AssemblyName).dll" PackagePath="analyzers/dotnet/fs"/> |
| 30 | + </ItemGroup> |
| 31 | + </Target> |
20 | 32 |
|
21 | 33 | </Project> |
0 commit comments