<DefaultCoreClrSubsets>clr.runtime+linuxdac+clr.corelib+clr.nativecorelib+clr.tools+clr.packages</DefaultCoreClrSubsets>
<DefaultMonoSubsets Condition="'$(MonoEnableLLVM)' == 'true' and '$(MonoLLVMDir)' == ''">mono.llvm+</DefaultMonoSubsets>
- <DefaultMonoSubsets>$(DefaultMonoSubsets)mono.runtime+mono.corelib</DefaultMonoSubsets>
+ <DefaultMonoSubsets>$(DefaultMonoSubsets)mono.runtime+mono.corelib+mono.packages</DefaultMonoSubsets>
<DefaultLibrariesSubsets>libs.native+libs.ref+libs.src+libs.pretest+libs.packages</DefaultLibrariesSubsets>
<SubsetName Include="Mono" Description="The Mono runtime and CoreLib." />
<SubsetName Include="Mono.Runtime" Description="The Mono .NET runtime." />
<SubsetName Include="Mono.CoreLib" Description="The managed System.Private.CoreLib library for Mono." />
+ <SubsetName Include="Mono.Packages" Description="The projects that produce NuGet packages for the Mono runtime." />
<!-- Libs -->
<SubsetName Include="Libs" Description="The libraries native part, refs and source assemblies, test infra and packages, but NOT the tests (use Libs.Tests to request those explicitly)" />
<ProjectToBuild Include="$(MonoProjectRoot)llvm\llvm-init.proj" Category="mono" />
</ItemGroup>
+ <ItemGroup Condition="$(_subset.Contains('+mono.packages+'))">
+ <ProjectToBuild Include="$(MonoProjectRoot)netcore\nuget\mono-packages.proj" Category="mono" Pack="true" />
+ </ItemGroup>
+
<ItemGroup Condition="$(_subset.Contains('+mono.runtime+'))">
<ProjectToBuild Include="$(MonoProjectRoot)mono.proj" Category="mono" />
</ItemGroup>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project>
+
+ <!-- Packaging projects (.pkgproj) are non-SDK-style, so they need to directly import Directory.Build.props -->
+ <Import Project="../../Directory.Build.props" />
+
+ <Import Project="$(NuGetPackageRoot)\microsoft.dotnet.build.tasks.packaging\$(MicrosoftDotNetBuildTasksPackagingVersion)\build\Microsoft.DotNet.Build.Tasks.Packaging.props" />
+
+ <PropertyGroup>
+ <PackageDescriptionFile>$(MSBuildThisFileDirectory)/descriptions.json</PackageDescriptionFile>
+ <PackageLicenseFile>$(CoreclrDir)/LICENSE.TXT</PackageLicenseFile>
+
+ <ReleaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</ReleaseNotes>
+
+ <ProjectUrl>https://dot.net</ProjectUrl>
+
+ <PackageIndexFile>$(MSBuildThisFileDirectory)/packageIndex.json</PackageIndexFile>
+ <PackagePlatform>AnyCPU</PackagePlatform>
+
+ <!-- mono doesn't currently use the index so don't force it to be in sync -->
+ <SkipIndexCheck>true</SkipIndexCheck>
+
+ <VersionTxtFile Condition="'$(VersionTxtFile)' == ''">$(ArtifactsObjDir)version.txt</VersionTxtFile>
+ </PropertyGroup>
+
+ <ItemGroup Condition="'$(MSBuildProjectExtension)' == '.pkgproj'">
+ <!-- Add required legal files to packages -->
+ <File Condition="Exists('$(PackageLicenseFile)')"
+ Include="$(PackageLicenseFile)" >
+ <SkipPackageFileCheck>true</SkipPackageFileCheck>
+ </File>
+ <PackageIndex Include="$(PackageIndexFile)" />
+
+ <!-- Add version file to packages -->
+ <File Include="$(VersionTxtFile)"
+ Condition="Exists('$(VersionTxtFile)')">
+ <SkipPackageFileCheck>true</SkipPackageFileCheck>
+ </File>
+ </ItemGroup>
+
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <Import Project="../../Directory.Build.targets" />
+
+ <Import Project="$(NuGetPackageRoot)\microsoft.dotnet.build.tasks.packaging\$(MicrosoftDotNetBuildTasksPackagingVersion)\build\Microsoft.DotNet.Build.Tasks.Packaging.targets" />
+
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
+
+ <PropertyGroup>
+ <IsShipping>false</IsShipping>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="$(MonoProjectRoot)wasm\debugger\BrowserDebugHost\BrowserDebugHost.csproj" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageFile Include="$(ArtifactsDir)bin\BrowserDebugHost\$(TargetArchitecture)\$(Configuration)\BrowserDebugProxy.dll">
+ <TargetPath>tools\$(NetCoreAppCurrent)\BrowserDebugProxy.dll</TargetPath>
+ </PackageFile>
+ <PackageFile Include="$(ArtifactsDir)bin\BrowserDebugHost\$(TargetArchitecture)\$(Configuration)\BrowserDebugHost.dll">
+ <TargetPath>tools\$(NetCoreAppCurrent)\BrowserDebugHost.dll</TargetPath>
+ </PackageFile>
+ <PackageFile Include="$(ArtifactsDir)bin\BrowserDebugHost\$(TargetArchitecture)\$(Configuration)\BrowserDebugHost.runtimeconfig.json">
+ <TargetPath>tools\$(NetCoreAppCurrent)\BrowserDebugHost.runtimeconfig.json</TargetPath>
+ </PackageFile>
+ </ItemGroup>
+
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
+</Project>
--- /dev/null
+[
+ {
+ "Name": "NuGet3MinVersion",
+ "Description": "When using NuGet 3.x this package requires at least version {0}.",
+ "CommonTypes": [ ]
+ },
+ {
+ "Name": "Microsoft.NETCore.BrowserDebugHost.Transport",
+ "Description": "Internal package for sharing BrowserDebugHost.",
+ "CommonTypes": [ ]
+ }
+]
--- /dev/null
+<Project>
+ <Import Sdk="Microsoft.Build.Traversal" Project="Sdk.props" />
+
+ <ItemGroup Condition="'$(TargetOS)' == 'Browser'">
+ <ProjectReference Include="Microsoft.NETCore.BrowserDebugHost.Transport\Microsoft.NETCore.BrowserDebugHost.Transport.pkgproj" />
+ </ItemGroup>
+
+ <Import Sdk="Microsoft.Build.Traversal" Project="Sdk.targets" />
+
+ <!-- Ordering matters! Overwriting the Pack target which should just invoke Build. -->
+ <Target Name="Pack" DependsOnTargets="Build">
+ </Target>
+</Project>
--- /dev/null
+{
+}
\ No newline at end of file
<ProjectReference Include="..\BrowserDebugProxy\BrowserDebugProxy.csproj" />
</ItemGroup>
+ <Target Name="GetFilesToPackage" />
+
</Project>
HashSet<SessionId> sessions = new HashSet<SessionId>();
Dictionary<SessionId, ExecutionContext> contexts = new Dictionary<SessionId, ExecutionContext>();
- public MonoProxy(ILoggerFactory loggerFactory, bool hideWebDriver = true) : base(loggerFactory) { hideWebDriver = true; }
+ public MonoProxy(ILoggerFactory loggerFactory, bool hideWebDriver = true) : base(loggerFactory) { this.hideWebDriver = hideWebDriver; }
readonly bool hideWebDriver;
return res.Value?["result"] ? ["value"]?.Value<bool>() ?? false;
}
- static int bpIdGenerator;
-
protected override async Task<bool> AcceptCommand(MessageId id, string method, JObject args, CancellationToken token)
{
// Inspector doesn't use the Target domain or sessions
}
}
}
-}
\ No newline at end of file
+}