Terminal.Gui.csproj 4.1 KB

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