-
January 19th, 2008, 01:39 AM
#1
Junior Member
Getting a C# program with a manifest file to run in the debugger
Getting a C# program with a manifest file to run in the debugger
----------------------------------------------------------------
Does anyone know how to declare Manifest Files in the Visual Studio IDE for C#?
I tried the first in the "How to embed a manifest in an assembly: let me count the ways..." (http://blogs.msdn.com/cheller/archiv...-the-ways.aspx) link and it failed to produce an executable that I could step through the IDE debugger. And I followed the steps carefully and I had no build errors.
I followed the steps outlined here for including a manifest file:
http://support.microsoft.com/kb/944276
The executable runs from the command line after I include the manifest file. But when I open up the debugger and try to run the program through the IDE, it has the same problem as if it does not recognize the manifest file linked to it.
The way I link the manifest file to the executable is by first building the executable and then I close the project. Then I open the executable as a separate file and then I attach the manifest file as a resource to the executable.
The executable can run then, by running it from an explorer window (command line) but if I open the project again, it will not work.
I got the execuatable produced in the "let me count the ways" to work the same way. But I need to step through the code.
Similar Threads
-
By cool_boy in forum General Computer Discussions
Replies: 3
Last Post: June 29th, 2006, 02:45 AM
-
By gore in forum Operating Systems
Replies: 3
Last Post: March 7th, 2004, 08:02 AM
-
By gizmofreak in forum Other Tutorials Forum
Replies: 1
Last Post: December 23rd, 2003, 05:51 AM
-
By zerocol666 in forum Miscellaneous Security Discussions
Replies: 9
Last Post: April 26th, 2003, 03:29 PM
-
By ahmedmamuda in forum AntiVirus Discussions
Replies: 2
Last Post: March 20th, 2002, 02:03 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|