Skip to content

Commit 7ebc3f6

Browse files
author
machibuse
committed
Add "Test" solution configuration across projects, update documentation to reflect changes, and extend local settings for fetch operations
1 parent f4ba4b5 commit 7ebc3f6

7 files changed

Lines changed: 24 additions & 2 deletions

File tree

.claude/settings.local.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"Bash(dotnet test:*)",
66
"Bash(taskkill:*)",
77
"Bash(del \"D:\\\\GitHub\\\\Porticle.Grpc.TypeMapper\\\\Source\\\\Porticle.Grpc.TypeMapper\\\\bin\\\\Debug\\\\net9.0\\\\Porticle.Grpc.TypeMapper.dll\")",
8-
"Bash(dir:*)"
8+
"Bash(dir:*)",
9+
"Bash(findstr:*)",
10+
"WebFetch(domain:github.com)",
11+
"WebFetch(domain:reese.codes)"
912
]
1013
}
1114
}

CLAUDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ Source/
3636

3737
```bash
3838
dotnet build Source/Porticle.Grpc.sln
39-
dotnet test Source/Porticle.Grpc.UnitTests
39+
dotnet test Source/Porticle.Grpc.UnitTests -c Test
4040
```
4141

42+
Use the **Test** solution configuration (`-c Test`) when running tests. This avoids file-lock conflicts with OmniSharp which holds DLLs from the Debug configuration.
43+
4244
## Coding Conventions
4345

4446
- All code comments (including XML doc comments) must be written in **English**.

Source/Porticle.Grpc.Test/Porticle.Grpc.Test.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<Configurations>Debug;Release;Test</Configurations>
9+
<Platforms>AnyCPU</Platforms>
810
</PropertyGroup>
911

1012
<ItemGroup>

Source/Porticle.Grpc.TestWithoutProto/Porticle.Grpc.TestWithoutProto.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<Configurations>Debug;Release;Test</Configurations>
9+
<Platforms>AnyCPU</Platforms>
810
</PropertyGroup>
911

1012
<ItemGroup>

Source/Porticle.Grpc.TypeMapper/Porticle.Grpc.TypeMapper.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
2121
<PackageReadmeFile>readme.md</PackageReadmeFile>
2222
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
23+
<Configurations>Debug;Release;Test</Configurations>
24+
<Platforms>AnyCPU</Platforms>
2325
</PropertyGroup>
2426
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
2527
<WarningsAsErrors>NU1605</WarningsAsErrors>

Source/Porticle.Grpc.UnitTests/Porticle.Grpc.UnitTests.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<LangVersion>latest</LangVersion>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<Configurations>Debug;Release;Test</Configurations>
9+
<Platforms>AnyCPU</Platforms>
810
</PropertyGroup>
911

1012
<ItemGroup>

Source/Porticle.Grpc.sln

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,32 @@ Global
1212
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1313
Debug|Any CPU = Debug|Any CPU
1414
Release|Any CPU = Release|Any CPU
15+
Test|Any CPU = Test|Any CPU
1516
EndGlobalSection
1617
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1718
{5EF937F2-BE28-4634-A6D4-C7CACADCF1D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1819
{5EF937F2-BE28-4634-A6D4-C7CACADCF1D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
1920
{5EF937F2-BE28-4634-A6D4-C7CACADCF1D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
2021
{5EF937F2-BE28-4634-A6D4-C7CACADCF1D7}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{5EF937F2-BE28-4634-A6D4-C7CACADCF1D7}.Test|Any CPU.ActiveCfg = Test|Any CPU
23+
{5EF937F2-BE28-4634-A6D4-C7CACADCF1D7}.Test|Any CPU.Build.0 = Test|Any CPU
2124
{13375C13-0624-4441-A6D5-4F501C07CAD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2225
{13375C13-0624-4441-A6D5-4F501C07CAD4}.Debug|Any CPU.Build.0 = Debug|Any CPU
2326
{13375C13-0624-4441-A6D5-4F501C07CAD4}.Release|Any CPU.ActiveCfg = Release|Any CPU
2427
{13375C13-0624-4441-A6D5-4F501C07CAD4}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{13375C13-0624-4441-A6D5-4F501C07CAD4}.Test|Any CPU.ActiveCfg = Test|Any CPU
29+
{13375C13-0624-4441-A6D5-4F501C07CAD4}.Test|Any CPU.Build.0 = Test|Any CPU
2530
{7C8C7672-2EAD-4793-8F54-8ED0E6197C19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2631
{7C8C7672-2EAD-4793-8F54-8ED0E6197C19}.Debug|Any CPU.Build.0 = Debug|Any CPU
2732
{7C8C7672-2EAD-4793-8F54-8ED0E6197C19}.Release|Any CPU.ActiveCfg = Release|Any CPU
2833
{7C8C7672-2EAD-4793-8F54-8ED0E6197C19}.Release|Any CPU.Build.0 = Release|Any CPU
34+
{7C8C7672-2EAD-4793-8F54-8ED0E6197C19}.Test|Any CPU.ActiveCfg = Test|Any CPU
35+
{7C8C7672-2EAD-4793-8F54-8ED0E6197C19}.Test|Any CPU.Build.0 = Test|Any CPU
2936
{492D2C7B-3D6A-4CF7-9990-658E5776ACB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3037
{492D2C7B-3D6A-4CF7-9990-658E5776ACB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
3138
{492D2C7B-3D6A-4CF7-9990-658E5776ACB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
3239
{492D2C7B-3D6A-4CF7-9990-658E5776ACB2}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{492D2C7B-3D6A-4CF7-9990-658E5776ACB2}.Test|Any CPU.ActiveCfg = Test|Any CPU
41+
{492D2C7B-3D6A-4CF7-9990-658E5776ACB2}.Test|Any CPU.Build.0 = Test|Any CPU
3342
EndGlobalSection
3443
EndGlobal

0 commit comments

Comments
 (0)