Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3170

How to create nuget package for MAUI class library?

$
0
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?


Viewing all articles
Browse latest Browse all 3170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>