VB Dot NET Forum: C# Manifest File Question - VB Dot NET Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

C# Manifest File Question

#1 User is offline   Xarzu Icon

  • Newbie
  • Pip
Group:
Members
Posts:
1
Joined:
16-January 08

VB Knowledge: None
VB Version:
VB 2008 (.NET 3.0/3.5)

Posted 16 January 2008 - 04:38 PM

Does anyone know how to declare Manifest Files in the Visual Studio IDE for C#?

I followed the steps outlined here for including a manifest file:
http://support.microsoft.com/kb/944276
Does it matter if the manifest file is in the directory where the
source code is or should it be in the directory where the executable
code is?

Someone has suggested I set BuildAction to "Embedded Resource". But I cannot find where this is set in the properties. Can you? In which panel is the BuildAction?

http://i67.photobuck...o/CSharp015.png
http://i67.photobuck...o/csharp016.png
http://i67.photobuck...o/csharp017.png
http://i67.photobuck...o/CSharp018.png
http://i67.photobuck...o/csharp019.png
http://i67.photobuck...o/csharp020.png

It seems there is more than one way to use Manifest Files with C#. I would like to know them all.
0

#2 User is offline   Dylan Icon

  • Advanced Member
  • PipPipPip
Group:
Root Admin
Posts:
1,058
Joined:
12-January 07
Location:
Atlanta, GA, USA
Interests:
Computer Science, Operating Systems

VB Knowledge: Experienced
VB Version:
VB 2008 (.NET 3.0/3.5)
OS: Mac OS X

Posted 17 January 2008 - 12:09 AM

If you followed that guide (the one on support.microsoft.com) it should've worked. Did it not work? If so, any errors or specific problems?
0

#3 User is offline   programmer-in-training Icon

  • Experienced Member
  • PipPipPip
Group:
Mods
Posts:
1,954
Joined:
20-October 07
Gender:
Male
Interests:
Desktop/web programming, calculus, particle physics, electrical engineering

VB Knowledge: Experienced
VB Version:
VB 2008 (.NET 3.0/3.5)
OS: Windows 7 x64

Posted 17 January 2008 - 06:56 PM

In VB, the manifest file has to be the same as the executable file, incl. extension, + ".manifest" It must be in the same directory. That works, but the way I prefer is to embed it. I think you do that by selecting the manifest file in the Solution Explorer and looking at the Properties bar.
0

#4 User is offline   dilipv Icon

  • Newbie
  • Pip
Group:
Members
Posts:
5
Joined:
16-February 08

VB Knowledge: Beginner
VB Version:
VB 2005 (.NET 2.0)

Posted 20 February 2008 - 07:43 AM

View Postprogrammer-in-training, on Jan 17 2008, 06:56 PM, said:

In VB, the manifest file has to be the same as the executable file, incl. extension, + ".manifest" It must be in the same directory. That works, but the way I prefer is to embed it. I think you do that by selecting the manifest file in the Solution Explorer and looking at the Properties bar.



hi there,

i saw your quote. and i got a perfect and reliable solution for you, just check out the following url, it contains all the required information regarding the Manifest file.

http://www.codeproje...tInjection.aspx

hope this will definitely work for you.

Thank you
Jitesh
Programmer
.Net Consulting
0

#5 User is offline   programmer-in-training Icon

  • Experienced Member
  • PipPipPip
Group:
Mods
Posts:
1,954
Joined:
20-October 07
Gender:
Male
Interests:
Desktop/web programming, calculus, particle physics, electrical engineering

VB Knowledge: Experienced
VB Version:
VB 2008 (.NET 3.0/3.5)
OS: Windows 7 x64

Posted 20 February 2008 - 12:16 PM

I'm actually not a C# programmer at all, but thanks anyway!


Visual Studio 2005 and 2008 automatically use visual styles, but you can set it not to for a specific project. Also, you can use APIs to instantly change whether or not the title bar or the client area or web content use visual styles.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users