Terminal.Gui.csproj 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. <!-- 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. <PropertyGroup>
  64. <TargetFrameworks>net472;netstandard2.0;net6.0</TargetFrameworks>
  65. <LangVersion>9</LangVersion>
  66. <RootNamespace>Terminal.Gui</RootNamespace>
  67. <AssemblyName>Terminal.Gui</AssemblyName>
  68. <DocumentationFile>bin\Release\Terminal.Gui.xml</DocumentationFile>
  69. <GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
  70. <!--<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>-->
  71. <PackageId>Terminal.Gui</PackageId>
  72. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  73. <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
  74. <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
  75. <RepositoryType>git</RepositoryType>
  76. <IncludeSymbols>true</IncludeSymbols>
  77. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  78. <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
  79. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  80. <!-- Embed source files that are not tracked by the source control manager in the PDB -->
  81. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  82. <PackageIcon>logo.png</PackageIcon>
  83. <PackageReadmeFile>README.md</PackageReadmeFile>
  84. <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
  85. <Description>Cross platform Terminal UI toolkit for .NET</Description>
  86. <Owners>Miguel de Icaza, Charlie Kindel</Owners>
  87. <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
  88. <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
  89. <PackageReleaseNotes>
  90. See: https://github.com/gui-cs/Terminal.Gui/releases
  91. </PackageReleaseNotes>
  92. </PropertyGroup>
  93. <ProjectExtensions><VisualStudio><UserProperties resources_4config_1json__JsonSchema="" /></VisualStudio></ProjectExtensions>
  94. </Project>