Terminal.Gui.csproj 4.6 KB

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