Questions tagged [manifest]

A manifest is a file containing metadata about an application, data file or assembly. Generally an ambiguous tag, try and use a more specific one.

On the Java platform, a Manifest file is a specific file contained within a JAR archive. It is used to define extension and package related data. It is a metadata file that contains name-value pairs organized in different sections.

On the Microsoft .NET platform, manifests are XML files that accompany and describe side-by-side assemblies or isolated applications. Manifests uniquely identify the assembly through the assembly's assemblyIdentity element. They contain information used for binding and activation, such as COM classes, interfaces, and type libraries, that has traditionally been stored in the registry. Manifests also specify the files that make up the assembly.

Use to tag questions about the AndroidManifest.xml file which is used to describe the contents of Android apps.

3843 questions
45
votes
10 answers

reading an application's manifest file?

Is there an easy way to read an application's already embedded manifest file? I was thinking along the lines of an alternate data stream?
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
45
votes
3 answers

Program Compatibility Assistant thinks my app is an installer

I have created a .NET C# WinForms application on Win 7 RTM x64, which let's say I have called DataInstaller. When I run this program outside of the debugger (just an empty form with no functionality at the moment), it works fine until I close the…
Carl
  • 5,881
  • 4
  • 25
  • 24
43
votes
2 answers

What is the difference between "asInvoker" and "highestAvailable" execution levels?

I've been wondering what the difference between embedding and in your application's manifest is.
nathan
  • 4,612
  • 6
  • 32
  • 33
43
votes
4 answers

Android action.MAIN and category.LAUNCHER function

We mention android.intent.action.MAIN and android.intent.category.LAUNCHER as Intent filter of the launcher activity in the Manifest.xml. What is imp. of these two? What are their functionality?
dev_android
  • 8,698
  • 22
  • 91
  • 148
43
votes
2 answers

How can I include package_data without a MANIFEST.in file?

How can I include package_data for sdist without a MANIFEST.in file? My setup.py looks like this: import setuptools setuptools.setup( name='foo', version='2015.3', license='commercial', packages=setuptools.find_packages(), …
guettli
  • 25,042
  • 81
  • 346
  • 663
43
votes
13 answers

Runtime error R6034 in embedded Python application

I am working on an application which uses Boost.Python to embed the Python interpreter. This is used to run user-generated "scripts" which interact with the main program. Unfortunately, one user is reporting runtime error R6034 when he tries to run…
42
votes
1 answer

What is signing ClickOnce manifests for?

According to Microsoft, you must sign your ClickOnce application. But it seems to me that it works just fine when I publish it without signing it (by turning off the 'Sign the ClickOnce manifests' option). I really didn't care and kept the default…
Juan
  • 15,274
  • 23
  • 105
  • 187
41
votes
2 answers

Setting "task affinity" programmatically

is there a way to set the "task affinity" programmatically? I mean like with some Intent flag or sth? I didn't find anything about this being possible in the Android docs. Setting the affinity in a static way in the AndroidManifest.xml with…
aMiGo
  • 757
  • 7
  • 10
41
votes
3 answers

How to use different package names between flavors?

I'm trying to create a single project with 2 flavors: free and pro (versions). My app is already in PlayStore with different packages (E.g.: com.example.appfree and com.example.app) This is my build.gradle: defaultConfig { applicationId…
Felipe Porge Xavier
  • 2,236
  • 6
  • 19
  • 27
40
votes
1 answer

How do I add an Implementation-Version value to a jar manifest using Maven?

I'd like to add an Implementation-Version line to a manifest in my jar file that reflects the POM version number. I can't for the life of me work out how to do this using the jar plugin. Is this possible?
izb
  • 50,101
  • 39
  • 117
  • 168
40
votes
4 answers

Generate manifest class-path from in Ant

In the build file below, the jar target refers to the jar.class.path property for the manifest class-path. The compile target refers to project.class.path There is redundancy here, because jar.class.path and project.class.path are very similar.…
amarillion
  • 24,487
  • 15
  • 68
  • 80
40
votes
3 answers

How do I add a manifest to an executable using mt.exe?

I'm trying to use mt.exe from the Windows SDK to add a manifest to an executable file that doesn't have one, using the following command line: C:\winsdk61>mt.exe -nologo -manifest "r:\shared\hl.exe.manifest"…
Colen
  • 13,428
  • 21
  • 78
  • 107
39
votes
2 answers

Content Security Policy in Chrome App

My Chrome app has the following manifest: { "name": ", "version": "1.0.3", "manifest_version": 2, "description": "Chrome Extension for.", "icons": { "16": "images/test.png", "19": "images/test.png", "256":…
38
votes
0 answers

How to make a composite manifest for Microsoft smooth streaming

I am new to Microsoft Smooth Streaming and have questions about the making of composite manifests. Following the guidance from here. I was able to make a composite manifest of a single clip element that played in Silverlight player. However, when I…
Lich
  • 621
  • 6
  • 10
37
votes
7 answers