|
39 | 39 | </PropertyGroup> |
40 | 40 |
|
41 | 41 | <PropertyGroup> |
| 42 | + <GeneratePackageOnBuild Condition="$(MSBuildProjectName) == 'Xtensive.Orm.Weaver'">false</GeneratePackageOnBuild> |
| 43 | + <GeneratePackageOnBuild Condition="$(MSBuildProjectName) == 'Xtensive.Orm.Manual'">false</GeneratePackageOnBuild> |
| 44 | + <GeneratePackageOnBuild Condition="$(MSBuildProjectName) == 'TestCommon'">false</GeneratePackageOnBuild> |
42 | 45 | <GeneratePackageOnBuild Condition="$(MSBuildProjectName.Contains('Tests')) == 'true'">false</GeneratePackageOnBuild> |
43 | 46 | <GeneratePackageOnBuild Condition="$(GeneratePackageOnBuild)=='' AND '$(Configuration)' == 'Release'">true</GeneratePackageOnBuild> |
| 47 | + |
| 48 | + <IncludeSymbols Condition="$(GeneratePackageOnBuild) == 'true'">true</IncludeSymbols> |
| 49 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 50 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 51 | + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
44 | 52 | </PropertyGroup> |
| 53 | + <ItemGroup> |
| 54 | + <SourceRoot Include="$(MSBuildThisFileDirectory)/"/> |
| 55 | + <PackageReference Condition="$(GeneratePackageOnBuild) == 'true'" |
| 56 | + Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/> |
| 57 | + </ItemGroup> |
45 | 58 |
|
46 | 59 | <!-- Populate standard properties. --> |
47 | 60 | <PropertyGroup> |
|
54 | 67 | <Copyright>$(DoProductCopyright)</Copyright> |
55 | 68 | <PackageProjectUrl>https://dataobjects.net/</PackageProjectUrl> |
56 | 69 | <PackageIcon>do-nuget.png</PackageIcon> |
57 | | - <PackageLicense>Apache-2.0</PackageLicense> |
| 70 | + <PackageLicense>MIT</PackageLicense> |
58 | 71 | <PackageTags>DataObjects.Net ORM BLL Persistence</PackageTags> |
59 | 72 | <PackageOutputPath>$(MSBuildThisFileDirectory)_Build\$(Configuration)\packages</PackageOutputPath> |
60 | 73 | <RepositoryUrl>https://github.com/DataObjects-NET/dataobjects-net</RepositoryUrl> |
|
63 | 76 |
|
64 | 77 | <ItemGroup> |
65 | 78 | <None Include="$(DoPackageIcon)" Pack="true" PackagePath="." Visible="false" /> |
66 | | - <None Include="$(DoRevFile)" Pack="true" PackagePath="." Visible="false" Condition="Exists('$(DoRevFile)')" /> |
67 | 79 | </ItemGroup> |
68 | | - <Target Name="ExportRev" Condition="Exists('.git\index') AND '$(Configuration)' == 'Release'"> |
69 | | - <MakeDir Directories="_Build" /> |
70 | | - <Exec Command="git rev-parse HEAD > rev.txt" WorkingDirectory="_Build" /> |
71 | | - </Target> |
72 | 80 |
|
73 | 81 | <Import Condition="Exists('User.Directory.Build.props')" Project="User.Directory.Build.props" /> |
74 | 82 | </Project> |
0 commit comments