2022-01-25 21:02:10 +01:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
2022-12-14 13:37:23 +01:00
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
|
<UseWindowsForms>true</UseWindowsForms>
|
2022-01-25 21:02:10 +01:00
|
|
|
<AssemblyTitle>PowerToys.MonacoPreviewHandler</AssemblyTitle>
|
|
|
|
|
<AssemblyDescription>PowerToys MonacoPreviewHandler</AssemblyDescription>
|
|
|
|
|
<Description>PowerToys MonacoPreviewHandler</Description>
|
2022-05-11 16:49:28 +01:00
|
|
|
<OutputPath>..\..\..\..\$(Platform)\$(Configuration)\modules\FileExplorerPreview\</OutputPath>
|
2022-01-25 21:02:10 +01:00
|
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
|
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
|
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
2022-05-19 14:02:08 +01:00
|
|
|
<GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
|
2022-05-11 16:49:28 +01:00
|
|
|
<RuntimeIdentifiers>win10-x64;win10-arm64</RuntimeIdentifiers>
|
2022-12-14 13:37:23 +01:00
|
|
|
<SelfContained>true</SelfContained>
|
2022-01-25 21:02:10 +01:00
|
|
|
</PropertyGroup>
|
2022-12-14 13:37:23 +01:00
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
|
2022-01-25 21:02:10 +01:00
|
|
|
<Import Project="..\..\..\Version.props" />
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<RootNamespace>Microsoft.PowerToys.PreviewHandler.Monaco</RootNamespace>
|
2022-12-01 09:40:41 -05:00
|
|
|
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
|
2022-01-25 21:02:10 +01:00
|
|
|
<AssemblyName>PowerToys.MonacoPreviewHandler</AssemblyName>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-05-11 13:35:18 +03:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
2022-01-25 21:02:10 +01:00
|
|
|
<WarningsAsErrors>;NU1605</WarningsAsErrors>
|
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
|
<NoWarn>1701;1702</NoWarn>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-10-26 14:02:31 +01:00
|
|
|
<!-- 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>
|
2022-11-29 14:41:22 -05:00
|
|
|
<!-- Disable missing comment warning. WinRT/C++ libraries added won't have comments on their reflections. -->
|
2022-10-26 14:02:31 +01:00
|
|
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
2022-12-14 13:37:23 +01:00
|
|
|
<OutputType>WinExe</OutputType>
|
2022-10-26 14:02:31 +01:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-01-25 21:02:10 +01:00
|
|
|
<ItemGroup>
|
2022-10-26 14:02:31 +01:00
|
|
|
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.0" />
|
2022-09-27 18:50:59 +02:00
|
|
|
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1343.22" />
|
2022-10-16 14:23:31 +02:00
|
|
|
<PackageReference Include="System.IO.Abstractions" Version="17.2.3" />
|
2022-01-25 21:02:10 +01:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2022-04-14 16:09:49 +02:00
|
|
|
<Compile Update="MonacoPreviewHandlerControl.cs" />
|
|
|
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
2022-01-25 21:02:10 +01:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2022-10-26 14:02:31 +01:00
|
|
|
<ProjectReference Include="..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
|
2022-01-25 21:02:10 +01:00
|
|
|
<ProjectReference Include="..\..\..\common\Common.UI\Common.UI.csproj" />
|
|
|
|
|
<ProjectReference Include="..\common\PreviewHandlerCommon.csproj" />
|
2022-04-14 16:09:49 +02:00
|
|
|
<ProjectReference Include="..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" />
|
2022-01-25 21:02:10 +01:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2022-04-14 16:09:49 +02:00
|
|
|
<None Update="index.html">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-01-25 21:02:10 +01:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2022-04-14 16:09:49 +02:00
|
|
|
<None Update="monacoSRC\**\*.*">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="customLanguages\**\*.*">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="monaco_languages.json">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-01-25 21:02:10 +01:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2022-04-14 16:09:49 +02:00
|
|
|
<None Update="monacoSpecialLanguages.js">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-01-25 21:02:10 +01:00
|
|
|
</ItemGroup>
|
2022-12-01 09:40:41 -05:00
|
|
|
|
2022-01-25 21:02:10 +01:00
|
|
|
</Project>
|