diff --git a/Buildeploy.targets b/Buildeploy.targets index 505809b..9f363d6 100644 --- a/Buildeploy.targets +++ b/Buildeploy.targets @@ -81,13 +81,12 @@ - - + @@ -216,7 +215,7 @@ UseAssemblyProductName = "%(OctoConfig.UseAssemblyProductName)" VersionTag="%(OctoConfig.VersionTag)" PackageFilter="%(OctoConfig.PackageFilter)" - PackageFilterRefs="@(WebSiteDependency)" + PackageFilterRefs="@(WebSiteDependency);@(ClientRedistFile)" /> @@ -330,9 +329,6 @@ - - - additionalFiles) { targetDir = "ClickOnce"; CompressFileSet(package, WebsiteBasePath, null, WebsiteFiles - .Where(f => MatchFilter(GetPackageFilterRef(f))) + .Where(MatchFilter) .Select(f => f.ItemSpec), false); } - CompressFileSet(package, BasePath, targetDir, Files.Where(MatchFilter).Select(f => f.ItemSpec), CombineWithWebsite); + CompressFileSet(package, BasePath, targetDir, Files + .Where(MatchFilter) + .Select(f => f.ItemSpec), CombineWithWebsite); if (additionalFiles != null) { @@ -279,7 +282,7 @@ private ApplicationManifest CreateApplicationManifest(string entryPoint, out str Dictionary addedIdentities = new Dictionary(); string basePath = Path.GetFullPath(BasePath); - foreach (var taskItem in Files) + foreach (var taskItem in Files.Where(MatchFilter)) { string filePath = taskItem.GetMetadata("FullPath"); string targetPath = null; diff --git a/build.proj b/build.proj index 6e241bc..deed80f 100644 --- a/build.proj +++ b/build.proj @@ -19,5 +19,6 @@ + \ No newline at end of file