/ src / modules / EnvironmentVariables / EnvironmentVariablesUILib / EnvironmentVariablesUILib.csproj
EnvironmentVariablesUILib.csproj
1 <Project Sdk="Microsoft.NET.Sdk"> 2 <!-- Look at Directory.Build.props in root for common stuff as well --> 3 <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" /> 4 5 <PropertyGroup> 6 <OutputType>Library</OutputType> 7 <RootNamespace>EnvironmentVariablesUILib</RootNamespace> 8 <UseWinUI>true</UseWinUI> 9 <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling> 10 <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> 11 <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> 12 <AssemblyName>PowerToys.EnvironmentVariablesUILib</AssemblyName> 13 <Platforms>AnyCPU</Platforms> 14 <!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri --> 15 <ProjectPriFileName>PowerToys.EnvironmentVariablesUILib.pri</ProjectPriFileName> 16 <GenerateLibraryLayout>true</GenerateLibraryLayout> 17 <IsPackable>true</IsPackable> 18 </PropertyGroup> 19 20 <PropertyGroup> 21 <!-- Properties for nuget package. --> 22 <Description>Implements the UI control for the PowerToys Environment Variables Utility</Description> 23 <PackageLicenseExpression>MIT</PackageLicenseExpression> 24 </PropertyGroup> 25 26 <ItemGroup> 27 <None Include="$(OutDir)\PowerToys.EnvironmentVariablesUILib.pri" Pack="True" PackageCopyToOutput="true" PackagePath="lib/$(TargetFramework)" /> 28 <None Include="$(OutDir)\PowerToys.EnvironmentVariablesUILib.pri" Pack="True" PackageCopyToOutput="True" PackagePath="contentFiles\any\$(TargetFramework)" /> 29 <None Include="$(OutDir)\PowerToys.EnvironmentVariablesUILib.pdb" Pack="True" PackageCopyToOutput="true" PackagePath="lib/$(TargetFramework)" /> 30 31 <None Include="Assets\**\*.png" Pack="true" PackageCopyToOutput="true" PackagePath="contentFiles\any\$(TargetFramework)\Assets"/> 32 <None Include="Assets\**\*.ico" Pack="true" PackageCopyToOutput="true" PackagePath="contentFiles\any\$(TargetFramework)\Assets"/> 33 </ItemGroup> 34 35 <ItemGroup> 36 <Content Remove="Assets\**\*.png" Pack="false" /> 37 <Content Remove="Assets\**\*.ico" Pack="false" /> 38 </ItemGroup> 39 40 <ItemGroup> 41 <PackageReference Include="Microsoft.Extensions.Hosting" /> 42 <PackageReference Include="Microsoft.WindowsAppSDK" /> 43 <PackageReference Include="Microsoft.Windows.SDK.BuildTools" /> 44 <PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" /> 45 <PackageReference Include="CommunityToolkit.Mvvm" /> 46 <PackageReference Include="CommunityToolkit.WinUI.Controls.SettingsControls" /> 47 <PackageReference Include="CommunityToolkit.WinUI.Controls.Segmented" /> 48 <PackageReference Include="CommunityToolkit.WinUI.Controls.Primitives" /> 49 <PackageReference Include="CommunityToolkit.WinUI.Converters" /> 50 <PackageReference Include="CommunityToolkit.WinUI.Controls.Sizers" /> 51 <PackageReference Include="System.IO.Abstractions" /> 52 <!-- HACK: To make sure the version pulled in by Microsoft.Extensions.Hosting is current. --> 53 <PackageReference Include="System.Text.Json" /> 54 <Manifest Include="$(ApplicationManifest)" /> 55 </ItemGroup> 56 57 </Project>