2dcb2f8a9f
If the calling function can't be made async easily you can still use .GetAwaiter().GetResult(), which is way easier to find in the future
60 lines
2.4 KiB
XML
60 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
|
<PropertyGroup>
|
|
<ProjectGuid>{E5AF7B26-2239-4CE0-B477-0AA2018EDAA2}</ProjectGuid>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Stability)'=='Unstable'">
|
|
<!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
|
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="../SharedVersion.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../MediaBrowser.Common/MediaBrowser.Common.csproj" />
|
|
<ProjectReference Include="../MediaBrowser.Model/MediaBrowser.Model.csproj" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<Authors>Jellyfin Contributors</Authors>
|
|
<PackageId>Jellyfin.Naming</PackageId>
|
|
<VersionPrefix>10.8.0</VersionPrefix>
|
|
<RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
|
|
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
|
|
</ItemGroup>
|
|
|
|
<!-- Code Analyzers-->
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
|
|
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.376" PrivateAssets="All" />
|
|
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|