Skip to content

Commit

Permalink
Levae existing version.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Dec 17, 2023
1 parent e190080 commit 6dbfb22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public void Foo()
["LibraryName"] = "TestPackage",
["LibraryVersion"] = "1.2.3",
["LibraryType"] = "project",
["LibraryPath"] = "testpackage/1.2.3",
["Runtime"] = "magicrid",
}),
};
Expand All @@ -35,7 +34,6 @@ public void Foo()
["LibraryName"] = "TestPackage",
["LibraryVersion"] = "1.2.3",
["LibraryType"] = "project",
["LibraryPath"] = "testpackage/1.2.3",
["Runtime"] = "magicrid",
})
};
Expand Down
6 changes: 2 additions & 4 deletions src/IKVM.Core.MSBuild.Tasks/GenerateDepsFileExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ IEnumerable<RuntimeLibrary> BuildRuntimeLibrariesWithAdditional(DependencyContex

RuntimeLibrary BuildRuntimeLibraryWithAdditional(DependencyContext context, string name)
{
var version = "0.0.0";
var type = "project";
string version = null;
string type = null;
var path = "";
var hash = "";
var hashPath = "";
Expand Down Expand Up @@ -146,8 +146,6 @@ RuntimeLibrary BuildRuntimeLibraryWithAdditional(DependencyContext context, stri
version = "0.0.0";
if (string.IsNullOrEmpty(type))
type = null;
if (string.IsNullOrEmpty(path))
path = name + "/" + version;
if (string.IsNullOrEmpty(hash))
hash = "";
if (string.IsNullOrEmpty(hashPath))
Expand Down

0 comments on commit 6dbfb22

Please sign in to comment.