Skip to content

Commit 247a16f

Browse files
feat: add projects
1 parent 4f48659 commit 247a16f

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

Patterns/Creational/FactoryMethod/FactoryMethodDemo/FactoryMethodDemo.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10+
<ItemGroup>
11+
<ProjectReference Include="..\FactoryMethodLib\FactoryMethodLib.csproj" />
12+
</ItemGroup>
13+
1014
</Project>

Patterns/Creational/FactoryMethod/FactoryMethodLib/FactoryMethodLib.csproj

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>f3da4607-f93e-4277-9b86-b7d0d1f6f495</ProjectGuid>
7+
<ProjectGuid>{F3DA4607-F93E-4277-9B86-B7D0D1F6F495}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>FactoryMethodLib</RootNamespace>
@@ -31,24 +31,17 @@
3131
<WarningLevel>4</WarningLevel>
3232
</PropertyGroup>
3333
<ItemGroup>
34-
<Reference Include="System"/>
35-
36-
<Reference Include="System.Core"/>
37-
<Reference Include="System.Xml.Linq"/>
38-
<Reference Include="System.Data.DataSetExtensions"/>
39-
40-
41-
<Reference Include="Microsoft.CSharp"/>
42-
43-
<Reference Include="System.Data"/>
44-
45-
<Reference Include="System.Net.Http"/>
46-
47-
<Reference Include="System.Xml"/>
34+
<Reference Include="System" />
35+
<Reference Include="System.Core" />
36+
<Reference Include="System.Xml.Linq" />
37+
<Reference Include="System.Data.DataSetExtensions" />
38+
<Reference Include="Microsoft.CSharp" />
39+
<Reference Include="System.Data" />
40+
<Reference Include="System.Net.Http" />
41+
<Reference Include="System.Xml" />
4842
</ItemGroup>
4943
<ItemGroup>
50-
<Compile Include="Class1.cs" />
5144
<Compile Include="Properties\AssemblyInfo.cs" />
5245
</ItemGroup>
5346
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
54-
</Project>
47+
</Project>

Patterns/Creational/FactoryMethod/FactoryMethodTests/FactoryMethodTests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@
1616
<PackageReference Include="coverlet.collector" Version="3.2.0" />
1717
</ItemGroup>
1818

19+
<ItemGroup>
20+
<ProjectReference Include="..\FactoryMethodLib\FactoryMethodLib.csproj" />
21+
</ItemGroup>
22+
1923
</Project>

0 commit comments

Comments
 (0)