Terminal.Gui.csproj 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  19. <DefineTrace>True</DefineTrace>
  20. <DebugType>portable</DebugType>
  21. <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL;CODE_ANALYSIS</DefineConstants>
  22. <ImplicitUsings>enable</ImplicitUsings>
  23. <NoLogo>True</NoLogo>
  24. <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
  25. </PropertyGroup>
  26. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  27. <DefineDebug>True</DefineDebug>
  28. <DefineConstants>$(DefineConstants);DEBUG_IDISPOSABLE</DefineConstants>
  29. </PropertyGroup>
  30. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  31. <Optimize>True</Optimize>
  32. <VersionSuffix></VersionSuffix>
  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="ColorHelper" Version="1.8.1" />
  48. <PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
  49. <PackageReference Include="Microsoft.CodeAnalysis" Version="4.9.2" PrivateAssets="all" />
  50. <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.9.2" PrivateAssets="all" />
  51. <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="all" />
  52. <!-- Enable Nuget Source Link for github -->
  53. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
  54. <PackageReference Include="System.IO.Abstractions" Version="21.0.2" />
  55. <PackageReference Include="System.Text.Json" Version="8.0.3" />
  56. <PackageReference Include="Wcwidth" Version="2.0.0" />
  57. <ProjectReference Include="..\Analyzers\Terminal.Gui.Analyzers.Internal\Terminal.Gui.Analyzers.Internal.csproj">
  58. <PrivateAssets>all</PrivateAssets>
  59. <OutputItemType>Analyzer</OutputItemType>
  60. <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  61. </ProjectReference>
  62. </ItemGroup>
  63. <!-- =================================================================== -->
  64. <!-- Global Usings and Type Aliases -->
  65. <!-- =================================================================== -->
  66. <ItemGroup>
  67. <Using Include="JetBrains.Annotations" />
  68. <Using Include="JetBrains.Annotations.PureAttribute" Alias="PureAttribute" />
  69. <Using Include="System.Drawing" />
  70. <Using Include="System.Text" />
  71. </ItemGroup>
  72. <!-- =================================================================== -->
  73. <!-- Namespaces for which internal items are visible -->
  74. <!-- =================================================================== -->
  75. <ItemGroup>
  76. <InternalsVisibleTo Include="UnitTests" />
  77. <InternalsVisibleTo Include="TerminalGuiDesigner" />
  78. </ItemGroup>
  79. <!-- =================================================================== -->
  80. <!-- API Documentation -->
  81. <!-- =================================================================== -->
  82. <ItemGroup>
  83. <None Include="..\docfx\images\logo.png">
  84. <Pack>True</Pack>
  85. <PackagePath>\</PackagePath>
  86. </None>
  87. <None Include="..\README.md">
  88. <Pack>True</Pack>
  89. <PackagePath>\</PackagePath>
  90. </None>
  91. </ItemGroup>
  92. <!-- =================================================================== -->
  93. <!-- i18 -->
  94. <!-- =================================================================== -->
  95. <ItemGroup>
  96. <Compile Update="Resources\Strings.Designer.cs">
  97. <DesignTime>True</DesignTime>
  98. <AutoGen>True</AutoGen>
  99. <DependentUpon>Strings.resx</DependentUpon>
  100. </Compile>
  101. </ItemGroup>
  102. <ItemGroup>
  103. <EmbeddedResource Update="Resources\Strings.resx">
  104. <Generator>ResXFileCodeGenerator</Generator>
  105. <LastGenOutput>Strings.Designer.cs</LastGenOutput>
  106. </EmbeddedResource>
  107. </ItemGroup>
  108. <!-- =================================================================== -->
  109. <!-- Nuget -->
  110. <!-- =================================================================== -->
  111. <PropertyGroup>
  112. <PackageId>Terminal.Gui</PackageId>
  113. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  114. <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
  115. <PackageIcon>logo.png</PackageIcon>
  116. <PackageReadmeFile>README.md</PackageReadmeFile>
  117. <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
  118. <Description>Cross platform Terminal UI toolkit for .NET</Description>
  119. <Owners>Miguel de Icaza, Tig Kindel</Owners>
  120. <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
  121. <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
  122. <PackageReleaseNotes>
  123. See: https://github.com/gui-cs/Terminal.Gui/releases
  124. </PackageReleaseNotes>
  125. <DocumentationFile>bin\$(Configuration)\Terminal.Gui.xml</DocumentationFile>
  126. <GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Debug' ">true</GeneratePackageOnBuild>
  127. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  128. <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
  129. <RepositoryType>git</RepositoryType>
  130. <IncludeSymbols>true</IncludeSymbols>
  131. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  132. <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
  133. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  134. <!-- Embed source files that are not tracked by the source control manager in the PDB -->
  135. <GitRepositoryRemoteName>upstream</GitRepositoryRemoteName>
  136. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  137. <EnableSourceLink>true</EnableSourceLink>
  138. <Authors>Miguel de Icaza, Tig Kindel (@tig), @BDisp</Authors>
  139. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  140. </PropertyGroup>
  141. </Project>