Skip to content

Commit 8bd0b41

Browse files
authored
fix(windows): Resolve Missing Deploy Target (#1716 by @chiaramooney)
1 parent 74872a1 commit 8bd0b41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

windows/ReactNativeWebView/ReactNativeWebView.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,12 @@
153153
<ImportGroup Label="ExtensionTargets">
154154
<Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets')" />
155155
</ImportGroup>
156+
<Target Name="Deploy"/>
156157
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
157158
<PropertyGroup>
158159
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
159160
</PropertyGroup>
160161
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props'))" />
161162
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.targets'))" />
162163
</Target>
163-
</Project>
164+
</Project>

0 commit comments

Comments
 (0)