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

Version conflict with imported packages #1512

Closed
ryanbrandenburg opened this issue Jan 3, 2017 · 4 comments
Closed

Version conflict with imported packages #1512

ryanbrandenburg opened this issue Jan 3, 2017 · 4 comments
Labels

Comments

@ryanbrandenburg
Copy link

In aspnet/MvcPrecompilation#49 we discovered that if you try to run a task which uses a conflicting version of packages like CoreFx then the task will crash with errors like System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=1.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

@pranavkm has created a repro app here.

@paul1956
Copy link

This also happens with Visual Studio VSIX projects that use

    Public cache As New WeakReference(Of ImmutableDictionary(Of SyntaxTree, Boolean))(ImmutableDictionary(Of SyntaxTree, Boolean).Empty)

@paul1956
Copy link

@ryanbrandenburg did you find any workaround? It is always that exact error.

@pranavkm
Copy link
Contributor

@paul1956 we did not dig in to this issue further. For precompilation, we went with an alternate route and spawned a new dotnet process (via Exec).

@rainersigwald
Copy link
Member

Fixed by #4916

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

No branches or pull requests

5 participants