-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
47 lines (40 loc) · 3.17 KB
/
Copy pathDirectory.Build.props
File metadata and controls
47 lines (40 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!--
Projects external to the `react-native-windows` package will resolve RNW to
`<root>/node_nodules/react-native-windows`, which is inconsistent from the
`<root>/vnext/react-native-windows` $(MSBuildThisFileDirectory) resolves to
inside of the package (only when in our repository). Ensure the same name
is used by external projects to avoid MSBuild from seeing multiple projects.
-->
<PropertyGroup>
<ReactNativeWindowsDir>$(MSBuildThisFileDirectory)vnext\</ReactNativeWindowsDir>
<Platform Condition="'$(Platform)' == ''">x64</Platform>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<RootIntDir>$(ReactNativeWindowsDir)build</RootIntDir>
<RootOutDir>$(ReactNativeWindowsDir)target</RootOutDir>
<!-- Visual Studio forces using 'Win32' for the 'x86' platform. -->
<BaseIntDir Condition="'$(Platform)' == 'Win32'">$(RootIntDir)\x86\$(Configuration)</BaseIntDir>
<BaseIntDir Condition="'$(Platform)' != 'Win32'">$(RootIntDir)\$(Platform)\$(Configuration)</BaseIntDir>
<BaseOutDir Condition="'$(Platform)' == 'Win32'">$(RootOutDir)\x86\$(Configuration)</BaseOutDir>
<BaseOutDir Condition="'$(Platform)' != 'Win32'">$(RootOutDir)\$(Platform)\$(Configuration)</BaseOutDir>
<ReactNativeYarnIntDir>$(RootIntDir)\yarn_install\</ReactNativeYarnIntDir>
</PropertyGroup>
<PropertyGroup Label="NuGet">
<MSBuildProjectExtensionsPath Condition="'$(ProjectName)' != ''">$(RootIntDir)\ProjectExtensions\$(ProjectName)\</MSBuildProjectExtensionsPath>
<MSBuildProjectExtensionsPath Condition="'$(ProjectName)' == ''">$(RootIntDir)\ProjectExtensions\$(MSBuildProjectName)\</MSBuildProjectExtensionsPath>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<!-- Force Microsoft.NETCore.UniversalWindowsPlatform / runtime.win10-* to restore from the
feed by pointing the UWP fallback folder at an empty dir. The machine-local Windows SDK
copy is signed differently per SDK build, so its lock hashes never match across dev/CI
(NU1403). Build-time .NET Native injection is unaffected (it reads the SDK folder directly). -->
<UWPNugetRepo>$(MSBuildThisFileDirectory).nuget\empty-uwp-fallback</UWPNugetRepo>
<RestorePackagesWithLockFile Condition="'$(RestorePackagesWithLockFile)' == ''">true</RestorePackagesWithLockFile>
<!-- RestoreLockedMode (enforce the committed lock) and RestoreForceEvaluate (regenerate it) are mutually exclusive; enabling both trips NU1512. Local builds default to force-evaluate so the lock stays fresh, and CI passes RestoreLockedMode=true to enforce it instead. -->
<RestoreLockedMode Condition="'$(RestoreLockedMode)' == ''">false</RestoreLockedMode>
<RestoreForceEvaluate Condition="'$(RestoreForceEvaluate)' == '' AND '$(RestoreLockedMode)' == 'true'">false</RestoreForceEvaluate>
<RestoreForceEvaluate Condition="'$(RestoreForceEvaluate)' == ''">true</RestoreForceEvaluate>
</PropertyGroup>
<!-- User overrides -->
<Import Project="$(MSBuildThisFileDirectory)Directory.Build.local.props" Condition="Exists('$(MSBuildThisFileDirectory)Directory.Build.local.props')" />
</Project>