-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
We need to write transitive reference assemblies to the deps.json file. #1609
Milestone
Comments
moh-hassan
changed the title
In VS2017.3, .Net Core console application with transitive dependency of net45 library have no entry in xxx.deps.json and raise an exception 'System.IO.FileNotFoundException occurred'
In VS2017.3, .Net Core console application with dependency of net45 library have no entry in deps.json and raise an exception 'System.IO.FileNotFoundException occurred'
Sep 26, 2017
moh-hassan
changed the title
In VS2017.3, .Net Core console application with dependency of net45 library have no entry in deps.json and raise an exception 'System.IO.FileNotFoundException occurred'
In VS2017.3, .Net Core2 console application with dependency of net45 library have no entry in deps.json and raise an exception 'System.IO.FileNotFoundException occurred'
Sep 26, 2017
livarcocc
changed the title
In VS2017.3, .Net Core2 console application with dependency of net45 library have no entry in deps.json and raise an exception 'System.IO.FileNotFoundException occurred'
We need to write transitive reference assemblies to the deps.json file.
Mar 6, 2018
Should be fixed with #2090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a solution in vs2017.3 RTM with two projects ConsoleAppCore2 and NetStand2Lib.
.Netcore2 console application ('ConsoleAppCore2') reference NetStand2Lib project (NetStand2Lib)
The NetStand2Lib project reference mylib.dll which is .Net Framework 45 (net45).
The compilation is successful and mylib.dll is copied to the bin folder.
When I try to run the application, I get run-time exception error:
I inspected the generated dependency of ConsoleAppCore2.deps.json file and find **no entry for dependency at all ** to mylib.dll, below is part of deps.json :
My workaround solution:
I explicitly added mylib.dll as a reference in ConsoleAppCore2 project. , I find an entry in the file ConsoleAppCore2.deps.json to mylib.dll and it's working fine.
i reached these issues #5954 , #120, but they can't help.
What i missed to avoid my workaround solution and avoid the reference twice to mylib.dll
Or is this a waiting support feature?
The text was updated successfully, but these errors were encountered: