📝Add Getting Started guide for UWP Fluent Tester (#205)
This commit is contained in:
Родитель
400c7058a0
Коммит
17b2df93b7
|
@ -0,0 +1,38 @@
|
|||
# Running the FluentUI Tester in UWP
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- [Node.js](https://nodejs.org/en/download/)
|
||||
- [React Native Windows Development Dependencies](https://microsoft.github.io/react-native-windows/docs/rnw-dependencies)
|
||||
- **NOTE:** Please make sure you grab all of the items listed there and the appropriate versions.
|
||||
- [Azure Credentials Plugin for NuGet](https://github.com/microsoft/artifacts-credprovider#manual-installation-on-windows)
|
||||
- We're currently on an expermental version of react-native-windows which is being published to a private NPM feed hosted on Azure DevOps.
|
||||
|
||||
### Add the App Signing Certificate to your Personal Certificate Store
|
||||
|
||||
As with normal UWP app development, the UWP test harness that loads the JS bundle must have a developer-signed certificate present to install the APPX package.
|
||||
|
||||
1. Windows+R to open the Run Dialog and type in `certmgr.msc`. **NOTE:** For some reason this takes some time on my machine.
|
||||
2. Expand `Personal` and right click on `Certificates`
|
||||
3. Under `All tasks` click `Import`
|
||||
4. For the Current User, `Browse` to find `FluentTester_Temporary.pfx` in your local clone of the repo. It is currently under [fluentui-react-native/apps/windows/windows/FluentTester](windows/FluentTester).
|
||||
5. On the next page, type in 'password' for the password.
|
||||
![Certificate Manager Browse Window](./../../assets/CertFile.png)
|
||||
|
||||
## Running the App
|
||||
|
||||
1. Run `yarn` from the root of the repo
|
||||
2. From this directory, simply `yarn windows`
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### EPERM restoring NuGet packages
|
||||
|
||||
If you see an error like the following:
|
||||
|
||||
```
|
||||
- Restoring NuGet packages
|
||||
× Failed to restore the NuGet packages: Error: EPERM: operation not permitted, unlink C:\Users\adrum\AppData\Local\Temp\nuget.4.9.2.exe'
|
||||
```
|
||||
|
||||
Double check that you have correctly installed the Azure Credentials Plugin for NuGet mentioned in the Prerequisites above.
|
|
@ -5,15 +5,15 @@ VisualStudioVersion = 16.0.29215.179
|
|||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FluentTester", "FluentTester\FluentTester.vcxproj", "{ABB78B51-C74B-4354-89B4-56F24D466C47}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Microsoft.ReactNative.SharedManaged", "..\node_modules\react-native-windows\Microsoft.ReactNative.SharedManaged\Microsoft.ReactNative.SharedManaged.shproj", "{67A1076F-7790-4203-86EA-4402CCB5E782}"
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Microsoft.ReactNative.SharedManaged", "..\..\..\node_modules\react-native-windows\Microsoft.ReactNative.SharedManaged\Microsoft.ReactNative.SharedManaged.shproj", "{67A1076F-7790-4203-86EA-4402CCB5E782}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\node_modules\react-native-windows\Microsoft.ReactNative.SharedManaged\Microsoft.ReactNative.SharedManaged.projitems*{67a1076f-7790-4203-86ea-4402ccb5e782}*SharedItemsImports = 13
|
||||
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{abb78b51-c74b-4354-89b4-56f24d466c47}*SharedItemsImports = 4
|
||||
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\..\..\node_modules\react-native-windows\Microsoft.ReactNative.SharedManaged\Microsoft.ReactNative.SharedManaged.projitems*{67a1076f-7790-4203-86ea-4402ccb5e782}*SharedItemsImports = 13
|
||||
..\..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{abb78b51-c74b-4354-89b4-56f24d466c47}*SharedItemsImports = 4
|
||||
..\..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|ARM = Debug|ARM
|
||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 170 KiB |
Загрузка…
Ссылка в новой задаче