Terminal.Gui.csproj 5.8 KB

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