XML-документы не загружались в пакет Nuget [дубликат]C#

Место общения программистов C#
Ответить
Anonymous
 XML-документы не загружались в пакет Nuget [дубликат]

Сообщение Anonymous »

Я разработал небольшой пакет для тестирования ( https://github.com/TheMakarik/TheMakari ... FileSystem ). И после добавления пакета nuget в другой проект я увидел, что XML-документация отсутствует.
Изображение

В исходном коде:
///
/// Executes all queued file system creation operations and returns the resulting file system.
///
/// An instance representing the created file system.
///
/// Thrown when the root directory has not been set via .
///
///
/// Thrown when file system operations (create directory, create file, etc.) fail.
///
///
///
/// This method performs the following actions:
///
///
/// Creates the root directory if it doesn't exist
/// Executes all actions added via in the order they were added
/// If any exception occurs, attempts to clean up the entire file structure
/// Returns a ready-to-use instance
///
///
/// After calling this method, the builder should not be reused.
///
///
IFileSystem Build();

Но в декомпилированном коде:
using System;

#nullable enable
namespace TheMakarik.Testing.FileSystem.Core;

public interface IFileSystemBuilder
{
string RootDirectory { get; }

IFileSystemBuilder AddRoot(string root);

IFileSystemBuilder Add(
string rootRelativePath,
Action additionalAction);

IFileSystem Build();
}

XML-документа нет.
Я использую пакет dotnet для создания файла .nuspec
.csproject файл:


netstandard2.1
enable
latest
TheMakarik.Testing.FileSystem


2026.0.0
TheMakarik, RikitavTimur
Simple package for creating and asserting file system at your integrational tests
icon.png
https://github.com/TheMakarik/TheMakari ... FileSystem
Testings, Tests, FileSystem








True







Подробнее здесь: https://stackoverflow.com/questions/798 ... et-package
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «C#»