Terminal.Gui.csproj 6.3 KB

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