diff --git a/Build.cs b/Build.cs index d0c72be..8685259 100644 --- a/Build.cs +++ b/Build.cs @@ -221,7 +221,7 @@ public static int Main(string[] args) protected AbsolutePath ModulesLocalDirectory => ArtifactsDirectory / ModulesJsonDirectoryName; protected Project WebProject => Solution?.AllProjects.FirstOrDefault(x => x.Name.EndsWith(".Web") && !x.Path.ToString().Contains("samples") || x.Name.EndsWith("VirtoCommerce.Storefront") || x.Name.EndsWith("_build")); - protected AbsolutePath ModuleManifestFile => WebProject.Directory / "module.manifest"; + protected AbsolutePath ModuleManifestFile => WebProject?.Directory / "module.manifest"; protected AbsolutePath ModuleIgnoreFile => RootDirectory / "module.ignore"; protected Microsoft.Build.Evaluation.Project MSBuildProject => WebProject?.GetMSBuildProject();