/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/awake/Awake/Awake.csproj
102 строки
4 KB
Gordon Lam
build(common): update project references to use $(RepoRoot) for paths (#44639)
07 фев 2026, 03:12
Не верифицирован
07 фев 2026, 03:12
740dbf5
Код
Авторство
О чём код?
<Project Sdk="Microsoft.NET.Sdk"> <!-- Look at Directory.Build.props in root for common stuff as well --> <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" /> <Import Project="$(RepoRoot)src\Common.SelfContained.props" /> <PropertyGroup> <OutputType>WinExe</OutputType> <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)</OutputPath> <Nullable>enable</Nullable> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> <UseWindowsForms>False</UseWindowsForms> <!--Per documentation: https://learn.microsoft.com/dotnet/core/compatibility/windows-forms/5.0/automatically-infer-winexe-output-type#outputtype-set-to-winexe-for-wpf-and-winforms-apps --> <DisableWinExeOutputInference>true</DisableWinExeOutputInference> <AssemblyName>PowerToys.Awake</AssemblyName> <ApplicationIcon>Assets\Awake\Awake.ico</ApplicationIcon> <PackageProjectUrl>https://awake.den.dev</PackageProjectUrl> <RepositoryUrl>https://github.com/microsoft/powertoys</RepositoryUrl> <GenerateAssemblyInfo>true</GenerateAssemblyInfo> </PropertyGroup> <!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component for more info --> <PropertyGroup> <CsWinRTIncludes>PowerToys.GPOWrapper</CsWinRTIncludes> <CsWinRTGeneratedFilesDir>$(OutDir)</CsWinRTGeneratedFilesDir> <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> <ApplicationManifest>app.manifest</ApplicationManifest> </PropertyGroup> <ItemGroup> <None Remove="Assets\Awake\Awake.ico" /> <None Remove="Assets\Awake\disabled.ico" /> <None Remove="Assets\Awake\expirable.ico" /> <None Remove="Assets\Awake\indefinite.ico" /> <None Remove="Assets\Awake\normal.ico" /> <None Remove="Assets\Awake\scheduled.ico" /> <None Remove="Assets\Awake\timed.ico" /> </ItemGroup> <ItemGroup> <PackageReference Include="System.CommandLine" /> <PackageReference Include="System.Reactive" /> <PackageReference Include="System.Runtime.Caching" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" /> <ProjectReference Include="..\..\..\common\interop\PowerToys.Interop.vcxproj" /> <ProjectReference Include="..\..\..\common\ManagedCommon\ManagedCommon.csproj" /> <ProjectReference Include="..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" /> </ItemGroup> <ItemGroup> <Compile Update="Program.cs"> <CopyToOutputDirectory>Never</CopyToOutputDirectory> </Compile> <Compile Update="Properties\Resources.Designer.cs"> <DesignTime>True</DesignTime> <AutoGen>True</AutoGen> <DependentUpon>Resources.resx</DependentUpon> </Compile> </ItemGroup> <ItemGroup> <Content Include="Assets\Awake\Awake.ico"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Assets\Awake\disabled.ico"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Assets\Awake\expirable.ico"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Assets\Awake\indefinite.ico"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Assets\Awake\normal.ico"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Assets\Awake\scheduled.ico"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Assets\Awake\timed.ico"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> <ItemGroup> <EmbeddedResource Update="Properties\Resources.resx"> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> </EmbeddedResource> </ItemGroup> <ItemGroup> <PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> </PackageReference> </ItemGroup> </Project>