Skip to content

Conversation

@a-powolozki
Copy link

Allow to create nuget packages not only by providing a nuspec file but also by providing a project file. This automaticaly includes all dependent packages into the incorporated nuspec file and all references, which could not be resolved as nuget packages will be included as referenced assemblies.

@a-powolozki
Copy link
Author

Hope the line endings are now ok.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would break existing projects. Please add also the PackageId property.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you deleted the copy commands?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted copy commands are in my opinion copy / pasted commands which are exactly the same as used inside ClickOnce target. That's why i thought, their presence in the OctoPackage Target is a mistake, causing files to be copied two times, if they would be generated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OctoPackage is not related to ClickOnce.

On Sat, Jun 20, 2015 at 7:46 PM Alexander Powolozki <
notifications@github.com> wrote:

In Buildeploy.targets
#1 (comment):

  •        MinimumRequiredVersion="%(OctoConfig.MinimumRequiredVersion)"
    
  •        RequireLatestVersion="%(OctoConfig.RequireLatestVersion)"
    
  •        Version="$(Version)"
    
  •        TargetFramework="$(ClickOnceTargetFramework)"
    
  •        CreateDesktopShortcut="%(OctoConfig.CreateDesktopShortcut)"
    
  •        IconFile="%(OctoConfig.IconFile)"
    
  •        WebsiteBasePath="$(CompiledSite)"
    
  •        CombineWithWebsite="%(OctoConfig.CombineWithWebsite)"
    
  •        WebsiteFiles="@(CompiledSiteWithConfig)"
    
  •             LinkAssembliesWithManifestAsFile="$(ClickOnceLinkAssembliesWithManifestAsFile)"
    
  •        SkipClickOnce="%(OctoConfig.SkipClickOnce)"
    
  •        PackageId="%(OctoConfig.PackageId)"
    
  •        PushLocation="%(OctoConfig.PushLocation)"
    
  •        ApiKey="%(OctoConfig.ApiKey)"
    
  •        />
    
  • <Copy SourceFiles="$(VersionRedistRoot)\ClickOnce$(ClickOnceFilePrefix)%(OctoConfig.Identity)_$(Version).zip"

Deleted copy commands are in my opinion copy / pasted commands which are
exactly the same as ised during ClickOnce job. That's why i thought, their
presence in the OctoPackage Target is a mistake, causing files to be copied
two times, if they would be generated.


Reply to this email directly or view it on GitHub
https://github.com/CMSSudhaus/buildeploy/pull/1/files#r32886411.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, you are absolutly right!

The copy comands do deploy generated clickonce packages. This deployment is absolutely wrong place insde the OctoPackage target and is already done inside the ClickOnce target.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And When the ClickOnce Target never invoked? Who will copy
ServerRedistFiles?

On Sat, Jun 20, 2015 at 7:59 PM Alexander Powolozki <
notifications@github.com> wrote:

In Buildeploy.targets
#1 (comment):

  •        MinimumRequiredVersion="%(OctoConfig.MinimumRequiredVersion)"
    
  •        RequireLatestVersion="%(OctoConfig.RequireLatestVersion)"
    
  •        Version="$(Version)"
    
  •        TargetFramework="$(ClickOnceTargetFramework)"
    
  •        CreateDesktopShortcut="%(OctoConfig.CreateDesktopShortcut)"
    
  •        IconFile="%(OctoConfig.IconFile)"
    
  •        WebsiteBasePath="$(CompiledSite)"
    
  •        CombineWithWebsite="%(OctoConfig.CombineWithWebsite)"
    
  •        WebsiteFiles="@(CompiledSiteWithConfig)"
    
  •             LinkAssembliesWithManifestAsFile="$(ClickOnceLinkAssembliesWithManifestAsFile)"
    
  •        SkipClickOnce="%(OctoConfig.SkipClickOnce)"
    
  •        PackageId="%(OctoConfig.PackageId)"
    
  •        PushLocation="%(OctoConfig.PushLocation)"
    
  •        ApiKey="%(OctoConfig.ApiKey)"
    
  •        />
    
  • <Copy SourceFiles="$(VersionRedistRoot)\ClickOnce$(ClickOnceFilePrefix)%(OctoConfig.Identity)_$(Version).zip"

Exactly, you are absolutly right!

The copy comands do deploy generated clickonce packages. This deployment
is absolutely wrong place insde the OctoPackage target and is already done
inside the ClickOnce target.


Reply to this email directly or view it on GitHub
https://github.com/CMSSudhaus/buildeploy/pull/1/files#r32886518.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be extracted into separate Target which should be invoked in the same manner like ClickOnce and OctoPackage.

derjabkin added a commit that referenced this pull request May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants