Terminal.Gui.csproj 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <Project Sdk="Microsoft.NET.Sdk" InitialTargets="main">
  2. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  3. <DebugType>portable</DebugType>
  4. <VersionSuffix></VersionSuffix>
  5. <Version>$(VersionPrefix)</Version>
  6. <AssemblyVersion>1.14.0.0</AssemblyVersion>
  7. <InformationalVersion>1.14.0-v1-develop-branching-update.111+Branch.v1-develop-branching-update.Sha.fccf0213e2c55836fe3c05c08d7164b976f30cf8</InformationalVersion>
  8. </PropertyGroup>
  9. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  10. <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
  11. <DebugType>portable</DebugType>
  12. <VersionSuffix>pre.$([System.DateTime]::UtcNow.ToString("yyyyMMdd.HHmm"))</VersionSuffix>
  13. <Version>1.14.0-v1-develop-branc0111</Version>
  14. </PropertyGroup>
  15. <PropertyGroup>
  16. <!-- Version numbers are automatically updated by gitversion when a release is released -->
  17. <VersionPrefix>1.14.0</VersionPrefix>
  18. <PackageVersion>$(Version)</PackageVersion>
  19. </PropertyGroup>
  20. <Target Name="main" AfterTargets="Resources">
  21. <!-- Msbuild will process the first target in the file by default.
  22. By creating this target, and making it depend on the two following targets,
  23. we can ensure that they will all be executed
  24. -->
  25. </Target>
  26. <Target Name="main">
  27. <Message Text="Built Terminal.Gui $(Version)" Importance="high" />
  28. </Target>
  29. <ItemGroup>
  30. <PackageReference Include="NStack.Core" Version="1.0.7" />
  31. <InternalsVisibleTo Include="UnitTests" />
  32. </ItemGroup>
  33. <!-- Uncomment the RestoreSources element to have dotnet restore pull NStack from a local dir for testing -->
  34. <PropertyGroup>
  35. <!-- See https://stackoverflow.com/a/44463578/297526 -->
  36. <!--<RestoreSources>$(RestoreSources);..\..\NStack\NStack\bin\Debug;https://api.nuget.org/v3/index.json</RestoreSources>-->
  37. </PropertyGroup>
  38. <!-- API Documentation -->
  39. <ItemGroup>
  40. <None Include="..\docfx\images\logo.png">
  41. <Pack>True</Pack>
  42. <PackagePath>\</PackagePath>
  43. </None>
  44. <None Include="..\README.md">
  45. <Pack>True</Pack>
  46. <PackagePath>\</PackagePath>
  47. </None>
  48. </ItemGroup>
  49. <ItemGroup>
  50. <Compile Update="Resources\Strings.Designer.cs">
  51. <DesignTime>True</DesignTime>
  52. <AutoGen>True</AutoGen>
  53. <DependentUpon>Strings.resx</DependentUpon>
  54. </Compile>
  55. </ItemGroup>
  56. <ItemGroup>
  57. <EmbeddedResource Update="Resources\Strings.resx">
  58. <Generator>ResXFileCodeGenerator</Generator>
  59. <LastGenOutput>Strings.Designer.cs</LastGenOutput>
  60. </EmbeddedResource>
  61. </ItemGroup>
  62. <!-- Enable Nuget Source Link for github -->
  63. <ItemGroup>
  64. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
  65. <PackageReference Include="System.Management" Version="7.0.2" />
  66. </ItemGroup>
  67. <PropertyGroup>
  68. <TargetFrameworks>net472;netstandard2.1;net7.0</TargetFrameworks>
  69. <RootNamespace>Terminal.Gui</RootNamespace>
  70. <AssemblyName>Terminal.Gui</AssemblyName>
  71. <DocumentationFile>bin\Release\Terminal.Gui.xml</DocumentationFile>
  72. <GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Debug' ">true</GeneratePackageOnBuild>
  73. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  74. <PackageId>Terminal.Gui</PackageId>
  75. <PackageLicenseExpression>MIT</PackageLicenseExpression>
  76. <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
  77. <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
  78. <RepositoryType>git</RepositoryType>
  79. <IncludeSymbols>true</IncludeSymbols>
  80. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  81. <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
  82. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  83. <!-- Embed source files that are not tracked by the source control manager in the PDB -->
  84. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  85. <PackageIcon>logo.png</PackageIcon>
  86. <PackageReadmeFile>README.md</PackageReadmeFile>
  87. <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
  88. <Description>Cross platform Terminal UI toolkit for .NET</Description>
  89. <Owners>Miguel de Icaza, Charlie Kindel</Owners>
  90. <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
  91. <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
  92. <PackageReleaseNotes>
  93. See: https://github.com/gui-cs/Terminal.Gui/releases
  94. </PackageReleaseNotes>
  95. </PropertyGroup>
  96. </Project>