diff --git a/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/Microsoft.NET.Runtime.MonoAOTCompiler.Task.pkgproj b/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/Microsoft.NET.Runtime.MonoAOTCompiler.Task.pkgproj new file mode 100644 index 00000000000000..b60e4558da06d5 --- /dev/null +++ b/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/Microsoft.NET.Runtime.MonoAOTCompiler.Task.pkgproj @@ -0,0 +1,15 @@ + + + + + Provides the MonoAOTCompiler task + + + + + + + + + + diff --git a/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/README.md b/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/README.md new file mode 100644 index 00000000000000..63c8bf4ad35056 --- /dev/null +++ b/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/README.md @@ -0,0 +1,35 @@ +# MonoAOTCompiler MSBuild Task NuPkg +The `MonoAOTCompiler` MSBuild task is also useful outside the context of `dotnet/runtime`. The task is made available through a NuGet Package containing the `MonoAOTCompiler.dll` assembly produced from building `MonoAOTCompiler.csproj`. To use the task in a project, reference the NuGet package, with the appropriate nuget source. + +## NuGet.config +``` + + + + + + +``` + +## In the project file +``` + + + + + + + + + + + + > + + + +``` diff --git a/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/build/Microsoft.NET.Runtime.MonoAOTCompiler.Task.props b/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/build/Microsoft.NET.Runtime.MonoAOTCompiler.Task.props new file mode 100644 index 00000000000000..2732cb7aed59c3 --- /dev/null +++ b/src/mono/netcore/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/build/Microsoft.NET.Runtime.MonoAOTCompiler.Task.props @@ -0,0 +1,5 @@ + + + $(MSBuildThisFileDirectory)..\tools\net5.0\MonoAOTCompiler.dll + + diff --git a/src/mono/netcore/nuget/mono-packages.proj b/src/mono/netcore/nuget/mono-packages.proj index 0bea76337616f2..9359f347321c71 100644 --- a/src/mono/netcore/nuget/mono-packages.proj +++ b/src/mono/netcore/nuget/mono-packages.proj @@ -15,4 +15,8 @@ + + + + diff --git a/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj b/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj index 66d2cfb9c2e1e7..82f2908753b0c1 100644 --- a/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj +++ b/src/tasks/AotCompilerTask/MonoAOTCompiler.csproj @@ -22,4 +22,11 @@ PreserveNewest + + + + + + +