Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C# Programming

C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-18-2008, 06:38 PM
xarzu's Avatar   
xarzu xarzu is offline
Newbie
 
Join Date: Jun 2007
Posts: 14
Rep Power: 0
xarzu is on a distinguished road
Default 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..." ("A la Vista" : How to embed a manifest in an assembly: let me count the ways...) 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:
How to embed a manifest file in an executable file in Visual Studio 2005

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Square root and calculator program!!! 123456789asdf C and C++ 10 12-02-2007 04:35 PM
Batch File Help ineedhelp General Programming 4 11-15-2007 07:04 PM
Program to pass data from text file to table. sania21 Java Help 3 05-28-2007 08:32 AM
Windows XP Tricks & Tips!!!!..new ones. pranky Tutorials, Classes and Code 7 02-01-2007 10:58 PM


All times are GMT -5. The time now is 10:21 AM.

Contest Stats

John ........ 203.00000
dargueta ........ 168.00000
Xav ........ 164.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 63%

Ads