Skip to content

APIScan: Microsoft.ReactNative.dll gives "Unpublished Dependency" errors #12569

Closed
@jonthysell

Description

@jonthysell

Problem Description

An APIScan of the published 0.70.22 RNW dlls reported the following "Unpublished Dependency" errors:

Detail Text Called Function Source Location(s)
This is an unpublished dependency; manual verification of the call is required hermes.dll!unknown () c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.29.30133\include\type_traits!std::invoke<<lambda_a2c6fefab48b9160a7a55bffd1ced5d2> >:1524
This is an unpublished dependency; manual verification of the call is required microsoft.ui.xaml.dll!none () d:\a_work\1\s\vnext\microsoft.reactnative\xamlloadstate.cpp!`dynamic initializer for 'Microsoft::ReactNative::XamlLoadState::g_Instance'':205
This is an unpublished dependency; manual verification of the call is required shell32.dll!none () d:\a_work\1\s\vnext\microsoft.reactnative.cxx\desktopwindowbridge.h!winrt::Microsoft::ReactNative::CallIndirect<long (__cdecl*)(_GUID const &;unsigned long;void *;wchar_t * *);_GUID const &;enum KNOWN_FOLDER_FLAG;void *;wchar_t * *>:97
This is an unpublished dependency; manual verification of the call is required unknown!none () d:\a_work\1\s\vnext\microsoft.reactnative\utils\localbundlereader.cpp!Microsoft::ReactNative::GetBundleFromEmbeddedResource:25
This is an unpublished dependency; manual verification of the call is required unknown!unknown () d:\a_work\1\s\vnext\microsoft.reactnative\coreapp.cpp!SetPackageProviders:207
This is an unpublished dependency; manual verification of the call is required user32.dll!none () d:\a_work\1\s\vnext\microsoft.reactnative.cxx\desktopwindowbridge.h!winrt::Microsoft::ReactNative::CallIndirect<int (cdecl*)(HWND *;tagRECT *);HWND__ * &;tagRECT *>:97
This is an unpublished dependency; manual verification of the call is required windows.ui.xaml.dll!none () d:\a_work\1\s\vnext\microsoft.reactnative\xamlloadstate.cpp!`dynamic initializer for 'Microsoft::ReactNative::XamlLoadState::g_Instance'':205;d:\a_work\1\s\vnext\microsoft.reactnative.cxx\xamlutils.h!winrt::Windows::UI::Xaml::TryGetCurrentApplication:205
This is an unpublished dependency; manual verification of the call is required windows.ui.xaml.dll!none () d:\a_work\1\s\vnext\microsoft.reactnative\xamlloadstate.cpp!`dynamic initializer for 'Microsoft::ReactNative::XamlLoadState::g_Instance'':45;d:\a_work\1\s\vnext\microsoft.reactnative.cxx\xamlutils.h!winrt::Windows::UI::Xaml::TryGetCurrentApplication:45

Steps To Reproduce

Run APIScan on Microsoft.ReactNative.dll

Expected Results

No response

CLI version

npx react-native -v

Environment

npx react-native info

Target Platform Version

None

Target Device(s)

Desktop

Visual Studio Version

Visual Studio 2019

Build Configuration

Release

Snack, code example, screenshot, or link to a repository

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions