|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="$(SolutionDir)\ExperimentalFeatures.props" Condition="Exists('$(SolutionDir)\ExperimentalFeatures.props')" /> |
| 4 | + <PropertyGroup> |
| 5 | + <ProjectGuid>{2885eb41-bf53-483b-87d8-960bcf06da00}</ProjectGuid> |
| 6 | + <DefaultLanguage>en-US</DefaultLanguage> |
| 7 | + <EntryPointProjectUniqueName>..\DittoReactNativeSampleApp\DittoReactNativeSampleApp.vcxproj</EntryPointProjectUniqueName> |
| 8 | + <DebuggerType>NativeOnly</DebuggerType> |
| 9 | + <BackgroundTaskDebugEngines>NativeOnly</BackgroundTaskDebugEngines> |
| 10 | + </PropertyGroup> |
| 11 | + <PropertyGroup Label="ReactNativeWindowsProps"> |
| 12 | + <ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir> |
| 13 | + </PropertyGroup> |
| 14 | + <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.WindowsSdk.Default.props" /> |
| 15 | + <PropertyGroup> |
| 16 | + <WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath> |
| 17 | + </PropertyGroup> |
| 18 | + <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" /> |
| 19 | + <ItemGroup Label="ProjectConfigurations"> |
| 20 | + <ProjectConfiguration Include="Debug|x86"> |
| 21 | + <Configuration>Debug</Configuration> |
| 22 | + <Platform>x86</Platform> |
| 23 | + </ProjectConfiguration> |
| 24 | + <ProjectConfiguration Include="Release|x86"> |
| 25 | + <Configuration>Release</Configuration> |
| 26 | + <Platform>x86</Platform> |
| 27 | + </ProjectConfiguration> |
| 28 | + <ProjectConfiguration Include="Debug|x64"> |
| 29 | + <Configuration>Debug</Configuration> |
| 30 | + <Platform>x64</Platform> |
| 31 | + </ProjectConfiguration> |
| 32 | + <ProjectConfiguration Include="Release|x64"> |
| 33 | + <Configuration>Release</Configuration> |
| 34 | + <Platform>x64</Platform> |
| 35 | + </ProjectConfiguration> |
| 36 | + <ProjectConfiguration Include="Debug|ARM64"> |
| 37 | + <Configuration>Debug</Configuration> |
| 38 | + <Platform>ARM64</Platform> |
| 39 | + </ProjectConfiguration> |
| 40 | + <ProjectConfiguration Include="Release|ARM64"> |
| 41 | + <Configuration>Release</Configuration> |
| 42 | + <Platform>ARM64</Platform> |
| 43 | + </ProjectConfiguration> |
| 44 | + </ItemGroup> |
| 45 | + <ImportGroup Label="ReactNativeWindowsPropertySheets"> |
| 46 | + <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.props')" /> |
| 47 | + </ImportGroup> |
| 48 | + <ItemGroup> |
| 49 | + <AppxManifest Include="Package.appxmanifest"> |
| 50 | + <SubType>Designer</SubType> |
| 51 | + </AppxManifest> |
| 52 | + </ItemGroup> |
| 53 | + <ItemGroup> |
| 54 | + <Content Include="Images\SplashScreen.scale-200.png" /> |
| 55 | + <Content Include="Images\LockScreenLogo.scale-200.png" /> |
| 56 | + <Content Include="Images\Square150x150Logo.scale-200.png" /> |
| 57 | + <Content Include="Images\Square44x44Logo.scale-200.png" /> |
| 58 | + <Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" /> |
| 59 | + <Content Include="Images\StoreLogo.png" /> |
| 60 | + <Content Include="Images\Wide310x150Logo.scale-200.png" /> |
| 61 | + <Content Include="$(ProjectDir)..\..\node_modules\@dittolive\ditto\react-native\windows\dittoffi\libs\x86_64-pc-windows-msvc\dittoffi.dll" Condition="'$(Platform)'=='x64'"> |
| 62 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 63 | + <TargetPath>DittoReactNativeSampleApp\dittoffi.dll</TargetPath> |
| 64 | + </Content> |
| 65 | + <Content Include="$(ProjectDir)..\..\node_modules\@dittolive\ditto\react-native\windows\dittoffi\libs\i686-pc-windows-msvc\dittoffi.dll" Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x86'"> |
| 66 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 67 | + <TargetPath>DittoReactNativeSampleApp\dittoffi.dll</TargetPath> |
| 68 | + </Content> |
| 69 | + <Content Include="$(ProjectDir)..\..\node_modules\@dittolive\ditto\react-native\windows\dittoffi\libs\aarch64-pc-windows-msvc\dittoffi.dll" Condition="'$(Platform)'=='ARM64'"> |
| 70 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 71 | + <TargetPath>DittoReactNativeSampleApp\dittoffi.dll</TargetPath> |
| 72 | + </Content> |
| 73 | + </ItemGroup> |
| 74 | + <ItemGroup> |
| 75 | + <ProjectReference Include="..\DittoReactNativeSampleApp\DittoReactNativeSampleApp.vcxproj"> |
| 76 | + <SkipGetTargetFrameworkProperties>True</SkipGetTargetFrameworkProperties> |
| 77 | + </ProjectReference> |
| 78 | + </ItemGroup> |
| 79 | + <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" /> |
| 80 | + <ImportGroup Label="ReactNativeWindowsTargets"> |
| 81 | + <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.targets')" /> |
| 82 | + </ImportGroup> |
| 83 | + <Target Name="EnsureReactNativeWindowsTargets" BeforeTargets="PrepareForBuild"> |
| 84 | + <PropertyGroup> |
| 85 | + <ErrorText>This project references targets in your node_modules\react-native-windows folder that are missing. The missing file is {0}.</ErrorText> |
| 86 | + </PropertyGroup> |
| 87 | + <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.props'))" /> |
| 88 | + <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Composition.Package.targets'))" /> |
| 89 | + </Target> |
| 90 | +</Project> |
0 commit comments