Passing ReferencePath environment variable to the compiler

Is there a feature you'd like us to add? Post it here.

Passing ReferencePath environment variable to the compiler

Postby CLagrange on Thu Feb 14, 2008 4:59 pm

Hello,

Some of my scripts depend on dll external to MyGeneration.
These dll contains utility method and other thing I use in my scripts.
The problem I have is that to get it to work I have to copy these dll in the bin folder of MyGeneration. This is not very practical when working with multiple version of my project (trunk and branch).
I was able to make 2 small modification to the MyGeneration source code to overcome this problem.
I have touch 2 files:
mygeneration\\Zeus\\DotNetScriptEngine\\DotNetScriptExecutioner.cs
mygeneration\\MyGeneration\\Program.cs

In the first file I made a change to pass the RefrencePath to compiler.
In the second file I added an assembly resolver to load dll located a long the ReferencePath. This is needed for executing the script.

The changes I made seems to work fine and I was wondering if they could be included in the source repostory of MyGeneration.

Regards,
Cyril
Cyril Lagrange
Software Architect
Schlumberger
CLagrange
Lurker
 
Posts: 1
Joined: Thu Feb 14, 2008 4:13 pm
Location: Texas

Return to Enhancements

Who is online

Users browsing this forum: No registered users and 1 guest

cron