Terminal.Gui.csproj 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- =================================================================== -->
  3. <!-- Version numbers -->
  4. <!-- Automatically updated by gitversion (run `dotnet-gitversion /updateprojectfiles`) -->
  5. <!-- GitVersion.xml controls settings -->
  6. <!-- =================================================================== -->
  7. <PropertyGroup>
  8. <VersionPrefix>1.14.0</VersionPrefix>
  9. <VersionSuffix>pre.$([System.DateTime]::UtcNow.ToString("yyyyMMdd.HHmm"))</VersionSuffix>
  10. <AssemblyVersion>1.14.0.0</AssemblyVersion>
  11. <FileVersion>1.14.0.0</FileVersion>
  12. <InformationalVersion>1.14.0-v1-develop-branching-update.114+Branch.v1-develop-branching-update.Sha.da42a3c595a0e7146db50be7001215a563e857b3</InformationalVersion>
  13. <PackageVersion>$(Version)</PackageVersion>
  14. <Version>1.14.0-v1-develop-branc0114</Version>
  15. </PropertyGroup>
  16. <!-- =================================================================== -->
  17. <!-- Enables printing of version info after build -->
  18. <!-- =================================================================== -->
  19. <Target Name="Diag" AfterTargets="Pack">
  20. <Message Text="Built and packaged: $(OutDir)$(OutputPath)Terminal.Gui.dll $(AssemblyVersion)" Importance="high" />
  21. </Target>
  22. <!-- =================================================================== -->
  23. <!-- .NET Build Settings -->
  24. <!-- =================================================================== -->
  25. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  26. <DebugType>portable</DebugType>
  27. <VersionSuffix></VersionSuffix>
  28. </PropertyGroup>
  29. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  30. <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
  31. <DebugType>portable</DebugType>
  32. </PropertyGroup>
  33. <PropertyGroup>
  34. <TargetFrameworks>net472;netstandard2.1;net7.0</TargetFrameworks>
  35. <RootNamespace>Terminal.Gui</RootNamespace>
  36. <AssemblyName>Terminal.Gui</AssemblyName>
  37. </PropertyGroup>
  38. <!-- =================================================================== -->
  39. <!-- Dependencies -->
  40. <!-- =================================================================== -->
  41. <ItemGroup>
  42. <PackageReference Include="NStack.Core" Version="1.0.7" />
  43. <InternalsVisibleTo Include="UnitTests" />
  44. </ItemGroup>
  45. <!-- Uncomment the RestoreSources element to have dotnet restore pull NStack from a local dir for testing -->
  46. <PropertyGroup>
  47. <!-- See https://stackoverflow.com/a/44463578/297526 -->
  48. <!--<RestoreSources>$(RestoreSources);..\..\NStack\NStack\bin\Debug;https://api.nuget.org/v3/index.json</RestoreSources>-->
  49. </PropertyGroup>
  50. <!-- =================================================================== -->
  51. <!-- API Documentation -->
  52. <!-- =================================================================== -->
  53. <ItemGroup>
  54. <None Include="..\docfx\images\logo.png">
  55. <Pack>True</Pack>
  56. <PackagePath>\</PackagePath>
  57. </None>
  58. <None Include="..\README.md">
  59. <Pack>True</Pack>
  60. <PackagePath>\</PackagePath>
  61. </None>
  62. </ItemGroup>
  63. <!-- =================================================================== -->
  64. <!-- i18 -->
  65. <!-- =================================================================== -->
  66. <ItemGroup>
  67. <Compile Update="Resources\Strings.Designer.cs">
  68. <DesignTime>True</DesignTime>
  69. <AutoGen>True</AutoGen>
  70. <DependentUpon>Strings.resx</DependentUpon>
  71. </Compile>
  72. </ItemGroup>
  73. <ItemGroup>
  74. <EmbeddedResource Update="Resources\Strings.resx">
  75. <Generator>ResXFileCodeGenerator</Generator>
  76. <LastGenOutput>Strings.Designer.cs</LastGenOutput>
  77. </EmbeddedResource>
  78. </ItemGroup>
  79. <!-- =================================================================== -->
  80. <!-- Nuget -->
  81. <!-- =================================================================== -->
  82. <PropertyGroup>
  83. <PackageId>Terminal.Gui</PackageId>
  84. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  85. <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
  86. <PackageIcon>logo.png</PackageIcon>
  87. <PackageReadmeFile>README.md</PackageReadmeFile>
  88. <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
  89. <Description>Cross platform Terminal UI toolkit for .NET</Description>
  90. <Owners>Miguel de Icaza, Tig Kindel</Owners>
  91. <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
  92. <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
  93. <PackageReleaseNotes>
  94. See: https://github.com/gui-cs/Terminal.Gui/releases
  95. </PackageReleaseNotes>
  96. <DocumentationFile>bin\Release\Terminal.Gui.xml</DocumentationFile>
  97. <GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Debug' ">true</GeneratePackageOnBuild>
  98. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  99. <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
  100. <RepositoryType>git</RepositoryType>
  101. <IncludeSymbols>true</IncludeSymbols>
  102. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  103. <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
  104. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  105. <!-- Embed source files that are not tracked by the source control manager in the PDB -->
  106. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  107. </PropertyGroup>
  108. <ItemGroup>
  109. <!-- Enable Nuget Source Link for github -->
  110. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
  111. <PackageReference Include="System.Management" Version="7.0.2" />
  112. </ItemGroup>
  113. </Project>