Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4f19da0

Browse files
committed
Use CommonPath build property to include common files
1 parent 3bedf89 commit 4f19da0

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/System.Composition.Convention/src/System.Composition.Convention.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2121
</PropertyGroup>
2222
<ItemGroup>
23-
<Compile Include="..\..\Common\src\Microsoft\Internal\Assumes.cs">
23+
<Compile Include="$(CommonPath)\Microsoft\Internal\Assumes.cs">
2424
<Link>Microsoft\Internal\Assumes.cs</Link>
2525
</Compile>
26-
<Compile Include="..\..\Common\src\Microsoft\Internal\Assumes.InternalErrorException.cs">
26+
<Compile Include="$(CommonPath)\Microsoft\Internal\Assumes.InternalErrorException.cs">
2727
<Link>Microsoft\Internal\Assumes.InternalErrorException.cs</Link>
2828
</Compile>
29-
<Compile Include="..\..\Common\src\Microsoft\Internal\CommonStrings.Designer.cs">
29+
<Compile Include="$(CommonPath)\Microsoft\Internal\CommonStrings.Designer.cs">
3030
<Link>Microsoft\Internal\CommonStrings.Designer.cs</Link>
3131
<AutoGen>True</AutoGen>
3232
<DesignTime>True</DesignTime>
3333
<DependentUpon>CommonStrings.resx</DependentUpon>
3434
</Compile>
35-
<Compile Include="..\..\Common\src\Microsoft\Internal\EmptyArray.cs">
35+
<Compile Include="$(CommonPath)\Microsoft\Internal\EmptyArray.cs">
3636
<Link>Microsoft\Internal\EmptyArray.cs</Link>
3737
</Compile>
38-
<Compile Include="..\..\Common\src\Microsoft\Internal\Requires.cs">
38+
<Compile Include="$(CommonPath)\Microsoft\Internal\Requires.cs">
3939
<Link>Microsoft\Internal\Requires.cs</Link>
4040
</Compile>
4141
<Compile Include="Microsoft\Composition\Diagnostics\CompositionTrace.cs" />
@@ -60,7 +60,7 @@
6060
<Compile Include="System\Composition\ExceptionBuilder.cs" />
6161
</ItemGroup>
6262
<ItemGroup>
63-
<EmbeddedResource Include="..\..\Common\src\Microsoft\Internal\CommonStrings.resx">
63+
<EmbeddedResource Include="$(CommonPath)\Microsoft\Internal\CommonStrings.resx">
6464
<Link>Microsoft\Internal\CommonStrings.resx</Link>
6565
<Generator>ResXFileCodeGenerator</Generator>
6666
<LastGenOutput>CommonStrings.Designer.cs</LastGenOutput>

src/System.Composition.Hosting/src/System.Composition.Hosting.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@
2727
</ProjectReference>
2828
</ItemGroup>
2929
<ItemGroup>
30-
<Compile Include="..\..\Common\src\Microsoft\Internal\Assumes.cs">
30+
<Compile Include="$(CommonPath)\Microsoft\Internal\Assumes.cs">
3131
<Link>Microsoft\Internal\Assumes.cs</Link>
3232
</Compile>
33-
<Compile Include="..\..\Common\src\Microsoft\Internal\Assumes.InternalErrorException.cs">
33+
<Compile Include="$(CommonPath)\Microsoft\Internal\Assumes.InternalErrorException.cs">
3434
<Link>Microsoft\Internal\Assumes.InternalErrorException.cs</Link>
3535
</Compile>
36-
<Compile Include="..\..\Common\src\Microsoft\Internal\CommonStrings.Designer.cs">
36+
<Compile Include="$(CommonPath)\Microsoft\Internal\CommonStrings.Designer.cs">
3737
<Link>Microsoft\Internal\CommonStrings.Designer.cs</Link>
3838
<AutoGen>True</AutoGen>
3939
<DesignTime>True</DesignTime>
4040
<DependentUpon>CommonStrings.resx</DependentUpon>
4141
</Compile>
42-
<Compile Include="..\..\Common\src\Microsoft\Internal\EmptyArray.cs">
42+
<Compile Include="$(CommonPath)\Microsoft\Internal\EmptyArray.cs">
4343
<Link>Microsoft\Internal\EmptyArray.cs</Link>
4444
</Compile>
45-
<Compile Include="..\..\Common\src\Microsoft\Internal\Requires.cs">
45+
<Compile Include="$(CommonPath)\Microsoft\Internal\Requires.cs">
4646
<Link>Microsoft\Internal\Requires.cs</Link>
4747
</Compile>
4848
<Compile Include="Microsoft\Internal\ThrowHelper.cs" />
@@ -80,7 +80,7 @@
8080
<Compile Include="System\Composition\Hosting\Util\SmallSparseInitonlyArray.cs" />
8181
</ItemGroup>
8282
<ItemGroup>
83-
<EmbeddedResource Include="..\..\Common\src\Microsoft\Internal\CommonStrings.resx">
83+
<EmbeddedResource Include="$(CommonPath)\Microsoft\Internal\CommonStrings.resx">
8484
<Link>Microsoft\Internal\CommonStrings.resx</Link>
8585
<Generator>ResXFileCodeGenerator</Generator>
8686
<LastGenOutput>CommonStrings.Designer.cs</LastGenOutput>

0 commit comments

Comments
 (0)