let RID detection do its thing
also: * fix up pjvalidate to handle versionless deps * fix up package-command-test
This commit is contained in:
parent
4344af3c1b
commit
845f2c56e6
11 changed files with 50 additions and 45 deletions
|
@ -1,4 +1,5 @@
|
|||
using Microsoft.DotNet.ProjectModel;
|
||||
using System;
|
||||
using Microsoft.DotNet.ProjectModel;
|
||||
|
||||
namespace MultiProjectValidator.AnalysisRules.DependencyMismatch
|
||||
{
|
||||
|
@ -9,7 +10,7 @@ namespace MultiProjectValidator.AnalysisRules.DependencyMismatch
|
|||
return new DependencyInfo
|
||||
{
|
||||
ProjectPath = context.ProjectFile.ProjectFilePath,
|
||||
Version = library.Identity.Version.ToString(),
|
||||
Version = library.Identity.Version?.ToString() ?? String.Empty,
|
||||
Name = library.Identity.Name
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue