diff --git a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj index e753166d45f3bb..b49ac5c992e664 100644 --- a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj +++ b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj @@ -18,8 +18,6 @@ false false $(TargetsForTfmSpecificContentInPackage);AddBuildOutputToToolsPackage - - false false $(OutputPath)net\ diff --git a/src/tools/illink/src/ILLink.Tasks/PACKAGE.md b/src/tools/illink/src/ILLink.Tasks/PACKAGE.md new file mode 100644 index 00000000000000..7e907ef98ec060 --- /dev/null +++ b/src/tools/illink/src/ILLink.Tasks/PACKAGE.md @@ -0,0 +1,17 @@ +## About + +MSBuild tasks for running the IL Linker to trim .NET applications. + +## How to Use + +Do not directly reference this package. It is used internally by the .NET SDK when projects enable trimming. + +## Additional Documentation + +- [Trim self-contained deployments and executables](https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-self-contained) +- [Introduction to trim warnings](https://learn.microsoft.com/dotnet/core/deploying/trimming/fixing-warnings) +- [Prepare .NET libraries for trimming](https://learn.microsoft.com/dotnet/core/deploying/trimming/prepare-libraries-for-trimming) + +## Feedback & Contributing + +Microsoft.NET.ILLink.Tasks is released as open source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/runtime). diff --git a/src/tools/illink/src/linker/Mono.Linker.csproj b/src/tools/illink/src/linker/Mono.Linker.csproj index 35293cd7078a82..515e16d474d9b2 100644 --- a/src/tools/illink/src/linker/Mono.Linker.csproj +++ b/src/tools/illink/src/linker/Mono.Linker.csproj @@ -26,6 +26,7 @@ $(TargetsForTfmSpecificContentInPackage);_AddReferenceAssemblyToPackage $(DefineConstants);ILLINK true + true diff --git a/src/tools/illink/src/linker/PACKAGE.md b/src/tools/illink/src/linker/PACKAGE.md new file mode 100644 index 00000000000000..08f9ecaebc03c4 --- /dev/null +++ b/src/tools/illink/src/linker/PACKAGE.md @@ -0,0 +1,17 @@ +## About + +IL Linker tool for trimming .NET applications. + +## How to Use + +Do not directly reference this package. It is used internally by the .NET SDK when projects enable trimming. + +## Additional Documentation + +- [Trim self-contained deployments and executables](https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-self-contained) +- [Introduction to trim warnings](https://learn.microsoft.com/dotnet/core/deploying/trimming/fixing-warnings) +- [Prepare .NET libraries for trimming](https://learn.microsoft.com/dotnet/core/deploying/trimming/prepare-libraries-for-trimming) + +## Feedback & Contributing + +Microsoft.NET.ILLink is released as open source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/runtime).