472,986 Members | 2,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,986 software developers and data experts.

Manifest help

In my C# application, I want to make my controls have the look and feel of XP (what a novel concept, I know.) I am running Visual Studio .Net 2002 on Windows XP Pro

I found articles on the web that explain to

1) Create a file called myapp.exe.manifes
2) Make the contents of the file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><dependency><dependentAssemb ly><assemblyIdentit
type="win32
name="Microsoft.Windows.Common-Controls
version="6.0.0.0
processorArchitecture="X86
publicKeyToken="6595b64144ccf1df
language="*
/></dependentAssembly></dependency></assembly

3) save the file in the same directory as the myapp.ex

I do all this. When I run myapp.exe, I immediately get an error message dialog that reads

"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem.

What does this mean? I find this message rather unhelpful as I am developing the application and it does not require an install. Note that when I delete the myapp.exe.manifest, the application runs just fine (with the exception that all the controls are the old windows style.) I also can run other demo C# apps that have their corresponding manifest and they work fine

I was able to create a C++ application just fine that used the manifest file (I chose the option in the application wizard to set it up.) I did not see a similar option in the C# application wizard

I think I'm close. I just can't my C# application to work with the manifest

What am I missing

Can anyone help

Thanks

(P.S. Why did Microsoft make this such a pain. Don't users in general want the latest UI by default. Makes no sense to me...)
Nov 16 '05 #1
0 1219

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Murat Tasan | last post by:
hi, i'm having a very odd problem... here is my system: debian linux java: j2sdk 1.4.1_02 everything is running fine, except for one little problem... i have a custom manifest file called...
1
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
2
by: Thilo Klein | last post by:
Hi, I have a managed app running from an unc path on the local intranet (Full trust is set for this path with the .NET Configuration mmc!). If the applications supplies both a .manifest and a...
0
by: Tom | last post by:
I am using VS 2005 Beta 2. I tried the click once publish wizard to deploy my application.. Now when I try to debug my application I get an error saying that my application can not run due to an...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
3
by: RossettoeCioccolato | last post by:
Is there a brief tutorial somewhere on how to use the VC8 linker to generate a manifest for an isolated application with a dependency section for an arbitrary dll? There are some implementation...
1
by: =?Utf-8?B?TmV0aGVzaA==?= | last post by:
Where I can find to download "Manifest Generation and Editing Tool (Mage.exe) " or "Manifest Generation and Editing Tool, Graphical Client (MageUI.exe) ". Is there any other tool which will help...
4
by: =?Utf-8?B?UkQ=?= | last post by:
I'm working on migrating my VC++ 6.0 project to VS C++ 2005 and I'm bulding the project using NMAKE from the command line. The code is not GUI, all console utilities and services. I've managed to...
0
by: stormogulen | last post by:
Hello all, I'm having some problems understanding how the runtime locates assemblies, and I hope you can help me shed some light on it. I'm deploying a web service, which uses some 3rd party...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.