Skip to content

Commit 079bac4

Browse files
authored
Use updated Hermes NuGet package in the examples (microsoft#114)
1 parent 1331a81 commit 079bac4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

examples/hermes-engine/NuGet.config

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
<packageSources>
44
<clear />
55
<add key="local" value="../../out/pkg" />
6-
<!-- Uncomment to compile example -->
7-
<!-- <add key="react-native" value="https://pkgs.dev.azure.com/ms/react-native/_packaging/react-native-public/nuget/v3/index.json" /> -->
8-
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
6+
<add key="react-native" value="https://pkgs.dev.azure.com/ms/react-native/_packaging/react-native-public/nuget/v3/index.json" />
97
</packageSources>
108
<disabledPackageSources>
119
<clear />

examples/hermes-engine/hermes-engine.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.JavaScript.NodeApi" Version="0.2.*-*" PrivateAssets="all" />
15-
<PackageReference Include="Microsoft.JavaScript.Hermes" Version="0.1.4" IncludeAssets="none" PrivateAssets="build;native;runtime" />
15+
<PackageReference Include="Microsoft.JavaScript.Hermes" Version="0.1.6" PrivateAssets="all" />
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<None Include="$(PkgMicrosoft_JavaScript_Hermes)\lib\native\win32\x64\hermes.dll" CopyToOutputDirectory="PreserveNewest" />
19+
<None Include="$(PkgMicrosoft_JavaScript_Hermes)\build\native\win32\x64\hermes.dll" CopyToOutputDirectory="PreserveNewest" />
2020
</ItemGroup>
2121

2222
</Project>

0 commit comments

Comments
 (0)