react-native-windows 0.0.0-canary.461 → 0.0.0-canary.462
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.ReactNative.Managed/packages.lock.json +1 -1
- package/{template/cs-app/proj/Directory.Build.props → PropertySheets/CppEnablePackageReferences.props} +0 -0
- package/PropertySheets/External/Microsoft.ReactNative.CSharp.PackageReferences.props +12 -0
- package/PropertySheets/External/{Microsoft.ReactNative.Uwp.CSharpApp.SourceReferences.targets → Microsoft.ReactNative.CSharp.ProjectReferences.props} +2 -2
- package/PropertySheets/External/Microsoft.ReactNative.Cpp.PackageReferences.props +12 -0
- package/PropertySheets/External/{Microsoft.ReactNative.Uwp.CppApp.SourceReferences.targets → Microsoft.ReactNative.Cpp.ProjectReferences.props} +1 -0
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CSharpApp.targets +4 -2
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CSharpLib.targets +5 -12
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CppApp.targets +4 -2
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CppLib.targets +5 -9
- package/PropertySheets/Generated/PackageVersion.g.props +1 -1
- package/package.json +2 -2
- package/template/shared-lib/proj/ExperimentalFeatures.props +29 -1
- package/template/cs-lib/proj/Directory.Build.props +0 -13
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"NETStandard.Library": {
|
|
64
64
|
"type": "Transitive",
|
|
65
65
|
"resolved": "2.0.3",
|
|
66
|
-
"contentHash": "
|
|
66
|
+
"contentHash": "548M6mnBSJWxsIlkQHfbzoYxpiYFXZZSL00p4GHYv8PkiqFBnnT68mW5mGEsA/ch9fDO9GkPgkFQpWiXZN7mAQ==",
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"Microsoft.NETCore.Platforms": "1.1.0"
|
|
69
69
|
}
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
Licensed under the MIT License.
|
|
5
|
+
-->
|
|
6
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
7
|
+
<!-- Only include Microsoft.ReactNative.* NuGet packages that C# (app and lib) projects need when using UseExperimentalNuget. -->
|
|
8
|
+
<ItemGroup>
|
|
9
|
+
<PackageReference Include="Microsoft.ReactNative" Version="$(ReactNativeWindowsVersion)" />
|
|
10
|
+
<PackageReference Include="Microsoft.ReactNative.Managed" Version="$(ReactNativeWindowsVersion)" />
|
|
11
|
+
</ItemGroup>
|
|
12
|
+
</Project>
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
<ProjectReference Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
|
|
10
10
|
<Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
|
|
11
11
|
<Name>Microsoft.ReactNative</Name>
|
|
12
|
+
<Private Condition="'$(ConfigurationType)' != 'Application'">false</Private>
|
|
12
13
|
</ProjectReference>
|
|
13
14
|
<ProjectReference Include="$(ReactNativeWindowsDir)Microsoft.ReactNative.Managed\Microsoft.ReactNative.Managed.csproj">
|
|
14
15
|
<Project>{F2824844-CE15-4242-9420-308923CD76C3}</Project>
|
|
15
16
|
<Name>Microsoft.ReactNative.Managed</Name>
|
|
17
|
+
<Private Condition="'$(ConfigurationType)' != 'Application'">false</Private>
|
|
16
18
|
</ProjectReference>
|
|
17
|
-
<!-- WinUI package name and version are set by WinUI.props -->
|
|
18
|
-
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" />
|
|
19
19
|
</ItemGroup>
|
|
20
20
|
</Project>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
Licensed under the MIT License.
|
|
5
|
+
-->
|
|
6
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
7
|
+
<!-- Only include Microsoft.ReactNative.* NuGet packages that C++ (app and lib) projects need when using UseExperimentalNuget. -->
|
|
8
|
+
<ItemGroup>
|
|
9
|
+
<PackageReference Include="Microsoft.ReactNative" Version="$(ReactNativeWindowsVersion)" />
|
|
10
|
+
<PackageReference Include="Microsoft.ReactNative.Cxx" Version="$(ReactNativeWindowsVersion)" />
|
|
11
|
+
</ItemGroup>
|
|
12
|
+
</Project>
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
<ProjectReference Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
|
|
14
14
|
<Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
|
|
15
15
|
<Name>Microsoft.ReactNative</Name>
|
|
16
|
+
<Private Condition="'$(ConfigurationType)' != 'Application'">false</Private>
|
|
16
17
|
</ProjectReference>
|
|
17
18
|
</ItemGroup>
|
|
18
19
|
</Project>
|
|
@@ -11,12 +11,14 @@
|
|
|
11
11
|
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.Common.targets" />
|
|
12
12
|
|
|
13
13
|
<!-- Due to visual studio unconditionally showing references, we have to trick it by making it impossible for VS to find the reference differences between building as source and building as NuGet -->
|
|
14
|
-
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.
|
|
15
|
-
|
|
14
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.CSharp.ProjectReferences.props" Condition="!$(UseExperimentalNuget)" />
|
|
15
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.CSharp.PackageReferences.props" Condition="$(UseExperimentalNuget)" />
|
|
16
16
|
|
|
17
17
|
<ItemGroup>
|
|
18
18
|
<!-- WinUI package name and version are set by WinUI.props -->
|
|
19
19
|
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" />
|
|
20
|
+
<!-- Hermes version is set by JSEngine.props -->
|
|
21
|
+
<PackageReference Include="ReactNative.Hermes.Windows" Version="$(HermesVersion)" Condition="$(UseHermes)" />
|
|
20
22
|
</ItemGroup>
|
|
21
23
|
|
|
22
24
|
<Import Project="$(ReactNativeWindowsDir)PropertySheets\ManagedCodeGen\Microsoft.ReactNative.Managed.CodeGen.targets"
|
|
@@ -10,24 +10,17 @@
|
|
|
10
10
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
11
11
|
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Common.targets" />
|
|
12
12
|
|
|
13
|
+
<!-- Due to visual studio unconditionally showing references, we have to trick it by making it impossible for VS to find the reference differences between building as source and building as NuGet -->
|
|
14
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.CSharp.ProjectReferences.props" Condition="!$(UseExperimentalNuget)" />
|
|
15
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.CSharp.PackageReferences.props" Condition="$(UseExperimentalNuget)" />
|
|
16
|
+
|
|
13
17
|
<ItemGroup>
|
|
14
18
|
<!-- WinUI package name and version are set by WinUI.props -->
|
|
15
19
|
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" />
|
|
16
20
|
</ItemGroup>
|
|
17
21
|
|
|
18
|
-
<ItemGroup>
|
|
19
|
-
<ProjectReference Include="$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
|
|
20
|
-
<Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
|
|
21
|
-
<Name>Microsoft.ReactNative</Name>
|
|
22
|
-
<Private>false</Private>
|
|
23
|
-
</ProjectReference>
|
|
24
|
-
<ProjectReference Include="$(ReactNativeWindowsDir)\Microsoft.ReactNative.Managed\Microsoft.ReactNative.Managed.csproj">
|
|
25
|
-
<Project>{F2824844-CE15-4242-9420-308923CD76C3}</Project>
|
|
26
|
-
<Name>Microsoft.ReactNative.Managed</Name>
|
|
27
|
-
<Private>false</Private>
|
|
28
|
-
</ProjectReference>
|
|
29
|
-
</ItemGroup>
|
|
30
22
|
<Target Name="Deploy" />
|
|
23
|
+
|
|
31
24
|
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\ManagedCodeGen\Microsoft.ReactNative.Managed.CodeGen.targets"
|
|
32
25
|
Condition="'$(ReactNativeCodeGenEnabled)' == 'true' and '$(UseExperimentalNuget)' != 'true'" />
|
|
33
26
|
|
|
@@ -11,12 +11,14 @@
|
|
|
11
11
|
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Common.targets" />
|
|
12
12
|
|
|
13
13
|
<!-- Due to visual studio unconditionally showing references, we have to trick it by making it impossible for VS to find the reference differences between building as source and building as NuGet -->
|
|
14
|
-
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.
|
|
15
|
-
|
|
14
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.Cpp.ProjectReferences.props" Condition="!$(UseExperimentalNuget)" />
|
|
15
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.Cpp.PackageReferences.props" Condition="$(UseExperimentalNuget)" />
|
|
16
16
|
|
|
17
17
|
<ItemGroup>
|
|
18
18
|
<!-- WinUI package name and version are set by WinUI.props -->
|
|
19
19
|
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" />
|
|
20
|
+
<!-- Hermes version is set by JSEngine.props -->
|
|
21
|
+
<PackageReference Include="ReactNative.Hermes.Windows" Version="$(HermesVersion)" Condition="$(UseHermes)" />
|
|
20
22
|
</ItemGroup>
|
|
21
23
|
|
|
22
24
|
<!-- The props file for bundling is not set up to be just defaults, it assumes to be run at the end of the project. -->
|
|
@@ -10,23 +10,19 @@
|
|
|
10
10
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
11
11
|
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Common.targets" />
|
|
12
12
|
|
|
13
|
+
<!-- Due to visual studio unconditionally showing references, we have to trick it by making it impossible for VS to find the reference differences between building as source and building as NuGet -->
|
|
14
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.Cpp.ProjectReferences.props" Condition="!$(UseExperimentalNuget)" />
|
|
15
|
+
<Import Project="$(ReactNativeWindowsDir)PropertySheets\External\Microsoft.ReactNative.Cpp.PackageReferences.props" Condition="$(UseExperimentalNuget)" />
|
|
16
|
+
|
|
13
17
|
<ItemGroup>
|
|
14
18
|
<!-- WinUI package name and version are set by WinUI.props -->
|
|
15
19
|
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" />
|
|
16
20
|
</ItemGroup>
|
|
17
21
|
|
|
18
|
-
<ImportGroup Condition="'$(UseExperimentalNuget)' == 'false'" Label="Shared">
|
|
19
|
-
<Import Project="$(ReactNativeWindowsDir)\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems" Label="Shared" />
|
|
20
|
-
</ImportGroup>
|
|
21
|
-
<ItemGroup Condition="'$(UseExperimentalNuget)' == 'false'">
|
|
22
|
-
<ProjectReference Include="$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
|
|
23
|
-
<Project>{f7d32bd0-2749-483e-9a0d-1635ef7e3136}</Project>
|
|
24
|
-
<Private>false</Private>
|
|
25
|
-
</ProjectReference>
|
|
26
|
-
</ItemGroup>
|
|
27
22
|
<Target Name="Deploy" />
|
|
28
23
|
|
|
29
24
|
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\RequireSolution.targets" />
|
|
25
|
+
|
|
30
26
|
<ItemDefinitionGroup>
|
|
31
27
|
<Reference>
|
|
32
28
|
<Private Condition="'$(ConfigurationType)' != 'Application'">false</Private>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.0.0-canary.
|
|
13
|
+
<ReactNativeWindowsVersion>0.0.0-canary.462</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>0</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.0.0-canary.
|
|
3
|
+
"version": "0.0.0-canary.462",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "^7.0.1",
|
|
27
27
|
"@react-native-community/cli-platform-android": "^7.0.1",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "^7.0.1",
|
|
29
|
-
"@react-native-windows/cli": "0.0.0-canary.
|
|
29
|
+
"@react-native-windows/cli": "0.0.0-canary.117",
|
|
30
30
|
"@react-native-windows/virtualized-list": "0.0.0-canary.30",
|
|
31
31
|
"@react-native/assets": "1.0.0",
|
|
32
32
|
"@react-native/normalize-color": "2.0.0",
|
|
@@ -4,7 +4,35 @@
|
|
|
4
4
|
<!--
|
|
5
5
|
Application projects contain a file with this name to specify some important settings
|
|
6
6
|
that will apply globally for the app and *all* native modules the app consumes. These
|
|
7
|
-
values are set by the app developer.
|
|
7
|
+
values are set by the app developer. However you can also set them here to test building
|
|
8
|
+
the library solution without an app.
|
|
8
9
|
-->
|
|
9
10
|
|
|
11
|
+
<PropertyGroup Label="Microsoft.ReactNative Experimental Features">
|
|
12
|
+
<!--
|
|
13
|
+
Enables default usage of Hermes.
|
|
14
|
+
|
|
15
|
+
See https://microsoft.github.io/react-native-windows/docs/hermes
|
|
16
|
+
-->
|
|
17
|
+
<UseHermes>{{useHermes}}</UseHermes>
|
|
18
|
+
|
|
19
|
+
<!--
|
|
20
|
+
Changes compilation to assume use of WinUI 3 instead of System XAML.
|
|
21
|
+
Requires creation of new project.
|
|
22
|
+
|
|
23
|
+
See https://microsoft.github.io/react-native-windows/docs/winui3
|
|
24
|
+
-->
|
|
25
|
+
<UseWinUI3>{{useWinUI3}}</UseWinUI3>
|
|
26
|
+
|
|
27
|
+
<!--
|
|
28
|
+
Changes compilation to assume use of Microsoft.ReactNative NuGet packages
|
|
29
|
+
instead of building the framework from source.
|
|
30
|
+
Requires creation of new project.
|
|
31
|
+
|
|
32
|
+
See https://microsoft.github.io/react-native-windows/docs/nuget
|
|
33
|
+
-->
|
|
34
|
+
<UseExperimentalNuget>{{useExperimentalNuget}}</UseExperimentalNuget>
|
|
35
|
+
|
|
36
|
+
</PropertyGroup>
|
|
37
|
+
|
|
10
38
|
</Project>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project>
|
|
3
|
-
|
|
4
|
-
<PropertyGroup Label="NuGet" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
|
|
5
|
-
<AssetTargetFallback>$(AssetTargetFallback);native</AssetTargetFallback>
|
|
6
|
-
<TargetFrameworkMoniker>native,Version=v0.0</TargetFrameworkMoniker>
|
|
7
|
-
</PropertyGroup>
|
|
8
|
-
|
|
9
|
-
<ItemGroup Label="NuGet" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
|
|
10
|
-
<ProjectCapability Include="PackageReferences" />
|
|
11
|
-
</ItemGroup>
|
|
12
|
-
|
|
13
|
-
</Project>
|