mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-04 05:35:49 +00:00
Omit submodule code for modern .NET
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- These are needed for dealing with submodules -->
|
||||
<PropertyGroup>
|
||||
<!-- Exclude certain parts of external modules for .NET Framework 4.8 -->
|
||||
<PropertyGroup Condition="'$(TargetFramework)'=='net48'">
|
||||
<DefaultItemExcludes>
|
||||
$(DefaultItemExcludes);
|
||||
**\AssemblyInfo.cs;
|
||||
@@ -33,6 +33,14 @@
|
||||
</DefaultItemExcludes>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Exclude all external modules for .NET 6 and .NET 7 -->
|
||||
<PropertyGroup Condition="'$(TargetFramework)'!='net48'">
|
||||
<DefaultItemExcludes>
|
||||
$(DefaultItemExcludes);
|
||||
_EXTERNAL\**;
|
||||
</DefaultItemExcludes>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- These are needed for dealing with native Windows DLLs -->
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net48'">
|
||||
<Content Include="*.dll">
|
||||
|
||||
Reference in New Issue
Block a user