From 971b17d19fd7d9cfae1e13c8b0a3f603f022eb3a Mon Sep 17 00:00:00 2001 From: Yuta Matsumura Date: Sun, 11 Aug 2024 04:37:21 +0900 Subject: [PATCH] =?UTF-8?q?razorpageapp=E3=83=97=E3=83=AD=E3=82=B8?= =?UTF-8?q?=E3=82=A7=E3=82=AF=E3=83=88=E3=81=AE=E5=8F=82=E7=85=A7=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AppHost.csprojにrazorpageappプロジェクトの参照を追加し、Program.csでビルダーにrazorpageappプロジェクトを組み込みました。これにより、razorpageappプロジェクトがアプリケーションの一部として機能します。 --- dotnet/net8.0/AppHost/AppHost.csproj | 4 ++++ dotnet/net8.0/AppHost/Program.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dotnet/net8.0/AppHost/AppHost.csproj b/dotnet/net8.0/AppHost/AppHost.csproj index 2077fb1..8588158 100644 --- a/dotnet/net8.0/AppHost/AppHost.csproj +++ b/dotnet/net8.0/AppHost/AppHost.csproj @@ -13,4 +13,8 @@ + + + + diff --git a/dotnet/net8.0/AppHost/Program.cs b/dotnet/net8.0/AppHost/Program.cs index c62c3a0..708cc7a 100644 --- a/dotnet/net8.0/AppHost/Program.cs +++ b/dotnet/net8.0/AppHost/Program.cs @@ -1,3 +1,3 @@ var builder = DistributedApplication.CreateBuilder(args); - +builder.AddProject("razorpageapp"); builder.Build().Run();