/ src / modules / cmdpal / ext / Microsoft.CmdPal.Ext.TimeDate / Microsoft.CmdPal.Ext.TimeDate.csproj
Microsoft.CmdPal.Ext.TimeDate.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  
 6    <PropertyGroup>
 7      <RootNamespace>Microsoft.CmdPal.Ext.TimeDate</RootNamespace>
 8      <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPal</OutputPath>
 9      <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
10      <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
11      <!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri -->
12      <ProjectPriFileName>Microsoft.CmdPal.Ext.TimeDate.pri</ProjectPriFileName>
13    </PropertyGroup>
14  
15    <ItemGroup>
16      <EmbeddedResource Update="Properties\Resources.resx">
17        <LastGenOutput>Resources.Designer.cs</LastGenOutput>
18        <Generator>PublicResXFileCodeGenerator</Generator>
19        <CustomToolNamespace>Microsoft.CmdPal.Ext.TimeDate</CustomToolNamespace>
20      </EmbeddedResource>
21    </ItemGroup>
22  
23    <ItemGroup>
24      <ProjectReference Include="..\..\..\..\common\ManagedCommon\ManagedCommon.csproj" />
25      <!-- CmdPal Toolkit reference now included via Common.ExtDependencies.props -->
26    </ItemGroup>
27  
28    <ItemGroup>
29      <Compile Update="Properties\Resources.Designer.cs">
30        <DesignTime>True</DesignTime>
31        <AutoGen>True</AutoGen>
32        <DependentUpon>Resources.resx</DependentUpon>
33      </Compile>
34    </ItemGroup>
35  
36    <ItemGroup>
37      <None Remove="Assets\TimeDate.png" />
38      <None Remove="Assets\TimeDate.svg" />
39    </ItemGroup>
40  
41    <ItemGroup>
42      <Content Update="Assets\TimeDate.png">
43        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
44      </Content>
45      <Content Update="Assets\TimeDate.svg">
46        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
47      </Content>
48    </ItemGroup>
49  </Project>