-
Notifications
You must be signed in to change notification settings - Fork 62
[param-name-importer] Update to latest SgmlReader NuGet which supports netstandard2.0. #656
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,10 +9,16 @@ | |
| <ItemGroup> | ||
| <!-- Not sure why needed, but only System.IO.Compression.FileSystem.dll is | ||
| included by default, and ZipArchive is type forwarded to System.IO.Compression --> | ||
| <Reference Include="System.IO.Compression" /> | ||
| <Reference Include="System.IO.Compression" Condition="$(TargetFramework.StartsWith('net4'))" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.Xml.SgmlReader" Version="1.8.14" /> | ||
| <!-- This package erroneously contains /netcoreapp3.1/SgmlReader.exe and /netcoreapp3.1/SgmlReaderDll.dll. | ||
| We are going to use a package reference to download the nuget, and a regular reference to actually | ||
| reference the correct assembly. --> | ||
| <PackageReference Include="Microsoft.Xml.SgmlReader" Version="1.8.16" ExcludeAssets="Compile" GeneratePathProperty="true" /> | ||
| <Reference Include="SgmlReader"> | ||
| <HintPath>$(PkgMicrosoft_Xml_SgmlReader)\lib\netstandard2.0\SgmlReaderDll.dll</HintPath> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where does
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It comes from |
||
| </Reference> | ||
| <PackageReference Include="Mono.Options" Version="5.3.0.1" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
|
|
||
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.
Does
@(PackageReference)supports%(ReferenceOutputAssembly)metadata, e.g.If it does, that might make it clearer that the
@(PackageReference)is present only for download purposes, and not forcsc /referencepurposes.Uh oh!
There was an error while loading. Please reload this page.
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 think
%(ReferenceOutputAssembly)is only supported on@(ProjectReference). NuGet packages have no concept of output assemblies, they're just a zip of files in magic directories. TheExcludeAssets="Compile"is what is tellingMSBuildnot to use the contents forcsc.