Terminal.Gui.csproj 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. <Version>2.0.0</Version>
  9. </PropertyGroup>
  10. <!-- =================================================================== -->
  11. <!-- .NET Build Settings -->
  12. <!-- =================================================================== -->
  13. <PropertyGroup>
  14. <TargetFrameworks>net8.0</TargetFrameworks>
  15. <LangVersion>12</LangVersion>
  16. <RootNamespace>Terminal.Gui</RootNamespace>
  17. <AssemblyName>Terminal.Gui</AssemblyName>
  18. <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
  19. <DefineTrace>True</DefineTrace>
  20. <DebugType>portable</DebugType>
  21. <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL</DefineConstants>
  22. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  23. <ImplicitUsings>enable</ImplicitUsings>
  24. </PropertyGroup>
  25. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  26. <Optimize>True</Optimize>
  27. <VersionSuffix></VersionSuffix>
  28. </PropertyGroup>
  29. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  30. <DefineDebug>True</DefineDebug>
  31. <DefineConstants>$(DefineConstants);DEBUG_IDISPOSABLE</DefineConstants>
  32. </PropertyGroup>
  33. <!-- =================================================================== -->
  34. <!-- Configuration Manager -->
  35. <!-- =================================================================== -->
  36. <ItemGroup>
  37. <None Remove="Resources\config.json" />
  38. </ItemGroup>
  39. <ItemGroup>
  40. <EmbeddedResource Include="Resources\config.json" />
  41. </ItemGroup>
  42. <!-- =================================================================== -->
  43. <!-- Dependencies -->
  44. <!-- =================================================================== -->
  45. <ItemGroup>
  46. <PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
  47. <!-- Enable Nuget Source Link for github -->
  48. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
  49. <PackageReference Include="System.IO.Abstractions" Version="20.0.15" />
  50. <PackageReference Include="System.Text.Json" Version="8.0.2" />
  51. <PackageReference Include="Wcwidth" Version="2.0.0" />
  52. </ItemGroup>
  53. <!-- =================================================================== -->
  54. <!-- Global Usings and Type Aliases -->
  55. <!-- =================================================================== -->
  56. <ItemGroup>
  57. <Using Include="JetBrains.Annotations" />
  58. <Using Include="System.Diagnostics.Contracts.PureAttribute" Alias="PureAttribute" />
  59. <Using Include="System.Drawing" />
  60. <Using Include="System.Text" />
  61. </ItemGroup>
  62. <!-- =================================================================== -->
  63. <!-- Namespaces for which internal items are visible -->
  64. <!-- =================================================================== -->
  65. <ItemGroup>
  66. <InternalsVisibleTo Include="UnitTests" />
  67. </ItemGroup>
  68. <!-- =================================================================== -->
  69. <!-- API Documentation -->
  70. <!-- =================================================================== -->
  71. <ItemGroup>
  72. <None Include="..\docfx\images\logo.png">
  73. <Pack>True</Pack>
  74. <PackagePath>\</PackagePath>
  75. </None>
  76. <None Include="..\README.md">
  77. <Pack>True</Pack>
  78. <PackagePath>\</PackagePath>
  79. </None>
  80. </ItemGroup>
  81. <!-- =================================================================== -->
  82. <!-- i18 -->
  83. <!-- =================================================================== -->
  84. <ItemGroup>
  85. <Compile Update="Resources\Strings.Designer.cs">
  86. <DesignTime>True</DesignTime>
  87. <AutoGen>True</AutoGen>
  88. <DependentUpon>Strings.resx</DependentUpon>
  89. </Compile>
  90. </ItemGroup>
  91. <ItemGroup>
  92. <EmbeddedResource Update="Resources\Strings.resx">
  93. <Generator>ResXFileCodeGenerator</Generator>
  94. <LastGenOutput>Strings.Designer.cs</LastGenOutput>
  95. </EmbeddedResource>
  96. </ItemGroup>
  97. <!-- =================================================================== -->
  98. <!-- Nuget -->
  99. <!-- =================================================================== -->
  100. <PropertyGroup>
  101. <PackageId>Terminal.Gui</PackageId>
  102. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  103. <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
  104. <PackageIcon>logo.png</PackageIcon>
  105. <PackageReadmeFile>README.md</PackageReadmeFile>
  106. <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
  107. <Description>Cross platform Terminal UI toolkit for .NET</Description>
  108. <Owners>Miguel de Icaza, Tig Kindel</Owners>
  109. <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
  110. <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
  111. <PackageReleaseNotes>
  112. See: https://github.com/gui-cs/Terminal.Gui/releases
  113. </PackageReleaseNotes>
  114. <DocumentationFile>bin\$(Configuration)\Terminal.Gui.xml</DocumentationFile>
  115. <GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Debug' ">true</GeneratePackageOnBuild>
  116. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  117. <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
  118. <RepositoryType>git</RepositoryType>
  119. <IncludeSymbols>true</IncludeSymbols>
  120. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  121. <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
  122. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  123. <!-- Embed source files that are not tracked by the source control manager in the PDB -->
  124. <GitRepositoryRemoteName>upstream</GitRepositoryRemoteName>
  125. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  126. <EnableSourceLink>true</EnableSourceLink>
  127. <Authors>Miguel de Icaza, Tig Kindel (@tig), @BDisp</Authors>
  128. </PropertyGroup>
  129. </Project>