A
avanti
Hi,
I want to have XP style controls in my C# app. I created the manifest
file in my app folder that looks like this.
<?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.SysInfo"
type="win32"
/>
<description>Your app description here</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
When I try to build, I get an error:
Error 14 Could not find file 'Microsoft.Windows.Common-Controls,
Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df,
ProcessorArchitecture=X86, Type=win32'. MyApp
I tried adding reference to comctl32.dll and it says the assembly is
not valid. Am I missing something?
Thanks,
Avanti
I want to have XP style controls in my C# app. I created the manifest
file in my app folder that looks like this.
<?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.SysInfo"
type="win32"
/>
<description>Your app description here</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
When I try to build, I get an error:
Error 14 Could not find file 'Microsoft.Windows.Common-Controls,
Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df,
ProcessorArchitecture=X86, Type=win32'. MyApp
I tried adding reference to comctl32.dll and it says the assembly is
not valid. Am I missing something?
Thanks,
Avanti