Error when installing .nupkg

A Terentiev 85 Reputation points
2023-12-20T12:44:16.82+00:00

Dear Gurus!

I have created solution with Blazor server project MainPrg and one more additional razor component library (RCL) project.. All works. Then I would like to make .nupkg from RCL, remove RCL and install .nupkg of that library. But when I tried to install the package, I received an error .

"Invalid static method invocation syntax..." Ошибка Nuget static

How to fix the issue?

P.S. VS 2022 v.17.1.4, NPM 6.1.0

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. A Terentiev 85 Reputation points
    2023-12-22T11:22:30.0033333+00:00

    I will try. Perhaps the reason is a comma in the directory name "Open_Sans_Regular,Arial_Unicode_MS_Regular" and after the first unsuccessful attempt, the cache interferes (comma after Open_Sans_Regular).


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.