Skip to content

Commit 53882f0

Browse files
committed
Exclude Exceptions folder from build
Add a <Compile Remove> entry to src/WinRT.Runtime2/WinRT.Runtime.csproj to exclude Exceptions/**/*.cs from compilation. This matches other implementation-only folders removed from the project (e.g. ABI, InteropServices) to minimize the number of code changes and reduce the build surface.
1 parent 3117942 commit 53882f0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/WinRT.Runtime2/WinRT.Runtime.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
<Compile Remove="ABI\**\*.cs"/>
141141

142142
<!-- Also remove other folders with implementation-only types, to minimize the number of code changes needed -->
143+
<Compile Remove="Exceptions\**\*.cs"/>
143144
<Compile Remove="InteropServices\AsyncInfo\**\*.cs"/>
144145
<Compile Remove="InteropServices\Bindables\**\*.cs"/>
145146
<Compile Remove="InteropServices\Buffers\**\*.cs"/>

0 commit comments

Comments
 (0)