Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Workaround netcore roslyn assembly loading issue#1185

Merged
mellinoe merged 1 commit intodotnet:masterfrom
ericstj:conditionInstalPackages
Nov 1, 2016
Merged

Workaround netcore roslyn assembly loading issue#1185
mellinoe merged 1 commit intodotnet:masterfrom
ericstj:conditionInstalPackages

Conversation

@ericstj
Copy link
Copy Markdown
Member

@ericstj ericstj commented Nov 1, 2016

Roslyn on .NETCore wasn't finding dependencies of analyzers if those
dependencies were not in the same directory as CSC itself. It should be
looking next to the analyzer but is not.

On desktop this happens automatically but on Core I suspect roslyn's AssemblyLoadContext needs to handle it.

Workaround that by copying these dependencies to lib temporarily.

/cc @alexperovich @tmat @tmeschter @mavasani

Roslyn on .NETCore wasn't finding dependencies of analyzers if those
dependencies were not in the same directory as CSC itself.  It should be
looking next to the analyzer but is not.
@mellinoe mellinoe merged commit 9019916 into dotnet:master Nov 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants