-
Notifications
You must be signed in to change notification settings - Fork 53
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
Bump to mono/LineEditor/v5.4.1@3fa0c2eb #740
Conversation
e9e622d
to
fd36d04
Compare
Context: dotnet/java-interop#740 Does It Build™?!
Context: dotnet/java-interop#740 Does It Build™?!
DO NOT MERGE until this PR is acceptable: dotnet/android#5224 |
@dellis1972 , @jonathanpeppers : what is the proper way to use diff --git a/tools/logcat-parse/logcat-parse.csproj b/tools/logcat-parse/logcat-parse.csproj
index a7d4e1c3..7fb258e2 100644
--- a/tools/logcat-parse/logcat-parse.csproj
+++ b/tools/logcat-parse/logcat-parse.csproj
@@ -11,7 +11,7 @@
<ItemGroup>
<PackageReference Include="Mono.Options" Version="5.3.0.1" />
- <PackageReference Include="Mono.Terminal" Version="5.4.1" />
+ <PackageReference Include="Mono.Terminal" Version="5.4.1" GeneratePathProperty="True" />
<PackageReference Include="Mono.CSharp" Version="4.0.0.143" NoWarn="NU1701" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
</ItemGroup>
@@ -22,4 +22,21 @@
<ProjectReference Include="..\..\src\Java.Interop.Tools.Diagnostics\Java.Interop.Tools.Diagnostics.csproj" />
</ItemGroup>
+ <ItemGroup>
+ <_ExtraPackageSource Include="$(PkgMono_Terminal)\lib\netstandard2.0\LineEditor.pdb" />
+ <_ExtraPackageTarget Include="$(OutputPath)\LineEditor.pdb" />
+ </ItemGroup>
+
+ <!-- Copy package ref symbols for our installers. '$(Pkg*)' props are set during NuGet restore when GeneratePathProperty="true" -->
+ <Target Name="_CopyExtraPackageContent"
+ AfterTargets="Build"
+ Inputs="$(PkgMono_Terminal)\lib\netstandard2.0\LineEditor.pdb"
+ Outputs="$(OutputPath)\LineEditor.pdb" >
+ <Copy
+ SourceFiles="@(_ExtraPackageSource)"
+ DestinationFolder="$(OutputPath)"
+ SkipUnchangedFiles="True"
+ />
+ </Target>
+
</Project> |
fd36d04
to
60e34b3
Compare
Context: dotnet/java-interop#740 Does It Build™?!
Inputs="$(PkgMono_Terminal)\lib\netstandard2.0\LineEditor.pdb" | ||
Outputs="$(OutputPath)\LineEditor.pdb" > |
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 for these Inputs
/ Outputs
to work, you would need a <Touch/>
. The destination file will have the same last write time as the source file when using <Copy/>
.
Since you are also using SkipUnchangedFiles="true"
, another option is to just remove the Inputs
/ Outputs
because you probably don't need both.
Context: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1230070 Changes: mono/LineEditor@5a7e3e2...3fa0c2e * mono/LineEditor@3fa0c2e: Fix NuGet publishing errors (dotnet#9) * mono/LineEditor@06a4ddf: Bump `$(PackageVersion)` to 5.4.1. * mono/LineEditor@bce1b7f: Enable .pdb files for Release config & add AzDO build script (dotnet#8) * mono/LineEditor@4831e1a: Merge pull request dotnet#6 from terrajobst/code-of-conduct * mono/LineEditor@5b4a4aa: Link Code of Conduct * mono/LineEditor@410ca3d: Merge pull request dotnet#2 from VEIT-Electronics/master * mono/LineEditor@3d802e7: Merge pull request dotnet#1 from VEIT-Electronics/bugfix/ENG-232-line-editor-completions * mono/LineEditor@0d43552: fix: text overriding was only platform specific (check platform) The most important piece is mono/LineEditor@bce1b7f, which will allow us to redistribute `LineEditor.pdb` in the Xamarin.Android installers. Add a post-`Build` target to `logcat-parse/Directory.Build.targets` which copies `LineEditor.pdb` into `$(OutputPath)`. This will allow the Xamarin.Android installer to include `LineEditor.pdb` into the installer packages.
60e34b3
to
21d905f
Compare
Context: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1230070 Changes: mono/LineEditor@5a7e3e2...3fa0c2e * mono/LineEditor@3fa0c2e: Fix NuGet publishing errors (dotnet#9) * mono/LineEditor@06a4ddf: Bump `$(PackageVersion)` to 5.4.1. * mono/LineEditor@bce1b7f: Enable .pdb files for Release config & add AzDO build script (dotnet#8) * mono/LineEditor@4831e1a: Merge pull request dotnet#6 from terrajobst/code-of-conduct * mono/LineEditor@5b4a4aa: Link Code of Conduct * mono/LineEditor@410ca3d: Merge pull request dotnet#2 from VEIT-Electronics/master * mono/LineEditor@3d802e7: Merge pull request dotnet#1 from VEIT-Electronics/bugfix/ENG-232-line-editor-completions * mono/LineEditor@0d43552: fix: text overriding was only platform specific (check platform) The most important piece is mono/LineEditor@bce1b7f, which will allow us to redistribute `LineEditor.pdb` in the Xamarin.Android installers. Add a post-`Build` target to `logcat-parse/Directory.Build.targets` which copies `LineEditor.pdb` into `$(OutputPath)`. This will allow the Xamarin.Android installer to include `LineEditor.pdb` into the installer packages.
Context: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1230070
Changes: mono/LineEditor@5a7e3e2...3fa0c2e
$(PackageVersion)
to 5.4.1.JavaException.InnerException
should returnThrowable.getCause()
. #1 from VEIT-Electronics/bugfix/ENG-232-line-editor-completionsThe most important piece is mono/LineEditor@bce1b7f, which will allow
us to redistribute
LineEditor.pdb
in the Xamarin.Android installers.