Terminal.Gui.csproj 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  14. <DebugType>portable</DebugType>
  15. <VersionSuffix></VersionSuffix>
  16. </PropertyGroup>
  17. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  18. <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
  19. <DebugType>portable</DebugType>
  20. </PropertyGroup>
  21. <PropertyGroup>
  22. <TargetFrameworks>net7.0</TargetFrameworks>
  23. <LangVersion>11.0</LangVersion>
  24. <RootNamespace>Terminal.Gui</RootNamespace>
  25. <AssemblyName>Terminal.Gui</AssemblyName>
  26. <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
  27. </PropertyGroup>
  28. <!-- =================================================================== -->
  29. <!-- Configuration Manager -->
  30. <!-- =================================================================== -->
  31. <ItemGroup>
  32. <None Remove="Resources\config.json" />
  33. </ItemGroup>
  34. <ItemGroup>
  35. <EmbeddedResource Include="Resources\config.json" />
  36. </ItemGroup>
  37. <!-- =================================================================== -->
  38. <!-- Dependencies -->
  39. <!-- =================================================================== -->
  40. <ItemGroup>
  41. <PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
  42. <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all" />
  43. <PackageReference Include="System.IO.Abstractions" Version="19.2.69" />
  44. <PackageReference Include="System.Text.Json" Version="7.0.3" />
  45. <PackageReference Include="System.Management" Version="7.0.2" />
  46. <PackageReference Include="Wcwidth" Version="1.0.0" />
  47. <!-- Enable Nuget Source Link for github -->
  48. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
  49. <InternalsVisibleTo Include="UnitTests" />
  50. </ItemGroup>
  51. <PropertyGroup>
  52. <!-- Uncomment the RestoreSources element to have dotnet restore pull NStack from a local dir for testing -->
  53. <!-- See https://stackoverflow.com/a/44463578/297526 -->
  54. <!--<RestoreSources>$(RestoreSources);..\..\NStack\NStack\bin\Debug;https://api.nuget.org/v3/index.json</RestoreSources>-->
  55. </PropertyGroup>
  56. <!-- =================================================================== -->
  57. <!-- API Documentation -->
  58. <!-- =================================================================== -->
  59. <ItemGroup>
  60. <None Include="..\docfx\images\logo.png">
  61. <Pack>True</Pack>
  62. <PackagePath>\</PackagePath>
  63. </None>
  64. <None Include="..\README.md">
  65. <Pack>True</Pack>
  66. <PackagePath>\</PackagePath>
  67. </None>
  68. </ItemGroup>
  69. <!-- =================================================================== -->
  70. <!-- i18 -->
  71. <!-- =================================================================== -->
  72. <ItemGroup>
  73. <Compile Update="Resources\Strings.Designer.cs">
  74. <DesignTime>True</DesignTime>
  75. <AutoGen>True</AutoGen>
  76. <DependentUpon>Strings.resx</DependentUpon>
  77. </Compile>
  78. </ItemGroup>
  79. <ItemGroup>
  80. <EmbeddedResource Update="Resources\Strings.resx">
  81. <Generator>ResXFileCodeGenerator</Generator>
  82. <LastGenOutput>Strings.Designer.cs</LastGenOutput>
  83. </EmbeddedResource>
  84. </ItemGroup>
  85. <!-- =================================================================== -->
  86. <!-- Nuget -->
  87. <!-- =================================================================== -->
  88. <PropertyGroup>
  89. <PackageId>Terminal.Gui</PackageId>
  90. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  91. <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
  92. <PackageIcon>logo.png</PackageIcon>
  93. <PackageReadmeFile>README.md</PackageReadmeFile>
  94. <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
  95. <Description>Cross platform Terminal UI toolkit for .NET</Description>
  96. <Owners>Miguel de Icaza, Tig Kindel</Owners>
  97. <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
  98. <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
  99. <PackageReleaseNotes>
  100. See: https://github.com/gui-cs/Terminal.Gui/releases
  101. </PackageReleaseNotes>
  102. <DocumentationFile>bin\Release\Terminal.Gui.xml</DocumentationFile>
  103. <GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Debug' ">true</GeneratePackageOnBuild>
  104. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  105. <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
  106. <RepositoryType>git</RepositoryType>
  107. <IncludeSymbols>true</IncludeSymbols>
  108. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  109. <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
  110. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  111. <!-- Embed source files that are not tracked by the source control manager in the PDB -->
  112. <GitRepositoryRemoteName>upstream</GitRepositoryRemoteName>
  113. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  114. <EnableSourceLink>true</EnableSourceLink>
  115. <!--<DebugType>Embedded</DebugType>-->
  116. <Authors>Miguel de Icaza, Tig Kindel (@tig), @BDisp</Authors>
  117. </PropertyGroup>
  118. </Project>