123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <Project Sdk="Microsoft.NET.Sdk">
- <!-- =================================================================== -->
- <!-- Version numbers -->
- <!-- Automatically updated by gitversion (run `dotnet-gitversion /updateprojectfiles`) -->
- <!-- GitVersion.xml controls settings -->
- <!-- =================================================================== -->
- <PropertyGroup>
- <Version>2.0.0</Version>
- </PropertyGroup>
- <!-- =================================================================== -->
- <!-- .NET Build Settings -->
- <!-- =================================================================== -->
- <PropertyGroup>
- <TargetFrameworks>net8.0</TargetFrameworks>
- <LangVersion>12</LangVersion>
- <RootNamespace>Terminal.Gui</RootNamespace>
- <AssemblyName>Terminal.Gui</AssemblyName>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <DefineTrace>True</DefineTrace>
- <DebugType>portable</DebugType>
- <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL;CODE_ANALYSIS</DefineConstants>
- <ImplicitUsings>enable</ImplicitUsings>
- <NoLogo>True</NoLogo>
- <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DefineDebug>True</DefineDebug>
- <DefineConstants>$(DefineConstants);DEBUG_IDISPOSABLE</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <Optimize>True</Optimize>
- <VersionSuffix></VersionSuffix>
- </PropertyGroup>
- <!-- =================================================================== -->
- <!-- Configuration Manager -->
- <!-- =================================================================== -->
- <ItemGroup>
- <None Remove="Resources\config.json" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="Resources\config.json" />
- </ItemGroup>
- <!-- =================================================================== -->
- <!-- Dependencies -->
- <!-- =================================================================== -->
- <ItemGroup>
- <PackageReference Include="ColorHelper" Version="1.8.1" />
- <PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
- <PackageReference Include="Microsoft.CodeAnalysis" Version="4.9.2" PrivateAssets="all" />
- <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.9.2" PrivateAssets="all" />
- <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="all" />
- <!-- Enable Nuget Source Link for github -->
- <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
- <PackageReference Include="System.IO.Abstractions" Version="21.0.2" />
- <PackageReference Include="System.Text.Json" Version="8.0.3" />
- <PackageReference Include="Wcwidth" Version="2.0.0" />
- <ProjectReference Include="..\Analyzers\Terminal.Gui.Analyzers.Internal\Terminal.Gui.Analyzers.Internal.csproj">
- <PrivateAssets>all</PrivateAssets>
- <OutputItemType>Analyzer</OutputItemType>
- <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
- </ProjectReference>
- </ItemGroup>
- <!-- =================================================================== -->
- <!-- Global Usings and Type Aliases -->
- <!-- =================================================================== -->
- <ItemGroup>
- <Using Include="JetBrains.Annotations" />
- <Using Include="JetBrains.Annotations.PureAttribute" Alias="PureAttribute" />
- <Using Include="System.Drawing" />
- <Using Include="System.Text" />
- </ItemGroup>
- <!-- =================================================================== -->
- <!-- Namespaces for which internal items are visible -->
- <!-- =================================================================== -->
- <ItemGroup>
- <InternalsVisibleTo Include="UnitTests" />
- <InternalsVisibleTo Include="TerminalGuiDesigner" />
- </ItemGroup>
- <!-- =================================================================== -->
- <!-- API Documentation -->
- <!-- =================================================================== -->
- <ItemGroup>
- <None Include="..\docfx\images\logo.png">
- <Pack>True</Pack>
- <PackagePath>\</PackagePath>
- </None>
- <None Include="..\README.md">
- <Pack>True</Pack>
- <PackagePath>\</PackagePath>
- </None>
- </ItemGroup>
- <!-- =================================================================== -->
- <!-- i18 -->
- <!-- =================================================================== -->
- <ItemGroup>
- <Compile Update="Resources\Strings.Designer.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Strings.resx</DependentUpon>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Update="Resources\Strings.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Strings.Designer.cs</LastGenOutput>
- </EmbeddedResource>
- </ItemGroup>
- <!-- =================================================================== -->
- <!-- Nuget -->
- <!-- =================================================================== -->
- <PropertyGroup>
- <PackageId>Terminal.Gui</PackageId>
- <PackageLicenseExpression>MIT</PackageLicenseExpression>
- <PackageProjectUrl>https://github.com/gui-cs/Terminal.Gui/</PackageProjectUrl>
- <PackageIcon>logo.png</PackageIcon>
- <PackageReadmeFile>README.md</PackageReadmeFile>
- <PackageTags>csharp, terminal, c#, f#, gui, toolkit, console, tui</PackageTags>
- <Description>Cross platform Terminal UI toolkit for .NET</Description>
- <Owners>Miguel de Icaza, Tig Kindel</Owners>
- <Summary>A toolkit for building rich console apps for .NET that works on Windows, Mac, and Linux/Unix.</Summary>
- <Title>Terminal.Gui - Cross platform Terminal User Interface (TUI) toolkit for .NET</Title>
- <PackageReleaseNotes>
- See: https://github.com/gui-cs/Terminal.Gui/releases
- </PackageReleaseNotes>
- <DocumentationFile>bin\$(Configuration)\Terminal.Gui.xml</DocumentationFile>
- <GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Debug' ">true</GeneratePackageOnBuild>
- <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
- <RepositoryUrl>https://github.com/gui-cs/Terminal.Gui.git</RepositoryUrl>
- <RepositoryType>git</RepositoryType>
- <IncludeSymbols>true</IncludeSymbols>
- <SymbolPackageFormat>snupkg</SymbolPackageFormat>
- <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
- <PublishRepositoryUrl>true</PublishRepositoryUrl>
- <!-- Embed source files that are not tracked by the source control manager in the PDB -->
- <GitRepositoryRemoteName>upstream</GitRepositoryRemoteName>
- <EmbedUntrackedSources>true</EmbedUntrackedSources>
- <EnableSourceLink>true</EnableSourceLink>
- <Authors>Miguel de Icaza, Tig Kindel (@tig), @BDisp</Authors>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- </PropertyGroup>
- </Project>
|