Terminal.Gui.csproj 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL</DefineConstants>
  20. </PropertyGroup>
  21. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  22. <DebugType>portable</DebugType>
  23. <VersionSuffix></VersionSuffix>
  24. </PropertyGroup>
  25. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  26. <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
  27. <DebugType>portable</DebugType>
  28. </PropertyGroup>
  29. <!-- =================================================================== -->
  30. <!-- Configuration Manager -->
  31. <!-- =================================================================== -->
  32. <ItemGroup>
  33. <None Remove="Resources\config.json" />
  34. </ItemGroup>
  35. <ItemGroup>
  36. <EmbeddedResource Include="Resources\config.json" />
  37. </ItemGroup>
  38. <!-- =================================================================== -->
  39. <!-- Dependencies -->
  40. <!-- =================================================================== -->
  41. <ItemGroup>
  42. <PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
  43. <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all" />
  44. <!-- Enable Nuget Source Link for github -->
  45. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
  46. <PackageReference Include="System.IO.Abstractions" Version="20.0.15" />
  47. <PackageReference Include="System.Text.Json" Version="8.0.2" />
  48. <PackageReference Include="Wcwidth" Version="2.0.0" />
  49. </ItemGroup>
  50. <!-- =================================================================== -->
  51. <!-- Namespaces for which internal items are visible -->
  52. <!-- =================================================================== -->
  53. <ItemGroup>
  54. <InternalsVisibleTo Include="UnitTests" />
  55. </ItemGroup>
  56. <PropertyGroup>
  57. <!-- Uncomment the RestoreSources element to have dotnet restore pull NStack from a local dir for testing -->
  58. <!-- See https://stackoverflow.com/a/44463578/297526 -->
  59. <!--<RestoreSources>$(RestoreSources);..\..\NStack\NStack\bin\Debug;https://api.nuget.org/v3/index.json</RestoreSources>-->
  60. </PropertyGroup>
  61. <!-- =================================================================== -->
  62. <!-- API Documentation -->
  63. <!-- =================================================================== -->
  64. <ItemGroup>
  65. <None Include="..\docfx\images\logo.png">
  66. <Pack>True</Pack>
  67. <PackagePath>\</PackagePath>
  68. </None>
  69. <None Include="..\README.md">
  70. <Pack>True</Pack>
  71. <PackagePath>\</PackagePath>
  72. </None>
  73. </ItemGroup>
  74. <!-- =================================================================== -->
  75. <!-- i18 -->
  76. <!-- =================================================================== -->
  77. <ItemGroup>
  78. <Compile Update="Resources\Strings.Designer.cs">
  79. <DesignTime>True</DesignTime>
  80. <AutoGen>True</AutoGen>
  81. <DependentUpon>Strings.resx</DependentUpon>
  82. </Compile>
  83. </ItemGroup>
  84. <ItemGroup>
  85. <EmbeddedResource Update="Resources\Strings.resx">
  86. <Generator>ResXFileCodeGenerator</Generator>
  87. <LastGenOutput>Strings.Designer.cs</LastGenOutput>
  88. </EmbeddedResource>
  89. </ItemGroup>
  90. <ItemGroup>
  91. <Using Include="JetBrains.Annotations" />
  92. <Using Include="System.Diagnostics.Contracts.PureAttribute" Alias="PureAttribute" />
  93. <Using Include="System.Drawing" />
  94. <Using Include="System.Text" />
  95. <Using Include="JetBrains.Annotations" />
  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\Release\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. <!--<DebugType>Embedded</DebugType>-->
  128. <Authors>Miguel de Icaza, Tig Kindel (@tig), @BDisp</Authors>
  129. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  130. <ImplicitUsings>enable</ImplicitUsings>
  131. </PropertyGroup>
  132. </Project>