hello world

This commit is contained in:
2025-10-03 02:10:17 +08:00
parent 02909d92c1
commit 0b1e060611
7 changed files with 81 additions and 2 deletions
+8 -2
View File
@@ -1,2 +1,8 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
using Generated;
namespace Source;
class Program {
static void Main(string[] args) {
HelloWorld.SayHello();
}
}
+3
View File
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\Generator\Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>