Update the S.R.E package and implementation#6636
Conversation
|
/cc: @weshaggard , @ericstj Please take a look @eerhardt This should hopefully unblock you tomorrow. |
| <!-- Package dependency validation --> | ||
| <PropertyGroup> | ||
| <ValidatePackageVersions>true</ValidatePackageVersions> | ||
| <!-- Temporarily disabled the validation --> |
There was a problem hiding this comment.
We shouldn't disable this for the entire repo. I assume if you need to disable it you can do it at the project level.
There was a problem hiding this comment.
There is no good way to disable it only at an individual level. The property is not wired correctly. Since, this is only for a day, I thought this will be easiest
|
You are using a mix of package dependencies and project references. Why not just use one or the other? |
|
I tried moving completely to ProjectReference but that hit issues with netcoreaot builds for S.R.TE (I will need to depend on S.P.R which won't sit well with S.P.R.E references in the netcoreaot). And when I used the packageUpdate only, S.R.E tests broke for even though they depended on .NetCore.Platforms 903 package, the System.Reflection.dll getting added to the test bin drop did not have the right TypeForwarders (forcing me to use ProjectReference there). |
|
so the idea is to do this for one build then fix it tomorrow? |
|
@dagood is there a way to create one-off exceptions to validation? |
I am not sure why S.R.TE tests still need ProjectReference when I updated to the most recent package but I am trying to dig in further. Unless that uncovers another issue, I do intend to fix this in a proper way after tomorrow's build. Taking P2P references unless necessary makes things brittle. |
|
@ericstj I know of two ways:
I didn't put a way to exclude into the task, so nothing more specific than that as far as I know. |
|
The Ubuntu tests failed.
@dotnet-bot test Innerloop Ubuntu Debug Build and Test please |
|
Please let me know if there are any further comments, I would like to check this in before the build snaps for the day. |
|
I'm ok with this so long as we undo it immediately following the successful build and package upgrade. We'll need to do a similar dance in the Rel branch. |
To the CLI and other consumers, doing this in the Rel branch is the more important task. We can only reference rc2 packages, and right now the rc2 builds are broke. You can't build anything that references System.Reflection. |
Can you help me understand this a little bit more? System.Reflection update happened only 2 days back so those changes should not be in the rc2 packages right? |
@weshaggard and @ellismg can correct me if I'm wrong, but I think If I try to {
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23903"
},
"frameworks": {
"netstandardapp1.5": {
"imports": [ "dnxcore50" ]
}
}
}using System;
using System.Reflection;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine(BindingFlags.Instance);
}
}
}I get: Notice I'm using "NETStandard.Library": "1.0.0-rc2-23903" |
903 is the most recent build. I am not sure how this is done. I will sync up with wes and eric offline and make sure we have story for rel branch as well. Thanks for pointing out. |
Baring unusual circumstances (e.g. the internal build being on the floor), ProjectK (RC3) FI's to ProjectKRel (Nightly). The Note that we have a new build out today |
|
BTW, if there's a commit you need fast traced into RC2, please let me know the hash or TFS changeset and I can ensure it's in the next build. |
Sweet. Thanks @ellismg. I will let you know in a couple of hours once I make sure all the bases are covered. |
|
Thanks for the review. Once, we have an official build I will cleanup these changes and move the complete corefx to the new packages in this and rc2 branch. |
Update the System.Reflection.TypeExtensions package.
Update the System.Reflection.TypeExtensions package. Commit migrated from dotnet/corefx@5f1ca2d
This change type forwards the type BindingFlags in S.R.TE to S.R to prevent type collision