Add missed packages to packages.builds for 2.1.5#32203
Add missed packages to packages.builds for 2.1.5#32203wtgodbe merged 7 commits intodotnet:release/2.1from
Conversation
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> | ||
| <PropertyGroup> |
There was a problem hiding this comment.
Lets keep these in dir.props/directory.build.props file for consistency and to match your doc.
There was a problem hiding this comment.
Sure. I have both locations called out in the doc, but I'm fine with aiming to move them into dir.props just for consistency.
| <Import Project="..\dir.props" /> | ||
| <PropertyGroup> | ||
| <AssemblyVersion>4.0.3.0</AssemblyVersion> | ||
| <AssemblyVersion>4.0.3.1</AssemblyVersion> |
There was a problem hiding this comment.
There was a problem hiding this comment.
Presumably we should just close #32111 and take this as the "fix everything" change?
There was a problem hiding this comment.
@weshaggard do I also need to update packageIndex.json with the new AssemblyVersions, like https://github.com/dotnet/corefx/pull/32111/files#diff-122916076db7087dbc454352fada61eeR4293? If so I should update the doc as well.
There was a problem hiding this comment.
I suspect you might. You will hopefully figure out when the all configuration leg fails.
| <Import Project="..\dir.props" /> | ||
| <PropertyGroup> | ||
| <AssemblyVersion>4.0.0.0</AssemblyVersion> | ||
| <AssemblyVersion>4.0.0.1</AssemblyVersion> |
There was a problem hiding this comment.
@natemcmaster FYI we are bumping the assembly version of System.IO.Pipelines for 2.1.5 servicing.
weshaggard
left a comment
There was a problem hiding this comment.
LGTM - Please do a local package build to make sure the package versions build and look correct.
…ot clash with master
|
Will per: #32108 (comment) I added commit 4e4dc12 to fix the System.Drawing.Common assembly version. |
|
Approved for 2.1.5. |
| "InboxOn": {}, | ||
| "AssemblyVersionInPackageVersion": { | ||
| "4.0.0.0": "4.5.0" | ||
| "4.0.0.0": "4.5.1", |
There was a problem hiding this comment.
The assembly version's package version should be the one in which the assembly with the given version shipped the first time. In this case 4.5.0 and not 4.5.1. Same for others below/above.
There was a problem hiding this comment.
No it should be the latest package that shipped stable. We want to ensure that folks are getting the latest version of any changes with the same assembly version.
There was a problem hiding this comment.
hmm makes sense but @ericstj told me the opposite in a random PR which I can't find right now.
|
The tests are failing because we didn't update the assembly version for the il project. We need to also bump the version in the .il file for this particular project |
|
@weshaggard updated |
|
@ericstj do you recognize the failures here?
It looks like we get the same error for a variety of platforms. Do I need to modify the |
|
No I don't believe this wouldn't require a modification of |
|
That's happening because the supported framework is applied to the cross-targeting-csproj reference, which will pull the max of all versions from that ref. In this case the max will be the netfx version. Which is why this is failing. @weshaggard dealt with the same issue here: 2414032#diff-1345536edae72c012e218f0374fa418cR6 In his case he gets the support checks for the other frameworks from harvesting. An alternate to this is to explicitly list SupportedFrameworks as follows: So the change would be: <ProjectReference Include="..\ref\System.Security.Principal.Windows.csproj">
<SupportedFramework>net461</SupportedFramework>
</ProjectReference>
<SupportedFramework Include="netcoreapp2.0;$(UAPvNextTFM);$(AllXamarinFrameworks)" >
<Version>4.1.1.0</Version>
</SupportedFramework> |
|
Test failure was a Jenkins issue @dotnet-bot test Windows x86 Release Build |
I went through all changes to
corefx\srcin release/2.1 since 2.1.0, and I believe that these are all of the packages that should have been shipped for servicing, but weren't.packages.buildsbefore we could ship the changes from the linked PR. See 8dabbd8#diff-25d902c24283ab8cfbac54dfa101ad31)@weshaggard @safern PTAL
CC @danmosemsft
[edit] Here's the list of the original 2.1 fix PR's
There are likely other issues that would not be shipped without this PR. The above is just the first change in the library. Eg., #31680