2019-02-13 22:47:56 +03:00
<?xml version="1.0" encoding="utf-8"?>
<Project>
2020-11-13 20:31:39 +03:00
<!-- This import will noop when customer code is built. This import is here to help building the bits in the react-native-windows repository. -->
2020-05-29 00:23:39 +03:00
<Import Condition="Exists($([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../')))" Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
2019-08-21 01:24:13 +03:00
2019-02-13 22:47:56 +03:00
<PropertyGroup>
2021-06-17 23:52:54 +03:00
<SolutionDir Condition="'$(SolutionDir)' == '' OR '$(SolutionDir)' == '*Undefined*'">$(MSBuildThisFileDirectory)</SolutionDir>
2019-02-13 22:47:56 +03:00
2020-05-29 00:23:39 +03:00
<!-- This property sets the CscTask to print the full path of the csharp file on errors and warnings rather than just the filename. -->
<GenerateFullPaths>true</GenerateFullPaths>
2020-07-17 18:32:29 +03:00
2021-12-04 10:19:47 +03:00
<!--
2020-07-17 18:32:29 +03:00
SourceLink is disabled by default since customer projects are still building our projects and therefore we don't want to force customers to use this.
The PR (windows-vs-pr.yml) and CI (publish.yml() turn it back on.
-->
<EnableSourceLink Condition="'$(EnableSourceLink)' == ''">false</EnableSourceLink>
2022-08-02 00:52:39 +03:00
<!-- When bumping the Folly version, be sure to bump the git hash of that version's commit and build Folly.vcxproj (to update its cgmanifest.json) too. -->
2024-02-02 00:35:13 +03:00
<FollyVersion>2023.11.06.00</FollyVersion>
<FollyCommitHash>d62707bf4dc8c58bcc317260611b8cbe25c7f444</FollyCommitHash>
2022-08-02 00:52:39 +03:00
<!-- When bumping the fmt version, be sure to bump the git hash of that version's commit and build fmt.vcxproj (to update its cgmanifest.json) too. -->
2023-11-16 20:52:28 +03:00
<FmtVersion>10.1.0</FmtVersion>
<FmtCommitHash>ca2e3685b160617d3d95fcd9e789c4e06ca88</FmtCommitHash>
2023-06-13 07:45:47 +03:00
<!-- Commit hash for https://github.com/microsoft/node-api-jsi code. -->
2024-01-23 00:01:09 +03:00
<NodeApiJsiCommitHash>83cfef428a97627c9185c73da097e42742de56eb</NodeApiJsiCommitHash>
2019-02-13 22:47:56 +03:00
</PropertyGroup>
2023-04-08 00:20:56 +03:00
<!--
IMPORTANT: Traversals left in a directory will break some tools like midl, but we also cannot call
[MSBuild]::NormalizeDirectory on relative paths since cwd is not always correct. This logic should prefer to operate
on full paths and avoid extra normalization.
-->
2024-03-21 01:42:33 +03:00
<PropertyGroup Label="NodeNativeDeps" Condition="'$(IgnoreNodeNativeDeps)' != 'true'">
2023-04-08 00:20:56 +03:00
<ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$(MSBuildThisFileDirectory)</ReactNativeWindowsDir>
<ReactNativeDir Condition="'$(ReactNativeDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native\package.json'))\node_modules\react-native\</ReactNativeDir>
<YogaDir Condition="'$(YogaDir)' == ''">$(ReactNativeDir)ReactCommon\yoga</YogaDir>
<FollyDir Condition="'$(FollyDir)' == '' AND Exists('$([MSBuild]::NormalizeDirectory($(ReactNativeDir)..\..\node_modules))')">$(ReactNativeDir)..\..\node_modules\.folly\folly-$(FollyVersion)</FollyDir>
<FollyDir>$([MSBuild]::NormalizeDirectory($(FollyDir)))</FollyDir>
<FmtDir Condition="'$(FmtDir)' == '' AND Exists('$([MSBuild]::NormalizeDirectory($(ReactNativeDir)..\..\node_modules))')">$(ReactNativeDir)..\..\node_modules\.fmt\fmt-$(FmtVersion)</FmtDir>
<FmtDir>$([MSBuild]::NormalizeDirectory($(FmtDir)))</FmtDir>
2023-06-13 07:45:47 +03:00
<NodeApiJsiDir Condition="'$(NodeApiJsiDir)' == '' AND Exists('$([MSBuild]::NormalizeDirectory($(ReactNativeDir)..\..\node_modules))')">$(ReactNativeDir)..\..\node_modules\.node-api-jsi\node-api-jsi-$(NodeApiJsiCommitHash)</NodeApiJsiDir>
<NodeApiJsiDir>$([MSBuild]::NormalizeDirectory($(NodeApiJsiDir)))</NodeApiJsiDir>
2023-04-08 00:20:56 +03:00
</PropertyGroup>
2019-02-13 22:47:56 +03:00
<PropertyGroup Label="Configuration">
<ProjectName Condition="'$(ProjectName)'==''">$(MSBuildProjectName)</ProjectName>
2021-12-04 10:19:47 +03:00
<RootIntDir Condition="'$(RootIntDir)' == ''">$(ReactNativeWindowsDir)build</RootIntDir>
<RootOutDir Condition="'$(RootOutDir)' == ''">$(ReactNativeWindowsDir)target</RootOutDir>
<!-- Visual Studio forces using 'Win32' for the 'x86' platform. -->
<BaseIntDir Condition="'$(BaseIntDir)' == '' AND '$(Platform)' == 'Win32'">$(RootIntDir)\x86\$(Configuration)</BaseIntDir>
<BaseIntDir Condition="'$(BaseIntDir)' == '' AND '$(Platform)' != 'Win32'">$(RootIntDir)\$(Platform)\$(Configuration)</BaseIntDir>
<BaseOutDir Condition="'$(BaseOutDir)' == '' AND '$(Platform)' == 'Win32'">$(RootOutDir)\x86\$(Configuration)</BaseOutDir>
<BaseOutDir Condition="'$(BaseOutDir)' == '' AND '$(Platform)' != 'Win32'">$(RootOutDir)\$(Platform)\$(Configuration)</BaseOutDir>
<IntDir Condition="'$(ProjectName)' != ''">$(BaseIntDir)\$(ProjectName)\</IntDir>
<IntDir Condition="'$(ProjectName)' == ''">$(BaseIntDir)\$(MSBuildProjectName)\</IntDir>
<OutDir Condition="'$(ProjectName)' != ''">$(BaseOutDir)\$(ProjectName)\</OutDir>
<OutDir Condition="'$(ProjectName)' == ''">$(BaseOutDir)\$(MSBuildProjectName)\</OutDir>
<PublishDir>$(OutDir)\Publish\</PublishDir>
<GeneratedFilesDir>$(IntDir)Generated Files\</GeneratedFilesDir>
2022-03-05 11:35:13 +03:00
<IntermediateOutputPath Condition="'$(MSBuildProjectExtension)' == '.csproj'">$(IntDir)</IntermediateOutputPath>
<OutputPath Condition="'$(MSBuildProjectExtension)' == '.csproj'">$(OutDir)</OutputPath>
2023-08-12 01:58:36 +03:00
<RestorePackagesWithLockFile Condition="'$(RestorePackagesWithLockFile)' == ''">true</RestorePackagesWithLockFile>
<RestoreForceEvaluate Condition="'$(RestoreForceEvaluate)' == ''">false</RestoreForceEvaluate>
2019-02-13 22:47:56 +03:00
</PropertyGroup>
2021-12-28 03:27:30 +03:00
<PropertyGroup Label="NuGet" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
2023-06-01 20:40:01 +03:00
<!-- See https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target -->
<!-- RestoreUseStaticGraphEvaluation broke in VS 17.6, see https://github.com/microsoft/react-native-windows/issues/11670 -->
<RestoreUseStaticGraphEvaluation Condition="'$(BuildingInsideVisualStudio)' == 'true' AND $([MSBuild]::VersionLessThan('$(MSBuildVersion)', '17.6')) AND '$(DisableRestoreUseStaticGraphEvaluation)' != 'true'">true</RestoreUseStaticGraphEvaluation>
2021-12-28 03:27:30 +03:00
</PropertyGroup>
2024-03-21 01:42:33 +03:00
</Project>