Skip to content

Error MSB3030: Could not copy the file "X:\...\node_modules\react-native-xaml\Codegen\Windows.UI.Xaml.json" #130

@MaxBen93

Description

@MaxBen93

When attempting to go through the steps to generate the projections for a custom control (here) I get the following error:

> dotnet run X:\...\node_modules\react-native-xaml\codegen -- -winmd "X:\path\to\my\component.winmd>"
...
Build FAILED.

       "X:\...\node_modules\react-native-xaml\Codegen\Codegen.csproj" (default target) (1:7) ->
        (_CopyOutOfDateSourceItemsToOutputDirectory target) ->
         C:\Program Files\dotnet\sdk\5.0.401\Microsoft.Common.CurrentVersion.targets(4965,5): error MSB3030: Could not copy
         the file "X:\...\node_modules\react-native-xaml\Codegen\Windows.UI.Xaml.json" because it was not found. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions