mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
* Add populated Directory.Packages.props * Add package source mapping for community toolkit * Remove package versions from Settings projects * Remove package versions from PT Run plugin projects * Remove package versions from PreviewPane projects * Remove package versions from Launcher projects * Remove package versions from Common projects * Remove package versions from Hosts * Remove package versions from PowerAccent projects * Remove package versions from ImageResizer projects * Remove package versions from Awake * Remove package versions from ColorPicker projects * Remove package versions from FancyZones * Remove package versions from FileLocksmith * Remove package versions from MeasureToolUI * Remove package versions from PowerOCR * Remove package versions from Analyzers entries * Try fix release CI with packageSourceMapping * Actually use PowerToys dependencies source for labs
76 lines
3.3 KiB
XML
76 lines
3.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<AssemblyTitle>PowerToys.GcodePreviewHandler</AssemblyTitle>
|
|
<AssemblyDescription>PowerToys GcodePreviewHandler</AssemblyDescription>
|
|
<Description>PowerToys GcodePreviewHandler</Description>
|
|
<DocumentationFile>$(SolutionDir)$(Platform)\$(Configuration)\modules\FileExplorerPreview\GcodePreviewPaneDocumentation.xml</DocumentationFile>
|
|
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\modules\FileExplorerPreview\</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
|
|
<AssemblyName>PowerToys.GcodePreviewHandler</AssemblyName>
|
|
<SelfContained>true</SelfContained>
|
|
</PropertyGroup>
|
|
|
|
<!-- SelfContained=true requires RuntimeIdentifier to be set -->
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)'=='ARM64'">
|
|
<RuntimeIdentifier>win10-arm64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<ProjectGuid>{805306FF-A562-4415-8DEF-E493BDC45918}</ProjectGuid>
|
|
<RootNamespace>Microsoft.PowerToys.PreviewHandler.Gcode</RootNamespace>
|
|
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\..\..\Version.props" />
|
|
|
|
<ItemGroup>
|
|
<Compile Update="GcodePreviewHandlerControl.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="Microsoft.Windows.CsWinRT" />
|
|
<PackageReference Include="System.IO.Abstractions" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\..\common\Common.UI\Common.UI.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>
|