|
| 1 | +<Project> |
| 2 | + <PropertyGroup Label="Compiler Properties"> |
| 3 | + <LangVersion>12</LangVersion> |
| 4 | + <Nullable>enable</Nullable> |
| 5 | + <ImplicitUsings>enable</ImplicitUsings> |
| 6 | + </PropertyGroup> |
| 7 | + <PropertyGroup Label="Nugetspec Package Properties"> |
| 8 | + <!-- Defines common Nugetspec properties --> |
| 9 | + <!-- Inheriting packable projects should define the rest of the nugetspec properties (PackageId, Description) --> |
| 10 | + <!-- and may, if needed, override/extend any of these (e.g. PackageTags) --> |
| 11 | + <Authors>Speckle</Authors> |
| 12 | + <Copyright>Copyright (c) AEC Systems Ltd</Copyright> |
| 13 | + <PackageProjectUrl>https://speckle.systems/</PackageProjectUrl> |
| 14 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 15 | + <RepositoryUrl>https://github.com/specklesystems/GrasshopperAsyncComponent</RepositoryUrl> |
| 16 | + <RepositoryType>git</RepositoryType> |
| 17 | + <PackageTags>speckle</PackageTags> |
| 18 | + <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
| 19 | + </PropertyGroup> |
| 20 | + <PropertyGroup Label="Nuget Package Properties"> |
| 21 | + <IsPackable>false</IsPackable> |
| 22 | + <!--Can be set to true in inheriting .props/.csproj files for projects that should be packed--> |
| 23 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 24 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 25 | + <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> |
| 26 | + </PropertyGroup> |
| 27 | + <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> |
| 28 | + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
| 29 | + </PropertyGroup> |
| 30 | + <PropertyGroup Label="Analyers"> |
| 31 | + <EnableNetAnalyzers>true</EnableNetAnalyzers> |
| 32 | + <AnalysisLevel>latest-AllEnabledByDefault</AnalysisLevel> |
| 33 | + <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> |
| 34 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 35 | + <AllowUnsafeBlocks>false</AllowUnsafeBlocks> |
| 36 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 37 | + <!-- Ingored warnings, some aspirational but too noisy for now, some by design. --> |
| 38 | + <NoWarn> |
| 39 | + <!--XML comment--> |
| 40 | + CS1591;CS1573; |
| 41 | + <!-- Globalization rules --> |
| 42 | + CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311; |
| 43 | + <!-- Logging --> |
| 44 | + CA1848;CA1727; |
| 45 | + $(NoWarn) |
| 46 | + </NoWarn |
| 47 | + > |
| 48 | + </PropertyGroup> |
| 49 | + <PropertyGroup> |
| 50 | + <!-- Expose the repository root to all projects --> |
| 51 | + <RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot> |
| 52 | + </PropertyGroup> |
| 53 | + <ItemGroup> |
| 54 | + <None Include="..\README.md" Pack="true" PackagePath="\" /> |
| 55 | + </ItemGroup> |
| 56 | + <ItemGroup> |
| 57 | + <!-- This file contains the configuration for some analyzer warnings, such as cyclomatic |
| 58 | +complexity threshold --> |
| 59 | + <AdditionalFiles Include="$(RepositoryRoot)CodeMetricsConfig.txt" /> |
| 60 | + </ItemGroup> |
| 61 | +</Project> |
0 commit comments