165 lines
8.5 KiB
XML
165 lines
8.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup Label="ReactNativeWindowsProps">
|
|
<ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(SolutionDir), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{64171807-A036-45AC-84F4-54EB8F6FB1E5}</ProjectGuid>
|
|
<OutputType>winmdobj</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>RNViewShot</RootNamespace>
|
|
<AssemblyName>RNViewShot</AssemblyName>
|
|
<DefaultLanguage>en-US</DefaultLanguage>
|
|
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
|
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0</TargetPlatformVersion>
|
|
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
|
<MinimumVisualStudioVersion>16</MinimumVisualStudioVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<AllowCrossPlatformRetargeting>false</AllowCrossPlatformRetargeting>
|
|
<ReactNativeCodeGenEnabled>true</ReactNativeCodeGenEnabled>
|
|
<EnableTypeInfoReflection>false</EnableTypeInfoReflection>
|
|
<LangVersion>7.3</LangVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<OutputPath>bin\x86\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
|
|
<PlatformTarget>ARM</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\ARM\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
|
|
<PlatformTarget>ARM</PlatformTarget>
|
|
<OutputPath>bin\ARM\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
|
|
<PlatformTarget>ARM64</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\ARM64\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
|
|
<PlatformTarget>ARM64</PlatformTarget>
|
|
<OutputPath>bin\ARM64\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="ReactPackageProvider.cs" />
|
|
<Compile Include="RNViewShotModule.cs" />
|
|
<Compile Include="ViewShot.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
|
<Version>6.2.11</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
|
<VisualStudioVersion>14.0</VisualStudioVersion>
|
|
</PropertyGroup>
|
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
|
|
<ImportGroup Label="ReactNativeWindowsPropertySheets">
|
|
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.props')" />
|
|
</ImportGroup>
|
|
<ImportGroup Label="ReactNativeWindowsTargets">
|
|
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.targets')" />
|
|
</ImportGroup>
|
|
<Target Name="EnsureReactNativeWindowsTargets" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>This project references targets in your node_modules\react-native-windows folder that are missing. The missing file is {0}.</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.props'))" />
|
|
<Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CSharpLib.targets'))" />
|
|
</Target>
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
</Project>
|