16553

Applications manifest file causing problems on Win 7 environment

My app has been upgraded along the way from .net 1.1 to 3.5. On win 7 64 bit environment I have o manually remove the app.exe.manifest file as otherwise it crashes when it launches.

I use a visual studio deploy & setup project to install. In the exe's application settings itself i've tried all the options in the dropdown relating to what manifest file to use including using none (manifest still gets created).

Ideally i'd like the office look and feel but worst case scenario having it work full stop is fine now, with or without.

Any help appreciated.

Update: Manifsest file

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*"/> </dependentAssembly>

So, for a 64 bit environment, this clearly isn't going to work, but I add that this is the manifest that is created when i set 'Create application without a manifest' in my application settings.

Answer1:

a) Are you using any native libraries? I mean non managed (.NET) ones?

b) Do you have problems with Win7 32-bit platforms? Or only 64-bit platforms?

c) Screenshot of the actual error would be very helpful here.

d) If you are using multiple DLLs in your exe, then information about those would be great help in debugging.

Here is a stab with limited information...

I had a similar problem once, and that was because one of the libraries was 32-bit while the target platform for the exe was "any" i.e. on 64-bit platform the .NET app loaded up as 64-bit and caused problems when the execution flow reached the point where the 32-bit library was loaded.

I hope this helps.

Recommend

  • Best way to determine if a user has viewed data
  • What should be the return value of a custom function addEdge in a new class based on BGL?
  • Stacked bar chart not updating correctly d3js
  • Reduce size of self-loops in igraph
  • PHP and MySQL: Comparing month and day with dynamic year
  • Why am I getting a “package could not be registered” deployment error on Windows 10 UWP?
  • C# foreach - Is collection computed with each iteration? [duplicate]
  • Android NFC read Tags issue. Activity starts each time on data received
  • GitHub default README markup
  • Spring security - same page to deliver different content based on user role
  • How can I tell a form not to dispose a particular control when it closes?
  • SonarQube: Cannot deactivate rule with missing quality profile
  • Suppressing passwd when calling sqlplus from shell script
  • Not able to aggregate on nested fields in elasticsearch
  • print() is showing quotation marks in results
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Allowing both email and username for authentication
  • jQuery .attr() and value
  • Android fill_parent issue
  • Handling un-mapped Rest path
  • Azure Cloud Service Web Role web pages do not load
  • Get object from AWS S3 as a stream
  • Sony Xperia Z Tablet not found by adb
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Incrementing object id automatically JS constructor (static method and variable)
  • Trying to switch camera back to front but getting exception
  • How to make Safari send if-modified-since header?
  • How can I estimate amount of memory left with calling System.gc()?
  • R: gsub and capture
  • How to pass list parameters for each object using Spring MVC?
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • Comma separated Values
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • Revoking OAuth Access Token Results in 404 Not Found
  • Free memory of cv::Mat loaded using FileStorage API
  • Hits per day in Google Big Query
  • Setting background image for body element in xhtml (for different monitors and resolutions)
  • unknown Exception android
  • JaxB to read class hierarchy
  • How to load view controller without button in storyboard?