|
3 | 3 | <PropertyGroup> |
4 | 4 | <OutputType>Library</OutputType> |
5 | 5 | <TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks> |
6 | | - <LangVersion>9.0</LangVersion> |
7 | | - <NullableContextOptions>enable</NullableContextOptions> |
8 | | - <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
9 | | - <GenerateDocumentationFile>True</GenerateDocumentationFile> |
10 | 6 | <Version>1.0.0-alpha.1</Version> |
11 | 7 | <Authors>MihaZupan,tuscen,TelegramBots</Authors> |
12 | 8 | <Copyright>Copyright © Telegram Bots 2021</Copyright> |
|
17 | 13 | <Description>Provides ITelegramBotClient extensions for polling updates.</Description> |
18 | 14 | <PackageIcon>package-icon.png</PackageIcon> |
19 | 15 | <Company>TelegramBots</Company> |
| 16 | + <LangVersion>9.0</LangVersion> |
| 17 | + <NullableContextOptions>enable</NullableContextOptions> |
20 | 18 | <Nullable>enable</Nullable> |
| 19 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 20 | + <GeneratePackageOnBuild>True</GeneratePackageOnBuild> |
| 21 | + <GenerateDocumentationFile>True</GenerateDocumentationFile> |
| 22 | + <IncludeSymbols>true</IncludeSymbols> |
| 23 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 24 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 25 | + <AllowedOutputExtensionsInPackageBuildOutputFolder> |
| 26 | + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb |
| 27 | + </AllowedOutputExtensionsInPackageBuildOutputFolder> |
| 28 | + </PropertyGroup> |
| 29 | + |
| 30 | + <!-- Make build deterministic only in CI environment to make local development easier with non-trimmed paths --> |
| 31 | + <!-- CI is a predefined variable in Github Actions --> |
| 32 | + <PropertyGroup Condition="'$(CI)' == 'true'"> |
| 33 | + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
| 34 | + <Deterministic>true</Deterministic> |
21 | 35 | </PropertyGroup> |
22 | 36 |
|
23 | 37 | <ItemGroup> |
|
30 | 44 | <ItemGroup> |
31 | 45 | <PackageReference Include="System.Threading.Channels" Version="5.0.0" /> |
32 | 46 | <PackageReference Include="Telegram.Bot" Version="17.0.0-alpha.1" /> |
| 47 | + <PackageReference Include="Microsoft.SourceLink.Github" Version="1.0.0" PrivateAssets="All" /> |
33 | 48 | </ItemGroup> |
34 | 49 |
|
35 | 50 | </Project> |
0 commit comments