mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
Remove Targets* instances from .props files (#35353)
* remove TargetsNetfx from isPartialFacadeAssembly property * Omit Resources corrected * fix partial facade * GeneratePlatformNotSupportedAssemblyMessage corrected * OmitResources made similar to isPartialFacadeAssembly * fixes omitsources * moving targetFramework dependent properties to second property Group * fix GeneratePlatformNotSupportedAssemblyWithGlobalPrefix * correct define constants * fix no warn * fix assembly version * fix packageTargetFramework * fix the build * src and ref intell working * remove targets properties from tests file * adding comment
This commit is contained in:
1 parent
63ae78b28b
commit
4c4b2635ed
67 files changed
+277
-117
No files matched your search
+4
-1
@@ -1,10 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
|
||||
<TargetFrameworks>netstandard2.0;$(NetFrameworkCurrent);net461</TargetFrameworks>
|
||||
<ExcludeCurrentFullFrameworkFromPackage>true</ExcludeCurrentFullFrameworkFromPackage>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
<!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->
|
||||
<PropertyGroup>
|
||||
<IsPartialFacadeAssembly Condition="$(TargetFramework.StartsWith('net4'))">true</IsPartialFacadeAssembly>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="System.IO.FileSystem.AccessControl.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in new issue
Block a user