Terminal.Gui.csproj 4.6 KB

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