|
1 | 1 | <Project> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFramework>net10.0</TargetFramework> |
| 4 | + <LangVersion>14</LangVersion> |
| 5 | + <ImplicitUsings>enable</ImplicitUsings> |
| 6 | + <Nullable>enable</Nullable> |
| 7 | + <Deterministic>true</Deterministic> |
| 8 | + <DebugType>embedded</DebugType> |
| 9 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 10 | + <EnableNETAnalyzers>true</EnableNETAnalyzers> |
| 11 | + <AnalysisLevel>latest-recommended</AnalysisLevel> |
| 12 | + <TreatWarningsAsErrors>false</TreatWarningsAsErrors> |
| 13 | + <NoWarn>$(NoWarn);CS1591;CA1707;CA1848;CA1859;CA1873</NoWarn> |
| 14 | + <Version>10.0.0</Version> |
| 15 | + <PackageVersion>$(Version)</PackageVersion> |
| 16 | + </PropertyGroup> |
2 | 17 |
|
3 | | - <!--C# version--> |
4 | | - <PropertyGroup> |
5 | | - <TargetFramework>net9.0</TargetFramework> |
6 | | - <LangVersion>13</LangVersion> |
7 | | - <EnableNETAnalyzers>true</EnableNETAnalyzers> |
8 | | - <Nullable>enable</Nullable> |
9 | | - <DebugType>embedded</DebugType> |
10 | | - <GenerateDocumentationFile>true</GenerateDocumentationFile> |
11 | | - </PropertyGroup> |
| 18 | + <PropertyGroup> |
| 19 | + <Authors>ManagedCode</Authors> |
| 20 | + <Company>ManagedCode</Company> |
| 21 | + <Copyright>Copyright © 2021-$([System.DateTime]::Now.ToString(`yyyy`)) ManagedCode SAS</Copyright> |
| 22 | + <Product>ManagedCode.Orleans.Graph</Product> |
| 23 | + <RepositoryType>GitHub</RepositoryType> |
| 24 | + <RepositoryUrl>https://github.com/managedcode/Orleans.Graph</RepositoryUrl> |
| 25 | + <PackageProjectUrl>https://github.com/managedcode/Orleans.Graph</PackageProjectUrl> |
| 26 | + <PackageLicenseExpression>MIT</PackageLicenseExpression> |
| 27 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 28 | + <PackageIcon>logo.png</PackageIcon> |
| 29 | + <Description Condition="'$(Description)' == ''">Grain-to-grain call policy enforcement for Microsoft Orleans.</Description> |
| 30 | + <PackageTags>orleans;graph;grain-calls;call-policy;dotnet10</PackageTags> |
| 31 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 32 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 33 | + <IncludeSymbols>true</IncludeSymbols> |
| 34 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 35 | + <EnablePackageValidation>true</EnablePackageValidation> |
| 36 | + <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> |
| 37 | + </PropertyGroup> |
12 | 38 |
|
13 | | - <!--NuGet--> |
14 | | - <PropertyGroup> |
15 | | - <Authors>ManagedCode</Authors> |
16 | | - <Copyright>Copyright © 2021-$([System.DateTime]::Now.ToString(`yyyy`)) ManagedCode SAS</Copyright> |
17 | | - <EmbedUntrackedSources>true</EmbedUntrackedSources> |
18 | | - <PublishRepositoryUrl>true</PublishRepositoryUrl> |
19 | | - <IncludeSymbols>true</IncludeSymbols> |
20 | | - <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
21 | | - <RepositoryType>Github</RepositoryType> |
22 | | - <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> |
23 | | - <PackageIcon>logo.png</PackageIcon> |
24 | | - <PackageLicenseExpression>MIT</PackageLicenseExpression> |
25 | | - <EnablePackageValidation>true</EnablePackageValidation> |
26 | | - <PackageReadmeFile>README.md</PackageReadmeFile> |
| 39 | + <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true' or '$(CI)' == 'true' or '$(TF_BUILD)' == 'true'"> |
| 40 | + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
| 41 | + </PropertyGroup> |
27 | 42 |
|
28 | | - <RepositoryUrl>https://github.com/managedcode/Orleans.Graph</RepositoryUrl> |
29 | | - <PackageProjectUrl>https://github.com/managedcode/Orleans.Graph</PackageProjectUrl> |
30 | | - <Product>Managed Code - Orleans Graph</Product> |
31 | | - <Version>9.0.0</Version> |
32 | | - <PackageVersion>9.0.0</PackageVersion> |
| 43 | + <ItemGroup Condition="'$(IsPackable)' == 'true'"> |
| 44 | + <None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" Link="README.md" Visible="false" /> |
| 45 | + <None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="\" Link="LICENSE" Visible="false" /> |
| 46 | + <None Include="$(MSBuildThisFileDirectory)logo.png" Pack="true" PackagePath="\" Link="logo.png" Visible="false" /> |
| 47 | + </ItemGroup> |
33 | 48 |
|
34 | | - </PropertyGroup> |
35 | | - <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> |
36 | | - <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
37 | | - </PropertyGroup> |
38 | | - |
39 | | - <ItemGroup> |
40 | | - <None Include="..\logo.png" Pack="true" Visible="false" PackagePath="/"> |
41 | | - <Link>logo.png</Link> |
42 | | - </None> |
43 | | - <None Include="..\README.md" Pack="true" Visible="false" PackagePath="/"> |
44 | | - <Link>README.md</Link> |
45 | | - </None> |
46 | | - </ItemGroup> |
47 | | - |
48 | | - <ItemGroup> |
49 | | - <PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25"> |
50 | | - <PrivateAssets>all</PrivateAssets> |
51 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
52 | | - </PackageReference> |
53 | | - </ItemGroup> |
| 49 | + <ItemGroup> |
| 50 | + <PackageReference Include="DotNet.ReproducibleBuilds" PrivateAssets="all" /> |
| 51 | + <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" /> |
| 52 | + </ItemGroup> |
54 | 53 | </Project> |
0 commit comments