6

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: enter image description here

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

2
  • Don't know if it matters, but is the nupkg a Debug or Release build? Commented Jan 11, 2023 at 11:48
  • it is a release build Commented Jan 11, 2023 at 11:50

1 Answer 1

6

it seemed to work by adjusting the build settings of the project: enter image description here

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

I wonder if there is a quick way to do this for all Projects in a Solution....
you can edit the solution file. the file is text based and this could be done programatically. Unfortunately, if they changed something, this would screw you up.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.