I am trying to embed a manifest file into a win32 dll, to depend on a specific version of TestComp.dll, for this i am using manifest file and i am able to embed the manifest file into an assembly using the MT.exe and it works fine, so now i want to embed the same manifest with the Visual studio project settings, to avoid have a additional .manifest file.
my current MainDll.Manifest file looks like this
in the Visual Studio ->Configuration Properties->Linker->Manifest File ->Additional Manifest Dependencies i specified the following
/manifestdependency:type='win32' name='TTK.MYCOMP.TestComp' version='1.5.0.0' processorArchitecture='x86'
The generated manifest file looked very similar,obviously missing the file element, i am unable to figure out how to provide the file element with the name of the dll in the /manifestdependency linker switch
Thank you for taking time out to look into this issue.