ProcessMonitorExtension.csproj
1 <Project Sdk="Microsoft.NET.Sdk"> 2 <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" /> 3 <PropertyGroup> 4 <OutputType>WinExe</OutputType> 5 <RootNamespace>ProcessMonitorExtension</RootNamespace> 6 <ApplicationManifest>app.manifest</ApplicationManifest> 7 <PublishProfile>win-$(Platform).pubxml</PublishProfile> 8 <UseWinUI>false</UseWinUI> 9 <EnableMsixTooling>true</EnableMsixTooling> 10 <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPalExtensions\$(RootNamespace)</OutputPath> 11 <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> 12 <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> 13 </PropertyGroup> 14 15 <ItemGroup> 16 <Content Include="Assets\SplashScreen.scale-200.png" /> 17 <Content Include="Assets\LockScreenLogo.scale-200.png" /> 18 <Content Include="Assets\Square150x150Logo.scale-200.png" /> 19 <Content Include="Assets\Square44x44Logo.scale-200.png" /> 20 <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> 21 <Content Include="Assets\StoreLogo.png" /> 22 <Content Include="Assets\Wide310x150Logo.scale-200.png" /> 23 </ItemGroup> 24 25 <ItemGroup> 26 <Manifest Include="$(ApplicationManifest)" /> 27 </ItemGroup> 28 29 <ItemGroup> 30 <ProjectReference Include="..\..\extensionsdk\Microsoft.CommandPalette.Extensions.Toolkit\Microsoft.CommandPalette.Extensions.Toolkit.csproj"> 31 </ProjectReference> 32 </ItemGroup> 33 34 <ItemGroup> 35 <PackageReference Include="Microsoft.WindowsAppSDK" /> 36 </ItemGroup> 37 38 <!-- 39 Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging 40 Tools extension to be activated for this project even if the Windows App SDK Nuget 41 package has not yet been restored. 42 --> 43 <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> 44 <ProjectCapability Include="Msix" /> 45 </ItemGroup> 46 47 <!-- 48 Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution 49 Explorer "Package and Publish" context menu entry to be enabled for this project even if 50 the Windows App SDK Nuget package has not yet been restored. 51 --> 52 <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> 53 <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> 54 </PropertyGroup> 55 </Project>