Home Dashboard Directory Help

Auto-generated manifest has incorrect assemblyIdentity by Bradley Grainger


Status: 

Closed
 as By Design Help for as By Design


2
0
Sign in
to vote
Type: Bug
ID: 290160
Opened: 8/1/2007 10:48:01 AM
Access Restriction: Public
1
Workaround(s)
view
1
User(s) can reproduce this bug

Description

The manifest generated for an application by the "Embed manifest with default settings" option does not have the correct <assemblyIdentity> attributes; specifically, the "version" and "name" do not match the assembly's version and name.
Details
Sign in to post a comment.
Posted by supaconnect on 12/7/2008 at 3:02 PM
Could someone clarify the resolution as stated: "We embed a hardcoded file with version 1.0.0.0, but it is overwritten by setting on the project"?

What settings on the project overwrites the the version number/name of the assembly? I was not able to find any such project settings in VS 2008. It'd be tedious if we have to manually update the assembly version number everytime we do a product build. To me this tag "assemblyIdentity" is redundant since the project should already know it's own verison, public key etc.
Posted by Microsoft on 8/2/2007 at 2:04 PM
Thanks for reporting this issue, but the behavior is really by design.

In the case where default manifest is selected, we do not generate the manifest on the fly.
We embed a hardcoded file with version 1.0.0.0, but it is overwritten by setting on the project.
Posted by Microsoft on 8/1/2007 at 5:40 PM
Thanks for your feedback. We have reproduced this bug on Visual Studio 2008 Beta 2, and we are sending this bug to the appropriate group within the VisualStudio Product Team for triage and resolution.

Thank you,
Visual Studio Product Team.
Posted by Microsoft on 8/1/2007 at 5:11 PM
Thank you for your feedback. We are currently investigating. If this issue is urgent, please call support directly (see http://support.microsoft.com).

Thank you,
Visual Studio Product Team
Sign in to post a workaround.
Posted by EricLaw-(Ex-MSFT) on 10/15/2009 at 5:59 PM
Rather than relying on the automatically-generated manifest, you can simply add a new manifest named yourapp.exe.manifest to your project, and then configure the application attributes to use it.

This will also allow you to add Windows 7 as a supportedOS; see http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx