Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the way assembly references are loaded. #430

Merged
merged 1 commit into from Oct 4, 2015
Merged

Change the way assembly references are loaded. #430

merged 1 commit into from Oct 4, 2015

Conversation

patriksvensson
Copy link
Member

We've been using Assembly.LoadFile to load script assembly references
which work great until you load an assembly where there is a
dependency to a previously loaded assembly. By using Assembly.LoadFrom
we make sure that assemblies are loaded properly.

Closes #415

We've been using Assembly.LoadFile to load script assembly references
which work great until you load an assembly where there is a
dependency to a previously loaded assembly. By using Assembly.LoadFrom
we make sure that assemblies are loaded properly.

Closes #415
@patriksvensson patriksvensson merged commit 8d28a92 into cake-build:develop Oct 4, 2015
@jrnail23
Copy link
Contributor

jrnail23 commented Oct 6, 2015

@patriksvensson, I'm finally getting back to some Cake stuff, and I think you're right, this shouldn't have much (if any) impact on my NuGet addin work (#373). At first I thought you might've been looking to alter the part of AddInDirectiveProcessor that adds the references, but now I see you're attacking the other end, where the ScriptRunner actually loads those references.
Looks good to me 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants