最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

dll - How to create nuget package for MAUI class library? - Stack Overflow

programmeradmin0浏览0评论

What should we pack in nuget package for a MAUI class library such that no private, internal or implementation detail is embeded in nuget package i.e. the user should not be able to navigate to the code source and see private and internal fields and function and their implementation.

I tried adding the following to the csproj:

    <IncludeSymbols>false</IncludeSymbols>
    <IncludeSource>false</IncludeSource>
    <Optimize>true</Optimize>
    <DebugType>none</DebugType>

but this does not help in creating a dll with above information hidden.

Is there some other file I should pack in MAUI nuget package and not the dll (like we embed .winmd in case of UWP?

发布评论

评论列表(0)

  1. 暂无评论