471,594 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,594 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

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
0 1174

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Murat Tasan | last post: by
1 post views Thread by Santhu | last post: by
reply views Thread by Tom | last post: by
1 post views Thread by =?Utf-8?B?TmV0aGVzaA==?= | last post: by
4 posts views Thread by =?Utf-8?B?UkQ=?= | last post: by
reply views Thread by Anwar ali | last post: by

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.