这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions DotNetTry.sln
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Try.Protoc
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MLS.PackageTool", "MLS.PackageTool\MLS.PackageTool.csproj", "{227874FB-6C92-4865-B43F-9FBD6C36BC4B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MLS.HumanizerRunner", "MLS.HumanizerRunner\MLS.HumanizerRunner.csproj", "{1020AE11-EBBE-41B5-9621-A804F1754154}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PackageTool.Tests", "PackageTool.Tests\PackageTool.Tests.csproj", "{11FDD0E8-D07B-41C9-AF7E-E7F735D91ECF}"
EndProject
Global
Expand Down Expand Up @@ -137,10 +135,6 @@ Global
{227874FB-6C92-4865-B43F-9FBD6C36BC4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{227874FB-6C92-4865-B43F-9FBD6C36BC4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{227874FB-6C92-4865-B43F-9FBD6C36BC4B}.Release|Any CPU.Build.0 = Release|Any CPU
{1020AE11-EBBE-41B5-9621-A804F1754154}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1020AE11-EBBE-41B5-9621-A804F1754154}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1020AE11-EBBE-41B5-9621-A804F1754154}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1020AE11-EBBE-41B5-9621-A804F1754154}.Release|Any CPU.Build.0 = Release|Any CPU
{11FDD0E8-D07B-41C9-AF7E-E7F735D91ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{11FDD0E8-D07B-41C9-AF7E-E7F735D91ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{11FDD0E8-D07B-41C9-AF7E-E7F735D91ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -170,7 +164,6 @@ Global
{F2FEA069-3121-4AB3-8835-F4EF6FCBFA18} = {8192FEAD-BCE6-4E62-97E5-2E9EA884BD71}
{7EAD5482-90CC-4252-AF91-553A4B81D8E0} = {6EE8F484-DFA2-4F0F-939F-400CE78DFAC2}
{227874FB-6C92-4865-B43F-9FBD6C36BC4B} = {6EE8F484-DFA2-4F0F-939F-400CE78DFAC2}
{1020AE11-EBBE-41B5-9621-A804F1754154} = {6EE8F484-DFA2-4F0F-939F-400CE78DFAC2}
{11FDD0E8-D07B-41C9-AF7E-E7F735D91ECF} = {8192FEAD-BCE6-4E62-97E5-2E9EA884BD71}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
Expand Down
13 changes: 0 additions & 13 deletions MLS.Agent.Tests/ApiViaHttpTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -802,19 +802,6 @@ public async Task Can_serve_blazor_console_code_runner()
result.Should().Contain("Loading...");
}
}

[Fact]
public async Task Can_serve_humanizer_code_runner()
{
using (var agent = new AgentService())
{
var response = await agent.GetAsync(@"/LocalCodeRunner/humanizer.api");

response.EnsureSuccess();
var result = await response.Content.ReadAsStringAsync();
result.Should().Contain("Loading...");
}
}

[Fact]
public async Task Can_serve_nodatime_code_runner()
Expand Down
10 changes: 2 additions & 8 deletions MLS.Agent/MLS.Agent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
<ProjectReference Include="..\MLS.Agent.Tools\MLS.Agent.Tools.csproj" />
<ProjectReference Include="..\MLS.Blazor\MLS.Blazor.csproj" />
<ProjectReference Include="..\Microsoft.DotNet.Try.Jupyter\Microsoft.DotNet.Try.Jupyter.csproj" />
<ProjectReference Include="..\MLS.HumanizerRunner\MLS.HumanizerRunner.csproj" />
<ProjectReference Include="..\MLS.Repositories\MLS.Repositories.csproj" />
<ProjectReference Include="..\WorkspaceServer\WorkspaceServer.csproj" />
</ItemGroup>
Expand All @@ -127,10 +126,7 @@
</EmbeddedResource>
</ItemGroup>

<Target Name="BuildCss"
Inputs="$(MSBuildThisFileDirectory)..\MLS.Styles\sass\trydotnet.scss"
Outputs="$(MSBuildThisFileDirectory)wwwroot\css\trydotnet.css"
BeforeTargets="BeforeBuild">
<Target Name="BuildCss" Inputs="$(MSBuildThisFileDirectory)..\MLS.Styles\sass\trydotnet.scss" Outputs="$(MSBuildThisFileDirectory)wwwroot\css\trydotnet.css" BeforeTargets="BeforeBuild">

<PropertyGroup>
<_TryDotNetCssExists Condition="Exists('$(MSBuildThisFileDirectory)wwwroot\css\trydotnet.css')">true</_TryDotNetCssExists>
Expand All @@ -156,9 +152,7 @@
<Copy SourceFiles="@(DemoFiles)" DestinationFolder="$(IntermediateOutputPath)demo\%(RecursiveDir)" />
</Target>

<Target Name="ZipDemo"
BeforeTargets="PrepareForBuild"
DependsOnTargets="CopyDemoFiles">
<Target Name="ZipDemo" BeforeTargets="PrepareForBuild" DependsOnTargets="CopyDemoFiles">
<ZipDirectory SourceDirectory="$(IntermediateOutputPath)demo" DestinationFile="$(IntermediateOutputPath)\demo.zip" Overwrite="true" />
</Target>
</Project>
7 changes: 0 additions & 7 deletions MLS.Agent/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,6 @@ public void Configure(
builder.UseBlazor<MLS.Blazor.Program>();
});

