From 75b6ccd7bc0cfec649efb8a5818636e03a29f735 Mon Sep 17 00:00:00 2001 From: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:40:03 +0100 Subject: [PATCH] packages.config --- .github/workflows/pr.yml | 4 ++ RNPermissions.vcxproj | 100 ++++++++++++++++----------------------- packages.config | 4 ++ 3 files changed, 49 insertions(+), 59 deletions(-) create mode 100644 packages.config diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b4f4526dc..30087c4cf 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -86,6 +86,10 @@ jobs: - name: PATCH RNPermissions vcxproj run: copy RNPermissions.vcxproj .\Apps\BRNPlayground\node_modules\react-native-permissions\windows\RNPermissions working-directory: ./ + + - name: PATCH RNPermissions packages.config + run: copy packages.config .\Apps\BRNPlayground\node_modules\react-native-permissions\windows\RNPermissions + working-directory: ./ - name: NPM Windows Project run: npx install-windows-test-app diff --git a/RNPermissions.vcxproj b/RNPermissions.vcxproj index 97394cb67..e68d242a2 100644 --- a/RNPermissions.vcxproj +++ b/RNPermissions.vcxproj @@ -1,25 +1,25 @@ - - + + true true true - {17fab8ec-5020-4037-a6c7-d83295b29658} - Example - Example + {99677b9d-a27b-4239-930e-c36c8d339c54} + RNPermissions + RNPermissions en-US 16.0 true Windows Store 10.0 10.0.18362.0 - 10.0.16299.0 - Example_TemporaryKey.pfx - C6ADC4B2C493E8B537BAA92D0125A6FEC2FE3079 - password + 10.0.17763.0 + + $([MSBuild]::GetDirectoryNameOfFileAbove($(SolutionDir), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\ + Debug @@ -55,8 +55,9 @@ - Application + DynamicLibrary Unicode + false true @@ -76,7 +77,11 @@ + + + + Use @@ -84,12 +89,22 @@ $(IntDir)pch.pch Level4 %(AdditionalOptions) /bigobj - 4453;28204 + + /DWINRT_NO_MAKE_DETECTION %(AdditionalOptions) + 28204 + _WINRT_DLL;%(PreprocessorDefinitions) + $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) + + Console + true + RNPermissions.def + _DEBUG;%(PreprocessorDefinitions) + ProgramDatabase @@ -98,77 +113,44 @@ - - - - App.xaml + + ReactPackageProvider.idl + - - Designer - - - - - Designer - - - - - - - - - - - - - - Create - - App.xaml + + ReactPackageProvider.idl + - - App.xaml - + - - - false - + - - {0e13e5b0-8524-4991-9e05-4b71a7551240} - + - - $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\ - - - - + + - + This project references targets in your node_modules\react-native-windows folder. The missing file is {0}. - - + + - - + \ No newline at end of file diff --git a/packages.config b/packages.config new file mode 100644 index 000000000..52fd7154a --- /dev/null +++ b/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file