Skip to content

MageCLI .Validate(Manifest manifest) object reference not set #313

@plutext

Description

@plutext
 Object reference not set to an instance of an object.
3>     at Microsoft.Deployment.MageCLI.Command.Validate(Manifest manifest) in C:\Users\jh\deployment-tools\src\clickonce\MageCLI\Command.cs:line 1639
3>     at Microsoft.Deployment.MageCLI.Command.ExecuteManifestRelated() in C:\Users\jh\deployment-tools\src\clickonce\MageCLI\Command.cs:line 1439
3>     at Microsoft.Deployment.MageCLI.Command.Execute() in C:\Users\jh\deployment-tools\src\clickonce\MageCLI\Command.cs:line 1486
3>     at Microsoft.Deployment.MageCLI.Application.Main(String[] args) in C:\Users\jh\deployment-tools\src\clickonce\MageCLI\Application.cs:line 44

Problem solved by checking manifest.EntryPoint.TargetPath is not null

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions