/ src / modules / cmdpal / ext / Microsoft.CmdPal.Ext.Apps / Microsoft.CmdPal.Ext.Apps.csproj
Microsoft.CmdPal.Ext.Apps.csproj
 1  <Project Sdk="Microsoft.NET.Sdk">
 2    <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
 3    <Import Project="$(RepoRoot)src\Common.Dotnet.AotCompatibility.props" />
 4    <Import Project="..\Common.ExtDependencies.props" />
 5    <PropertyGroup>
 6      <RootNamespace>Microsoft.CmdPal.Ext.Apps</RootNamespace>
 7      <Nullable>enable</Nullable>
 8      <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPal</OutputPath>
 9      <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
10      <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
11  	  <DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
12  
13      <!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri -->
14      <ProjectPriFileName>Microsoft.CmdPal.Ext.Apps.pri</ProjectPriFileName>
15    </PropertyGroup>
16  
17    <ItemGroup>
18      <PackageReference Include="System.IO.Abstractions" />
19      <PackageReference Include="Microsoft.Windows.CsWin32">
20        <PrivateAssets>all</PrivateAssets>
21        <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
22      </PackageReference>
23  
24      <PackageReference Include="WyHash" />
25  
26      <ProjectReference Include="..\..\..\..\common\ManagedCommon\ManagedCommon.csproj" />
27      <ProjectReference Include="..\..\..\..\common\ManagedCsWin32\ManagedCsWin32.csproj" />
28      <ProjectReference Include="..\..\Core\Microsoft.CmdPal.Core.Common\Microsoft.CmdPal.Core.Common.csproj" />
29      <!-- CmdPal Toolkit reference now included via Common.ExtDependencies.props -->
30    </ItemGroup>
31  
32    <ItemGroup>
33      <Compile Update="Properties\Resources.Designer.cs">
34        <DesignTime>True</DesignTime>
35        <AutoGen>True</AutoGen>
36        <DependentUpon>Resources.resx</DependentUpon>
37      </Compile>
38    </ItemGroup>
39  
40    <ItemGroup>
41  	  <None Remove="Assets\AllApps.png" />
42      <None Remove="Assets\AllApps.svg" />
43    </ItemGroup>
44    <ItemGroup>
45      <Content Update="Assets\AllApps.png">
46        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
47      </Content>
48      <Content Update="Assets\AllApps.svg">
49        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
50      </Content>
51    </ItemGroup>
52  
53    <ItemGroup>
54      <EmbeddedResource Update="Properties\Resources.resx">
55        <Generator>ResXFileCodeGenerator</Generator>
56        <LastGenOutput>Resources.Designer.cs</LastGenOutput>
57      </EmbeddedResource>
58    </ItemGroup>
59  
60    <ItemGroup>
61      <AdditionalFiles Include="NativeMethods.txt" />
62      <AdditionalFiles Include="NativeMethods.json" />
63    </ItemGroup>
64  </Project>