/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.Shell/Microsoft.CmdPal.Ext.Shell.csproj
59 строк
2 KB
Mike Griese
CmdPal: Use RepoRoot instead of SolutionDir (#49643)
04 авг 2026, 17:17
Не верифицирован
04 авг 2026, 17:17
d04ebff
Код
Авторство
О чём код?
<Project Sdk="Microsoft.NET.Sdk"> <Import Project="..\..\..\..\Common.Dotnet.CsWinRT.props" /> <Import Project="..\..\..\..\Common.Dotnet.AotCompatibility.props" /> <PropertyGroup> <RootNamespace>Microsoft.CmdPal.Ext.Shell</RootNamespace> <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps\CmdPal</OutputPath> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <CsWin32RunAsBuildTask>true</CsWin32RunAsBuildTask> <DisableRuntimeMarshalling>true</DisableRuntimeMarshalling> </PropertyGroup> <ItemGroup> <None Remove="Assets\Run.svg" /> </ItemGroup> <ItemGroup> <PackageReference Include="System.CommandLine" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\Microsoft.CmdPal.Common\Microsoft.CmdPal.Common.csproj" /> </ItemGroup> <ItemGroup> <PackageReference Include="Microsoft.Windows.CsWin32"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> </PackageReference> <PackageReference Include="Microsoft.WindowsAppSDK" /> <PackageReference Include="Microsoft.Web.WebView2" /> <!-- This line forces the WebView2 version used by Windows App SDK to be the one we expect from Directory.Packages.props . --> </ItemGroup> <ItemGroup> <Compile Update="Properties\Resources.Designer.cs"> <DependentUpon>Resources.resx</DependentUpon> <DesignTime>True</DesignTime> <AutoGen>True</AutoGen> </Compile> </ItemGroup> <ItemGroup> <Content Update="Assets\Run.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> <Content Update="Assets\Run.svg"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> </ItemGroup> <ItemGroup> <EmbeddedResource Update="Properties\Resources.resx"> <LastGenOutput>Resources.Designer.cs</LastGenOutput> <Generator>PublicResXFileCodeGenerator</Generator> </EmbeddedResource> </ItemGroup> </Project>