Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 63afcba

Browse files
rozeleitoys
authored andcommitted
fix(NuGet): align NuGet dependencies with react-native-windows (#1209)
Switching to .csproj-based NuGet package references and updating to match the current dependencies for react-native-windows. Towards microsoft/react-native-windows#1644
1 parent 8082867 commit 63afcba

File tree

3 files changed

+13
-24
lines changed

3 files changed

+13
-24
lines changed

windows/CodePush.Net46/CodePush.Net46.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,11 @@
8686
<None Include="packages.config" />
8787
</ItemGroup>
8888
<ItemGroup>
89-
<ProjectReference Include="..\..\react-native-windows\ReactWindows\ReactNative.Net46\ReactNative.Net46.csproj">
89+
<ProjectReference Include="..\..\..\react-native-windows\ReactWindows\ReactNative.Net46\ReactNative.Net46.csproj">
9090
<Project>{22cbff9c-fe36-43e8-a246-266c7635e662}</Project>
9191
<Name>ReactNative.Net46</Name>
9292
</ProjectReference>
9393
</ItemGroup>
94-
<ItemGroup />
9594
<Import Project="..\CodePush.Shared\CodePush.Shared.projitems" Label="Shared" />
9695
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
9796
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

windows/CodePush/CodePush.csproj

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@
8383
<UseVSHostingProcess>false</UseVSHostingProcess>
8484
<ErrorReport>prompt</ErrorReport>
8585
</PropertyGroup>
86-
<ItemGroup>
87-
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
88-
<None Include="project.json" />
89-
</ItemGroup>
86+
<PropertyGroup>
87+
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
88+
</PropertyGroup>
9089
<ItemGroup>
9190
<Compile Include="UpdateManager.cs" />
9291
<Compile Include="UpdateUtils.cs" />
@@ -101,11 +100,19 @@
101100
</SDKReference>
102101
</ItemGroup>
103102
<ItemGroup>
104-
<ProjectReference Include="..\..\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj">
103+
<ProjectReference Include="..\..\..\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj">
105104
<Project>{c7673ad5-e3aa-468c-a5fd-fa38154e205c}</Project>
106105
<Name>ReactNative</Name>
107106
</ProjectReference>
108107
</ItemGroup>
108+
<ItemGroup>
109+
<PackageReference Include="Newtonsoft.Json">
110+
<Version>10.0.3</Version>
111+
</PackageReference>
112+
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
113+
<Version>6.0.6</Version>
114+
</PackageReference>
115+
</ItemGroup>
109116
<Import Project="..\CodePush.Shared\CodePush.Shared.projitems" Label="Shared" />
110117
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
111118
<VisualStudioVersion>14.0</VisualStudioVersion>

windows/CodePush/project.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)