/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/previewpane/BgcodePreviewHandler/BgcodePreviewHandler.csproj
65 строк
3 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> <ImplicitUsings>enable</ImplicitUsings> <UseWindowsForms>true</UseWindowsForms> <AssemblyTitle>PowerToys.BgcodePreviewHandler</AssemblyTitle> <AssemblyDescription>PowerToys BgcodePreviewHandler</AssemblyDescription> <Description>PowerToys BgcodePreviewHandler</Description> <DocumentationFile>..\..\..\..\$(Platform)\$(Configuration)\BgcodePreviewPaneDocumentation.xml</DocumentationFile> <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)</OutputPath> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore> <AssemblyName>PowerToys.BgcodePreviewHandler</AssemblyName> <ProjectGuid>{9E0CBC06-F29A-4810-B93C-97D53863B95E}</ProjectGuid> <RootNamespace>Microsoft.PowerToys.PreviewHandler.Bgcode</RootNamespace> <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode> </PropertyGroup> <ItemGroup> <Compile Update="BgcodePreviewHandlerControl.cs" /> <Compile Update="Properties\Resource.Designer.cs"> <DesignTime>True</DesignTime> <AutoGen>True</AutoGen> <DependentUpon>Resource.resx</DependentUpon> </Compile> </ItemGroup> <!-- 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> </PropertyGroup> <PropertyGroup> <!-- Disable missing comment warning. WinRT/C++ libraries added won't have comments on their reflections. --> <NoWarn>$(NoWarn);1591</NoWarn> <OutputType>WinExe</OutputType> </PropertyGroup> <ItemGroup> <PackageReference Include="System.IO.Abstractions" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\..\common\Common.UI\Common.UI.csproj" /> <ProjectReference Include="..\..\..\common\FilePreviewCommon\FilePreviewCommon.csproj" /> <ProjectReference Include="..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" /> <ProjectReference Include="..\..\..\common\interop\PowerToys.Interop.vcxproj" /> <ProjectReference Include="..\..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" /> <ProjectReference Include="..\common\PreviewHandlerCommon.csproj" /> </ItemGroup> <ItemGroup> <EmbeddedResource Update="Properties\Resource.resx"> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resource.Designer.cs</LastGenOutput> </EmbeddedResource> </ItemGroup> </Project>