|
3 | 3 | <PropertyGroup> |
4 | 4 | <Description>A GNU-Readline like library for .NET/.NET Core</Description> |
5 | 5 | <AssemblyTitle>ReadLine</AssemblyTitle> |
6 | | - <VersionPrefix>1.2.0</VersionPrefix> |
7 | 6 | <Authors>Toni Solarin-Sodara;Latency McLaughlin</Authors> |
8 | | - <TargetFrameworks>netcoreapp2.0;net47</TargetFrameworks> |
9 | | - <DebugType>portable</DebugType> |
| 7 | + <Owners>Toni Solarin-Sodara</Owners> |
| 8 | + <TargetFrameworks>net47;netcoreapp2.0;netstandard2.0</TargetFrameworks> |
| 9 | + <Version>1.2.1</Version> |
10 | 10 | <AssemblyName>ReadLine</AssemblyName> |
11 | 11 | <PackageId>ReadLine</PackageId> |
12 | 12 | <PackageTags>readline;gnu;console;shell;cui</PackageTags> |
13 | 13 | <PackageProjectUrl>https://github.com/tsolarin/readline</PackageProjectUrl> |
14 | 14 | <PackageLicenseUrl>https://github.com/tsolarin/readline/blob/master/LICENSE</PackageLicenseUrl> |
15 | 15 | <RepositoryType>git</RepositoryType> |
16 | 16 | <RepositoryUrl>https://github.com/tsolarin/readline</RepositoryUrl> |
17 | | - <NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.3' ">1.6.1</NetStandardImplicitPackageVersion> |
18 | 17 | <GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> |
19 | 18 | <GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> |
20 | 19 | <GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute> |
|
23 | 22 | <SignAssembly>true</SignAssembly> |
24 | 23 | <AssemblyOriginatorKeyFile>snKey.snk</AssemblyOriginatorKeyFile> |
25 | 24 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
| 25 | + <PackageReleaseNotes>Updated to support .NET Core 2.0. |
| 26 | +Updated to support .NET Standard v2.0. |
| 27 | +Updated to support .NET Framework v4.7. |
| 28 | +Consolidated redundant code and expressions. |
| 29 | +Repacked for multi-frameworks. |
| 30 | +Updated versioning. |
| 31 | +Updated test projects.</PackageReleaseNotes> |
| 32 | + <Company /> |
26 | 33 | </PropertyGroup> |
27 | 34 |
|
28 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> |
| 35 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'netcoreapp2.0' "> |
29 | 36 | <PackageReference Include="System.Console" Version="4.3.0" /> |
30 | 37 | </ItemGroup> |
31 | 38 |
|
32 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> |
| 39 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net47' "> |
33 | 40 | <Reference Include="System" /> |
34 | 41 | <Reference Include="Microsoft.CSharp" /> |
35 | 42 | </ItemGroup> |
|
38 | 45 | <Folder Include="Properties\" /> |
39 | 46 | </ItemGroup> |
40 | 47 |
|
| 48 | + <!-- @@ --> |
| 49 | + <Target Name="CreateArtifactsDirectoryIfNotExists" Condition="!Exists('..\..\artifacts')"> |
| 50 | + <Message Text="Creating artifacts directory -> '..\..\artifacts\'" Importance="high" /> |
| 51 | + <MakeDir Directories="..\..\artifacts" /> |
| 52 | + </Target> |
| 53 | + |
| 54 | + <Target Name="PostPublish" AfterTargets="Pack" Condition=" '$(GeneratePackageOnBuild)' == 'true' "> |
| 55 | + <CallTarget Targets="CreateArtifactsDirectoryIfNotExists" /> |
| 56 | + <Message Text="Copying artifact `.\bin\$(Configuration)\$(PackageId).$(PackageVersion).nupkg' to directory `$(SolutionDir)artifacts'" Importance="high" /> |
| 57 | + <Copy SourceFiles=".\bin\$(Configuration)\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="$(SolutionDir)artifacts" /> |
| 58 | + </Target> |
41 | 59 | </Project> |
0 commit comments