Skip to content

Commit

Permalink
XrefGen publishing (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Jan 9, 2025
1 parent d352f06 commit 37649d9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<InvariantTimezone>true</InvariantTimezone>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion 9.0/BlazorWebAssemblyXrefGenerator/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using XrefGenBlazor;
using BlazorWebAssemblyXrefGenerator;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
Expand Down
2 changes: 1 addition & 1 deletion 9.0/BlazorWebAssemblyXrefGenerator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Sample app to accompany [ASP.NET Core Blazor Host and Deploy: GitHub Pages](https://learn.microsoft.com/aspnet/core/blazor/host-and-deploy/webassembly#github-pages).

The Xref Generator tool is used by ASP.NET Core documentation authors to format API document links for ASP.NET Core article markdown.
The Xref Generator tool is used by ASP.NET Core documentation authors to format API document links for article markdown.
6 changes: 3 additions & 3 deletions 9.0/BlazorWebAssemblyXrefGenerator/_Imports.razor
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@using System.Net.Http
@using System.Net.Http
@using System.Net.Http.Json
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.AspNetCore.Components.WebAssembly.Http
@using Microsoft.JSInterop
@using XrefGenBlazor
@using XrefGenBlazor.Layout
@using BlazorWebAssemblyXrefGenerator
@using BlazorWebAssemblyXrefGenerator.Layout

0 comments on commit 37649d9

Please sign in to comment.