Skip to content

Commit b0b7cba

Browse files
committed
chore: organize slnx folders and clean up sample project files
- Add solution folder structure for src, test, and sample projects - Remove redundant TargetFramework/Nullable/ImplicitUsings from sample csproj files (inherited from Directory.Build.props)
1 parent 238a249 commit b0b7cba

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

Atc.Cosmos.slnx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@
55
<BuildType Name="Release" />
66
<BuildType Name="Release Preview" />
77
</Configurations>
8-
<Project Path="src/Atc.Cosmos/Atc.Cosmos.csproj" />
9-
<Project Path="test/Atc.Cosmos.Tests/Atc.Cosmos.Tests.csproj" />
8+
<Folder Name="/sample/" />
9+
<Folder Name="/sample/src/">
10+
<Project Path="sample/SampleApi/SampleApi/SampleApi.csproj" />
11+
</Folder>
12+
<Folder Name="/sample/test/">
13+
<Project Path="sample/SampleApi/SampleApi.Tests/SampleApi.Tests.csproj" />
14+
</Folder>
15+
<Folder Name="/src/">
16+
<Project Path="src/Atc.Cosmos/Atc.Cosmos.csproj" />
17+
</Folder>
18+
<Folder Name="/test/">
19+
<Project Path="test/Atc.Cosmos.Tests/Atc.Cosmos.Tests.csproj" />
20+
</Folder>
1021
</Solution>

sample/SampleApi/SampleApi.Tests/SampleApi.Tests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
84
<IsPackable>false</IsPackable>
95
</PropertyGroup>
106

sample/SampleApi/SampleApi/SampleApi.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<Nullable>enable</Nullable>
6-
<ImplicitUsings>enable</ImplicitUsings>
4+
<IsPackable>false</IsPackable>
75
</PropertyGroup>
86

97
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

0 commit comments

Comments
 (0)