question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Proposal] Ship ReadMe.txt file with packages to inform consumers of necessary steps

See original GitHub issue

[FEATURE_NAME] Ship ReadMe.txt file with packages to inform consumers of necessary steps

  • Proposed
  • Prototype
  • Implementation: Not Started
    • iOS Support
    • Android Support
    • macOS Support
    • Windows Support
  • Unit Tests: Not Started
  • Sample: Not Started
  • Documentation: Not Started

Link to Discussion

This is being raised as a result of discussion #272 where the consumer saw that using a converter in XAML only was reporting build issues.

Summary

Add a README.txt to the NuGet Package that provide guidance to consumers on how to Use the toolkit upon installation.

The Getting Started step should detail the extension method usage to initialise the library:

builder.UseMauiApp<App>().UseMauiCommunityToolkit();

And then refer the developer on to the docs website for further details.

Also add the Getting Started steps to the GitHub Repository README.md, along with a NuGet Package badge:

NuGet

Motivation

To make it easier to get going in using the toolkit packages.

Detailed Design

It should involve the addition of a readme.txt to each project and then adding this line to each project:

<None Include="readme.txt" pack="true" PackagePath="." />

Usage Syntax

N/A

Drawbacks

We would need to cover what happens if both CommunityToolkit.Maui and CommunityToolkit.Maui.Core are added. We don’t need to inform the user they need to use both methods.

Alternatives

Do nothing? Leave it in the documentation online.

Unresolved Questions

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bijingtoncommented, Feb 2, 2022

Yes great idea!

0reactions
bijingtoncommented, Apr 20, 2022

thanks @VladislavAntonyuk msftbot seemed to want to keep it open for some reason 🤷

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make a README.txt file - OU Libraries
Format the readme document so it is easy to understand (e.g. separate important pieces of information with blank lines, rather than having all...
Read more >
Proposal: package management · Issue #851 · cue-lang/cue
Proposal summary We propose adding package management to CUE, ... Declaring such a file is necessary for us to satisfy the GOPROXY protocol ......
Read more >
PEP 723 – Embedding pyproject.toml in single-file scripts
An issue that users encounter with this approach is that there is no standard mechanism to define metadata for tools whose job it...
Read more >
How To Package And Distribute Python Applications
Save and exit using CTRL+X and confirm with with Y. And that's it! Your Python distribution package is ready to be installed and...
Read more >
4. Package structure and distribution
This process creates a module object with the same name as the imported file (excluding the .py suffix), and from this object, we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found