By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,218 Members | 1,236 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,218 IT Pros & Developers. It's quick & easy.

Manifest help

P: n/a
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

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


(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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.