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

APP_CONTEXT_DEPS_FILES points to non-existing file in single-file bundle #41267

Closed
vitek-karas opened this issue Aug 24, 2020 · 2 comments · Fixed by #41430
Closed

APP_CONTEXT_DEPS_FILES points to non-existing file in single-file bundle #41267

vitek-karas opened this issue Aug 24, 2020 · 2 comments · Fixed by #41430
Assignees
Labels
area-Single-File untriaged New issue has not been triaged by the area owner
Milestone

Comments

@vitek-karas
Copy link
Member

When running an app as .NET 5 single-file bundle, the AppContext.GetData("APP_CONTEXT_DEPS_FILES") points to a non-existing file - <directory with the bundle>/myapp.deps.json.
The runtime property should return empty-string for self-contained single-file and should return only framework deps files for framework-dependent single-file.

For .NET 6 we should consider adding some way to actually reading the content of the application's .deps.json file which is currently not accessible in any way.

@vitek-karas vitek-karas added this to the 5.0.0 milestone Aug 24, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Aug 24, 2020
@ghost
Copy link

ghost commented Aug 24, 2020

Tagging subscribers to this area: @swaroop-sridhar, @agocke
See info in area-owners.md if you want to be subscribed.

@vitek-karas
Copy link
Member Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Single-File untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants