Click here to Skip to main content
15,913,669 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Count String Relpacements using Replace Function Pin
Guffa6-Jan-07 12:03
Guffa6-Jan-07 12:03 
AnswerRe: Count String Relpacements using Replace Function Pin
Walter_H8-Jan-07 3:35
Walter_H8-Jan-07 3:35 
QuestionIcon of compiled EXE file Pin
Ray Cassick5-Jan-07 4:37
Ray Cassick5-Jan-07 4:37 
AnswerRe: Icon of compiled EXE file Pin
Ed.Poore5-Jan-07 5:49
Ed.Poore5-Jan-07 5:49 
GeneralRe: Icon of compiled EXE file Pin
Ray Cassick5-Jan-07 7:01
Ray Cassick5-Jan-07 7:01 
GeneralRe: Icon of compiled EXE file Pin
Ed.Poore5-Jan-07 7:30
Ed.Poore5-Jan-07 7:30 
Questionabout System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) Pin
Super Lloyd4-Jan-07 19:39
Super Lloyd4-Jan-07 19:39 
AnswerRe: about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) Pin
Mike Dimmick5-Jan-07 6:21
Mike Dimmick5-Jan-07 6:21 
Welcome to the world of Win32 side-by-side assemblies.

The version of the assembly that you're going to use is specified in your manifest resources, which are generated from a manifest file. This is generated by Visual Studio and you should find a copy in your 'intermediate files' directory. For some reason, the version number that the manifest specifies is significantly older than the actual RTM version (8.0.50727.42).

When loading through a manifest, on systems which support Win32 side-by-side assemblies (XP, 2003 and later), the publisher can specify that a newer version is to be loaded. They do this by placing a policy file in %SystemRoot%\WinSxS\Policies, under the appropriate folder for the assembly. In the .policy file, they list how the bindings should be redirected. I have an 8.0.50727.163.policy file which says to redirect to 8.0.50727.163.

I also have assembly version 8.0.50727.91 - I'm not sure where this came from, it doesn't have a corresponding policy file. I think version 163 came with .NET 2.0 SP1. Visual Studio 2005 SP1 has yet another new version of the runtimes, but I'm not sure of the version number.

Win32 side-by-side assemblies are pretty complicated and you should ensure that you install the CRT through one of the supported methods: the vcredist_x86.exe file, or the CRT merge module (MSM). If you use the CRT merge module you must also use the corresponding policy merge module, or it will fail to load any version due to the manifest in the application asking for an older version than is on the system. That is, you should merge in both Microsoft_VC80_CRT_x86.msm and policy_8_0_Microsoft_VC80_CRT_x86.msm.

Stability. What an interesting concept. -- Chris Maunder

GeneralRe: about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) Pin
Super Lloyd5-Jan-07 10:17
Super Lloyd5-Jan-07 10:17 
QuestionI want a .net User Interface to display office files Pin
indian1434-Jan-07 18:22
indian1434-Jan-07 18:22 
AnswerRe: I want a .net User Interface to display office files Pin
Christian Graus4-Jan-07 18:36
protectorChristian Graus4-Jan-07 18:36 
GeneralRe: I want a .net User Interface to display office files Pin
indian1434-Jan-07 19:20
indian1434-Jan-07 19:20 
GeneralRe: I want a .net User Interface to display office files Pin
Christian Graus4-Jan-07 19:44
protectorChristian Graus4-Jan-07 19:44 
GeneralRe: I want a .net User Interface to display office files Pin
Pete O'Hanlon5-Jan-07 2:55
mvePete O'Hanlon5-Jan-07 2:55 
GeneralRe: I want a .net User Interface to display office files Pin
indian1435-Jan-07 3:23
indian1435-Jan-07 3:23 
Questionregex name/value pairs Pin
campk4-Jan-07 8:53
campk4-Jan-07 8:53 
AnswerRe: regex name/value pairs Pin
Keith Malwitz5-Jan-07 1:40
Keith Malwitz5-Jan-07 1:40 
QuestionRe: regex name/value pairs [modified] Pin
campk5-Jan-07 3:16
campk5-Jan-07 3:16 
AnswerRe: regex name/value pairs Pin
Keith Malwitz5-Jan-07 17:55
Keith Malwitz5-Jan-07 17:55 
AnswerRe: regex name/value pairs Pin
Mike Dimmick5-Jan-07 6:27
Mike Dimmick5-Jan-07 6:27 
Questionnon-selectable item in treeview Pin
Russell Jones4-Jan-07 4:18
Russell Jones4-Jan-07 4:18 
QuestionDrawString and text wrapping Pin
Ray Cassick4-Jan-07 3:14
Ray Cassick4-Jan-07 3:14 
AnswerRe: DrawString and text wrapping Pin
Luc Pattyn4-Jan-07 9:05
sitebuilderLuc Pattyn4-Jan-07 9:05 
GeneralRe: DrawString and text wrapping Pin
Ray Cassick4-Jan-07 9:50
Ray Cassick4-Jan-07 9:50 
QuestionProperty paths in .NET 3.0 / WPF Pin
FalkoD3-Jan-07 7:20
FalkoD3-Jan-07 7:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.