简体   繁体   中英

xml-comments of nuget package do not show up

I have created my own nuget package:
https://www.nuget.org/packages/Chia-Client-API/

In the code of the package, I documented all functions with xaml comments:

/// <summary>
/// returns all subwallets of the currently logged in wallet
/// </summary>
/// <param name="includeData">Set to true to include all coin info for this wallet</param>
/// <returns></returns>
public static GetWallets_Response GetWallets_Sync(bool includeData = true)
{
    Task<GetWallets_Response> data = Task.Run(() => GetWallets_Async(includeData));
    data.Wait();
    return data.Result;
}

in my other solution, I added the package through nuget package manager. The code works as expected but intellisense will not display the xaml comment information: 在此处输入图像描述

Is there something which is missing or which I have to enable in order to show the markup?

I have tried publishing a.snupkg according to official documentation but it did not change: https://learn.microsoft.com/en-us/nuget/create-packages/symbol-packages-snupkg

it seemed to work by adjusting the build settings of the project: 在此处输入图像描述

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM