Re: LINQ Dynamic Data Model

Tech-Archive recommends: Fix windows errors by optimizing your registry



EDBrian,

Why not to use use dynamic compilation ?

In design time create wrapper assembly used to satisfy MSBUILD.

At runtime:

1. In start of Main() delete this wrapper assembly

2. In AssemblyResolve event:
2.1 create source code cs file in code for child class, specify base class
from other assembly.
2.2 compile it to assembly
2.3 return this assembly reference in in assemblyresolve event thus
replacing original assembly.

Andrus.

"EDBrian" <preport@xxxxxxxxxxxxxxxxx> wrote in message
news:4A0AF89D-722A-4F1D-BC17-C9C6B4F1D4DF@xxxxxxxxxxxxxxxx
Nothing yet. I can't figure out how to specify a base class...then I'm
thinking of using reflection to copy all the properties in my static class
to the new one.


.



Relevant Pages

  • Re: LINQ Dynamic Data Model
    ... create source code cs file in code for child class, specify base class from other assembly. ... return this assembly reference in in assemblyresolve event thus replacing original assembly. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: CodeBase and Dependent Assemblies
    ... the AssemblyResolve event does indeed solve my problem! ... you need not deploy the shared assemblies to the ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • Re: Deployment: bin folder outside root folder?
    ... > You can try to handle AssemblyResolve event of AppDomain and load ... "Sunny" wrote ... I'm struggling a bit with AppDomain / ...
    (microsoft.public.dotnet.framework)
  • Re: Deployment: bin folder outside root folder?
    ... > You can try to handle AssemblyResolve event of AppDomain and load ... "Sunny" wrote ... I'm struggling a bit with AppDomain / ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Deployment: bin folder outside root folder?
    ... > You can try to handle AssemblyResolve event of AppDomain and load ... "Sunny" wrote ... I'm struggling a bit with AppDomain / ...
    (microsoft.public.dotnet.general)