Terminal.Gui.csproj 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  3. <DebugType>portable</DebugType>
  4. </PropertyGroup>
  5. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  6. <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
  7. <DebugType>portable</DebugType>
  8. </PropertyGroup>
  9. <PropertyGroup>
  10. <!-- Version numbers are automatically updated by gitversion when a release is released -->
  11. <!-- In the source tree the version will always be 1.0 for all projects. -->
  12. <!-- Do not modify these. Do NOT commit after manually running `dotnet-gitversion /updateprojectfiles` -->
  13. <AssemblyVersion>2.0</AssemblyVersion>
  14. <FileVersion>2.0</FileVersion>
  15. <Version>2.0</Version>
  16. <InformationalVersion>2.0</InformationalVersion>
  17. </PropertyGroup>
  18. <ItemGroup>
  19. <None Remove="Resources\config.json" />
  20. </ItemGroup>
  21. <ItemGroup>
  22. <EmbeddedResource Include="Resources\config.json" />
  23. </ItemGroup>
  24. <ItemGroup>
  25. <!-- Enable Nuget Source Link for github -->
  26. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
  27. <PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
  28. <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all" />
  29. <PackageReference Include="NStack.Core" Version="1.0.7" />
  30. <PackageReference Include="System.Text.Json" Version="7.0.1" />
  31. <PackageReference Include="System.Management" Version="7.0.0" />
  32. <InternalsVisibleTo Include="UnitTests" />
  33. </ItemGroup>
  34. <!-- Uncomment the RestoreSources element to have dotnet restore pull NStack from a local dir for testing -->
  35. <PropertyGroup>
  36. <!-- See https://stackoverflow.com/a/44463578/297526 -->
  37. <!--<RestoreSources>$(RestoreSources);..\..\NStack\NStack\bin\Debug;https://api.nuget.org/v3/index.json</RestoreSources>-->
  38. </PropertyGroup>
  39. <!-- API Documentation -->
  40. <ItemGroup>
  41. <None Include="..\docfx\images\logo.png">
  42. <Pack>True</Pack>
  43. <PackagePath>\</PackagePath>
  44. </None>
  45. <None Include="..\README.md">
  46. <Pack>True</Pack>
  47. <PackagePath>\</PackagePath>
  48. </None>
  49. </ItemGroup>
  50. <ItemGroup>
  51. <Compile Update="Resources\Strings.Designer.cs">
  52. <DesignTime>True</DesignTime>
  53. <AutoGen>True</AutoGen>
  54. <DependentUpon>Strings.resx</DependentUpon>
  55. </Compile>
  56. </ItemGroup>
  57. <ItemGroup>
  58. <EmbeddedResource Update="Resources\Strings.resx">
  59. <Generator>ResXFileCodeGenerator</Generator>
  60. <LastGenOutput>Strings.Designer.cs</LastGenOutput>
  61. </EmbeddedResource>
  62. </ItemGroup>
  63. <!-- Enable Nuget Source Link for github -->
  64. <ItemGroup>
  65. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
  66. <PackageReference Include="System.Text.Json" Version="7.0.1" />
  67. <PackageReference Include="System.Management" Version="7.0.0" />
  68. </ItemGroup>
  69. <PropertyGroup>
  70. <TargetFrameworks>net472;netstandard2.0;net6.0</TargetFrameworks>
  71. <LangVersion>9</LangVersion>
  72. <RootNamespace>Terminal.Gui</RootNamespace>
  73. <AssemblyName>Terminal.Gui</AssemblyName>
  74. <DocumentationFile>bin\Release\Terminal.Gui.xml</DocumentationFile>
  75. <GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
  76. <!--<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>-->
  77. <PackageId>Terminal.Gui</PackageId>
  78. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  79. <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
  80. <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
  81. <RepositoryType>git</RepositoryType>
  82. <IncludeSymbols>true</IncludeSymbols>
  83. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  84. <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
  85. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  86. <!-- Embed source files that are not tracked by the source control manager in the PDB -->
  87. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  88. <PackageIcon>logo.png</PackageIcon>
  89. <PackageReadmeFile>README.md</PackageReadmeFile>
  90. <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
  91. <Description>Cross platform Terminal UI toolkit for .NET</Description>
  92. <Owners>Miguel de Icaza, Charlie Kindel</Owners>
  93. <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
  94. <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
  95. <PackageReleaseNotes>
  96. See: https://github.com/gui-cs/Terminal.Gui/releases
  97. </PackageReleaseNotes>
  98. </PropertyGroup>
  99. <ProjectExtensions><VisualStudio><UserProperties resources_4config_1json__JsonSchema="" /></VisualStudio></ProjectExtensions>
  100. </Project>