Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

What is the difference between a manifest file and a config file?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
harsha.ramesh@gmail.com - 24 Jul 2006 05:16 GMT
Hi All,

I am a newbie with .NET. I am trying to get some RTC integration to
work. So basically, i have the following structure:

1. I have imported the TLB file relating to the rtcdll.dll (which is a
unmanaged dll file), thereby creating a managed dll file.
2. I refer to this dll file in my C# project.

Everytime i run the project, i keep bumping into some exceptions, which
i realized was caused because the wrong dll file was being loaded up!
So, basically i have around three difference versions of the rtcdll
file (installed by what operations -- i have no clue)

Then next thing i do is place a <my-app-name>.exe.manifest file which
is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
   version="1.0.0.0"
   processorArchitecture="x86"
   name="Microsoft.Windows.Networking.RTCPresence"
   type="win32"
/>

<description>RTC Presence</description>

<dependency>
   <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Networking.RtcDll"
            version="5.2.1002.3"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
       />
   </dependentAssembly>
</dependency>

</assembly>

When i use this manifest file, everything works like a charm. :-) But
then VS 2005 does not have an option of creating a manifest file.. So,
i am lost again.

Now, i happened to read about config files, and i was wondering, how
could i transform the above manifest information into the config file.
Eventually, i will need all this information bundled into the dll file
that i am generating, which will inturn be refered by some webservices.

Now, can someone please tell me what is the difference between config
and manifest file? Next, is it possible to use the config file in place
of the manifest file?

I am totally lost about .NET and I have no clue on getting all these
items tied up together. I am really looking forward to some
enlightening questions.

regards,

My Env:
.NET 2.0 / VS 2005
Barry Kelly - 24 Jul 2006 05:52 GMT
> What is the difference between a manifest file and a config file?

As far as I know, the main difference is one (the manifest) is
understood by the OS, and the other is understood by the .NET framework.

-- Barry

Signature

http://barrkel.blogspot.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.