app.Map("/LocalCodeRunner/humanizer.api", builder =>
{
builder.UsePathBase("/LocalCodeRunner/humanizer/");
builder.EnableCachingBlazorContent();
builder.UseBlazor<MLS.HumanizerRunner.Program>();
});

var budget = new Budget();
_disposables.Add(() => budget.Cancel());
BlazorPackageConfiguration.Configure(app, app.ApplicationServices, packageRegistry, budget, !StartupOptions.IsLanguageService);
Expand Down
5 changes: 0 additions & 5 deletions MLS.HumanizerRunner/App.cshtml

This file was deleted.

23 changes: 0 additions & 23 deletions MLS.HumanizerRunner/Linker.xml

This file was deleted.

32 changes: 0 additions & 32 deletions MLS.HumanizerRunner/MLS.HumanizerRunner.csproj

This file was deleted.

4 changes: 0 additions & 4 deletions MLS.HumanizerRunner/Pages/Index.cshtml

This file was deleted.

56 changes: 0 additions & 56 deletions MLS.HumanizerRunner/Pages/Index.cshtml.cs

This file was deleted.

21 changes: 0 additions & 21 deletions MLS.HumanizerRunner/Program.cs

This file was deleted.

27 changes: 0 additions & 27 deletions MLS.HumanizerRunner/Properties/launchSettings.json

This file was deleted.

22 changes: 0 additions & 22 deletions MLS.HumanizerRunner/Startup.cs

This file was deleted.

14 changes: 0 additions & 14 deletions MLS.HumanizerRunner/wwwroot/index.html

This file was deleted.

13 changes: 0 additions & 13 deletions MLS.HumanizerRunner/wwwroot/interop.js

This file was deleted.

8 changes: 0 additions & 8 deletions WorkspaceServer/PackageRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,6 @@ public static PackageRegistry CreateForHostedMode()
packageBuilder.AddPackageReference("Newtonsoft.Json");
});

registry.Add("humanizer.api",
packageBuilder =>
{
packageBuilder.CreateUsingDotnet("classlib");
packageBuilder.AddPackageReference("Newtonsoft.Json");
packageBuilder.AddPackageReference("Humanizer");
});

// Todo: soemething about nodatime 2.3 makes blazor toolchain fail to build
registry.Add("blazor-nodatime.api",
packageBuilder =>
Expand Down
2 changes: 0 additions & 2 deletions eng/Signing.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<FileSignInfo Include="MsBuildPipeLogger.Logger.dll" CertificateName="None" />
<FileSignInfo Include="Buildalyzer.Workspaces.dll" CertificateName="None" />
<FileSignInfo Include="Clockwise.dll" CertificateName="None" />
<FileSignInfo Include="Humanizer.dll" CertificateName="None" />
<FileSignInfo Include="Humanizer.resources.dll" CertificateName="None" />
<FileSignInfo Include="Markdig.dll" CertificateName="None" />
<FileSignInfo Include="MessagePack.dll" CertificateName="None" />
<FileSignInfo Include="Mono.Cecil.Mdb.dll" CertificateName="None" />
Expand Down