#cannot start a react native app

5 messages · Page 1 of 1 (latest)

inner siloBOT
#

@dusty wave

vaffanclash Uploaded Some Code

hi guys, I'm trying to make an app in react native. I just started it, I still haven't done anything, but when I start it I get this error:
error MSB4018: The "VCMessage" task failed unexpectedly.

I noticed that the file fmt.vcxproj has an error, at this line: <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />. I have no idea what the problem is, and I'm going crazy. Anybody has an idea?

Uploaded these files to a Gist
dusty wave
#

(pls ping me when you answer)

quasi whale
#
Ensure that you have all the necessary dependencies installed and correctly configured. This includes having the correct version of Visual Studio installed, as well as any other libraries or SDKs your project depends on.

Rebuild Solution:
Try rebuilding your solution. Sometimes, issues can be resolved by simply cleaning and rebuilding the project.

Visual Studio Version Compatibility:
Make sure that the version of Visual Studio you are using is compatible with the project. If the project was created with a specific version of Visual Studio, using a different version might lead to compatibility issues.

Missing Components:
Ensure that you have installed all the required components for the C++ workload in Visual Studio. You can modify your Visual Studio installation to add the necessary components.

Check Project Configuration:
Open the .vcxproj file in a text editor and verify that the paths and configurations are correct. Ensure that the paths specified in the project file exist on your machine.

Check for Updates:
Make sure you are using the latest version of Visual Studio and that all updates are applied. Sometimes, Microsoft releases updates that address known issues.

Repair Visual Studio:
If the issue persists, you might want to try repairing your Visual Studio installation. This can be done through the Visual Studio Installer.

Community Support:
If you're still unable to resolve the issue, consider seeking help on forums or community platforms where developers discuss Visual Studio and C++ development. The Visual Studio community forums or Stack Overflow can be good places to ask for assistance.```
#

@dusty wave

#

Your project file def has something misconfigured somewhere