Microsoft/react-native-windows

Couldn't create react windows app with existing react-native application if app name has a dash in it

Open

#6 005 ouverte le 15 sept. 2020

Voir sur GitHub
 (6 commentaires) (1 réaction) (0 assignés)C# (544 forks)batch import
Area: CLIDeveloper First ExperienceWorkstream: Developer Experienceenhancementhelp wanted

Métriques du dépôt

Stars
 (6 114 stars)
Métriques de merge PR
 (Merge moyen 4j 14h) (45 PRs mergées en 30 j)

Description

Can we create windows app with existing react-native application. I was trying to do the same. I am getting following errors. Issue

Processing WinMD c:\program files (x86)\windows kits\10\references\10.0.18362.0\windows.ui.xaml.core.direct.xamldirectcontract\2.0.0.0\windows.ui.xaml.core.direct.xamldirectcontract.winmd 9>D:\MCD\MCDSource\gvc-react-native\windows\gvc-react-native\App.idl(1): error MIDL2025: [msg]syntax error [context]: expecting { near "-" [D:\MCD\MCDSource\gvc-react-native\windows\gvc-react-native\gvc-re act-native.vcxproj] 9>D:\MCD\MCDSource\gvc-react-native\windows\gvc-react-native\App.idl(2): error MIDL2026: [msg]cannot recover from earlier syntax errors; aborting compilation [D:\MCD\MCDSource\gvc-react-native\windows\gvc- react-native\gvc-react-native.vcxproj] 9>Done Building Project "D:\MCD\MCDSource\gvc-react-native\windows\gvc-react-native\gvc-react-native.vcxproj" (default targets) -- FAILED. 2>Done Building Project "D:\MCD\MCDSource\gvc-react-native\windows\gvc-react-native\gvc-react-native.vcxproj.metaproj" (default targets) -- FAILED. 1>Done Building Project "D:\MCD\MCDSource\gvc-react-native\windows\gvc-react-native.sln" (default targets) -- FAILED.

Guide contributeur