Add documentation for the ProduceOnlyReferenceAssembly msbuild option#29404
Merged
chsienki merged 1 commit intodotnet:masterfrom Aug 20, 2018
Merged
Add documentation for the ProduceOnlyReferenceAssembly msbuild option#29404chsienki merged 1 commit intodotnet:masterfrom
chsienki merged 1 commit intodotnet:masterfrom
Conversation
… to the refout docs
Member
Author
|
I've also opened an issue for on docs (https://github.com/MicrosoftDocs/visualstudio-docs/issues/1407) to get it added to the common msbuild project properties section when it becomes available. |
Member
Author
|
@dotnet/roslyn-compiler for review. |
jaredpar
reviewed
Aug 20, 2018
|
|
||
| * `ProduceReferenceAssembly` (boolean) controls whether to create the item passed to the compiler task (and thus pass `/refout:`). It requires opt-in. It is recommended that `Deterministic` also be set for best result (see details above). | ||
| * `ProduceReferenceAssembly` (boolean) controls whether to create the item passed to the compiler task (and thus pass `/refout:`). It requires opt-in. It is recommended that `Deterministic` also be set for best result (see details above). Cannot be used in conjunction with `ProduceOnlyReferenceAssembly` | ||
| * `ProduceOnlyReferenceAssembly` (boolean) controls whether to pass `/refonly` to the compiler. It requires opt-in. Cannot be used in conjunction with `ProduceReferenceAssembly` |
Member
There was a problem hiding this comment.
Nit: inconsistency on whether or not you put a colon after the option name.
Member
Author
There was a problem hiding this comment.
/refout: takes a path as an option. /refonly is just a switch with nothing passed to it.
jaredpar
approved these changes
Aug 20, 2018
333fred
added a commit
to 333fred/roslyn
that referenced
this pull request
Aug 23, 2018
…atures/compiler * dotnet/features/compiler: (183 commits) Document dotnet#13686 (dotnet#29416) Fix xml doc-comment resolution warnings PR feedback Add a perf benchmark for the compiler Emit phase (dotnet#29323) PR feedback Add documentation for the ProduceOnlyReferenceAssembly msbuild option to the refout docs (dotnet#29404) PR feedback Address PR feedback Expose refonly as an msbuild property (dotnet#29352) Add refactoring to convert foreach loop into linq invocations (Select, SelectMany and Where invocations) disable bad test Fix build error Restore the machinery for enabling language features by feature flags Assert message should sort diagnostics when possible (dotnet#29151) Update unix contributing docs Added Newtonsoft.Json to exclusion list Fix generation of compiler binding redirects (dotnet#29331) fixing hintspan size when Sub has attributes (dotnet#29115) Use Microsoft.SymbolUploader build task for symbol publishing (dotnet#29247) Remove default handling for bound nodes in (CS/VB)OperstionFactory.CreateInternal. (dotnet#29258) ...
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Documents the ProduceOnlyReferenceAssembly option in the refout docs