Skip to content

Commit

Permalink
Revert "解决组件下try编译失败 (#2178)"
Browse files Browse the repository at this point in the history
This reverts commit 0b1deca.
  • Loading branch information
capdiem committed Oct 16, 2024
1 parent 7512037 commit 2f3aa7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions docs/Masa.Blazor.Docs/Components/Examples/Example.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,6 @@ public async Task RunCode()
var portableExecutableReferences = new List<PortableExecutableReference>();
if (Js is IJSInProcessRuntime)
{
var asms = AppDomain.CurrentDomain.GetAssemblies();

foreach (var assembly in asms)
{
s_assemblies.Add(assembly.GetName().Name);
}

using var http = HttpClientFactory.CreateClient("masa-docs");
foreach (var asm in s_assemblies)
{
Expand Down
2 changes: 1 addition & 1 deletion docs/Masa.Blazor.Docs/Masa.Blazor.Docs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Masa.Blazor.Extensions.Languages.Razor" Version="0.0.3" />
<PackageReference Include="Masa.Blazor.Extensions.Languages.Razor" Version="0.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.CustomElements" Version="8.0.0" />
Expand Down

0 comments on commit 2f3aa7f

Please sign in to comment.