-
Notifications
You must be signed in to change notification settings - Fork 162
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
Single file apps in .net 5 #90
Merged
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
fb69d53
Single file apps in .net 5
swaroop-sridhar 11912ba
Address feedback from @jkotas, and @vitek-karas
swaroop-sridhar 3409697
Address additional feedback
swaroop-sridhar c20c821
Fix probe ordering
swaroop-sridhar 10a95f6
Make clarification about Appcontext.BaseDirectory
swaroop-sridhar 315be14
Use standard convention for writing .NET Core
swaroop-sridhar 9450e53
Address feedback by @lpereira
swaroop-sridhar ca4395c
Add a note about bundle relative paths
swaroop-sridhar c594b3a
Address feedback by @vitek-karas and @jkotas.
swaroop-sridhar c1255e0
Update accepted/single-file/design.md
swaroop-sridhar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was looking at it just recently. Is there a reason for why we have this split into
Microsoft.NET.HostModel
and a task that lives in the SDK? It may be useful to write down the reason for the split here. (I was expecting to have one .dll with the msbuild task that does everything.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-exhaustive list of reasons:
msbuild tasks need to be multi-targeted as they must carry all their dependencies
cli uses hostmodel to generate apphosts for global tools without running a build
we can keep all the localized error messages in the sdk repo where we have loc infrastructure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also it was deemed desirable to have reading and writing code in the same repo to more easily evolve the format and unit test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nguerrera. Some of these reasons are documented in the Bundler's readme file. I'll add the details here too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the ReadMe file, now that a few repos have changed:
dotnet/runtime#32583