-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新了 `Directory.Build.props` 文件中的版本号,从 `1.0.7` 更新到 `1.0.8`,并为 `net9.0` 框架添加了 `MicrosoftAspNetCorePackageVersion` 版本号 `9.0.0`。 在 `Gnarly.sln` 解决方案文件中,添加了 `Gnarly.Test` 项目,并更新了相应的项目配置。 新增了 `Gnarly.Test.csproj` 项目文件,目标框架为 `net8.0`,并启用了隐式使用和可空引用类型。 新增了 `ITest2Service.cs` 文件,定义了 `ITest2Service` 接口。 新增了 `Test2Service.cs` 文件,实现了 `ITest2Service` 和 `IScopeDependency` 接口。 更新了 `Gnarly.WebApi.csproj` 文件,设置了 `IsPackable` 和 `GeneratePackageOnBuild` 属性为 `true`,并添加了对 `Gnarly.Test` 项目的引用。 在 `Program.cs` 文件中,移除了 `builder.Services.AddAutoGnarly();` 这一行代码。 在 `ServiceRegistrationGenerator.cs` 文件中,添加了 `using System.Diagnostics;` 引用,并更新了命名空间,将 `namespace System` 修改为 `namespace {compilation.AssemblyName}`。
- Loading branch information
Showing
9 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AGnarlyExtensions_002Eg_002Ecs_002Fl_003AC_0021_003FUsers_003F23957_003FAppData_003FLocal_003FTemp_003FSourceGeneratedDocuments_003F2F1B399F9836E5C0B41E66FA_003FGnarly_003FGnarly_002EServiceRegistrationGenerator_003FGnarlyExtensions_002Eg_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Gnarly.Data\Gnarly.Data.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Gnarly.Test; | ||
|
||
public interface ITest2Service | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using Gnarly.Data; | ||
|
||
namespace Gnarly.Test; | ||
|
||
public class Test2Service : ITest2Service, IScopeDependency | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters