How to install a NuGut package

Hi,

In VS 2019, for an Element project:

The second one is not available as Visual C# project, so I click the first one:

As shown is https://www.nuget.org/packages/DocumentFormat.OpenXml/%20

I run the command:

Failed.

In Water, I can’t find where I can run Nuget command:

So I don’t know how to do it.

Please help, thank you.

Regards,
Xiaoguang

Right now, this is a known limitation in Fire/Water; it will show you only packages already found in the local cache. I’m working on adding online search now, it might be in tomorrow’s build (but no guarantees, at least for Water, as this might need some more UI work there than I can finish in time. Fire very likely will have it tomorrow).

Until then, the bets workaround is to manually add the <NuGetPackage> tag to your .elements file with a text editor.

I’ll log an issue for the Visual Studio side, bu do note that VS2019 support is still considered Experimental.

1 Like

Thanks, logged as bugs://82513

Done for tomorrow, both Fire and Water.

1 Like

Great, I will try the new build once it is available.

Thanks.

1 Like

bugs://82513 got closed with status fixed.