ClickOnce: How to add a prerequisite from the command line?

Hi,

I have Crystal as a prerequisite, so if I publish using VS, several additional entries appears in the .manifest file:

<dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" version="10.2.3600.0" publicKeyToken="692FBEA5521E1304" language="neutral" processorArchitecture="msil" />
</dependentAssembly>
</dependency>

If I create a manifest manually, using Mage, what should I do to add the prerequisite to the manifest file

Thanks,

Leonid.



Answer this question

ClickOnce: How to add a prerequisite from the command line?

  • enric vives

    I didn't find it in the tools, so I'm not sure it's there. You might need to have it in the "source" manifest.



  • mcaine

    Thank you for the confirmation.

    I ended up by using "publish" target to get the manifest file first with all prerequisites and the icon, and then updating it manually.

    BTW, is there a place where I can find information about what to expect from the next versions of ClickOnce ( and when...)

    Thanks,

    Leonid.


  • mdh.

    We'll be able to be more public once the first Beta of the next Visual Studio is released. I expect most of what we're going to have to be in the beta. There's a few good improvements, but probably not very much that's going to be exciting... unless we happen to fix your biggest pet peeve!

  • ClickOnce: How to add a prerequisite from the command line?