mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
Refine package validation for generations
When calculating generations I wasn't considering transient dependencies. I was assuming that if a dependency wasn't tracked by generations it wouldn't impact the generation of the depender. That was incorrect since every assembly effectively has a generation. This updates the algorithm to walk the entire dependency graph when calculating the generation I also wasn't validating support for targeting generations: PCLs consuming the packages. I was only testing for specific platforms. I added validation for generation monikers and derived the support matrix for these from the specific platforms. This uncovered a handful of bugs which I have fixed. [tfs-changeset: 1540300] Commit migrated from https://github.com/dotnet/corefx/commit/8d609579a4ef3127372400faa664796c1435d634
This commit is contained in:
1 parent
3289bf4ec4
commit
1cd121b072
10 files changed
+764
-6
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
<PropertyGroup>
|
||||
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||||
<OutputType>Library</OutputType>
|
||||
<PackageTargetFramework>dotnet5.1</PackageTargetFramework>
|
||||
<PackageTargetFramework>dotnet5.4</PackageTargetFramework>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="System.IO.FileSystem.AccessControl.cs" />
|
||||
|
||||
Reference in new issue
Block a user