-
Notifications
You must be signed in to change notification settings - Fork 353
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
Prepare for 5.3.0-preview1 #401
Conversation
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.
This is insufficient because it doesn't bump the System.Net.Http.Formatting.dll assembly version. Main change likely in src/CommonAssemblyInfo.cs
Probably worth updating https://github.com/aspnet/AspNetWebStack/blob/main/src/WebApiHelpPage/WebApiHelpPage.nuspec and https://github.com/aspnet/AspNetWebStack/blob/main/src/WebApiHelpPage/VB/WebApiHelpPage.VB.nuspec. Not great we ignored those files since 5.1.0-alpha-0, even though the inconsistency is mainly about confusion w.r.t. the packages eventually shipped. |
Note as well that those labels don't show up in assembly versions |
I already changed
Those versions haven't been touched in 10 years - are you sure we should be updating them now? |
Note CommonAssemblyInfo.cs keys off defines like I believe the same defines are used when building from the TFS (Tooling) repo.
Yes, it was an oversight I noticed ages ago but kept forgetting. We just redid whatever we'd done before w/o stepping back enough to see what we were missing. Even if the versions were wildly incorrect, we're reducing confusion / inconsistency here. |
The three System.Net.Http.Formatting projects already define
It's not clear to me what you mean by this, could you elaborate? What should that apply to?
Ok, I'll update that with my next commit |
Sort of.
Sorry. I was just trying to separate adding the define (in the projects) from using it (in the C# file). |
Updated |
@@ -24,12 +24,17 @@ | |||
// BUILD_GENERATED_VERSION will be set in any CI build. Versions below are not used. | |||
// =================================================================================== | |||
|
|||
#if (ASPNETMVC && (ASPNETWEBPAGES || ASPNETFACEBOOK)) || (ASPNETWEBPAGES && ASPNETFACEBOOK) | |||
#error Runtime projects cannot define more than one of ASPNETMVC, ASPNETWEBPAGES or ASPNETFACEBOOK | |||
#if (ASPNETMVC && (ASPNETWEBPAGES || ASPNETFACEBOOK || ASPNETHTTPFORMATTING)) || (ASPNETWEBPAGES && (ASPNETFACEBOOK || ASPNETHTTPFORMATTING)) || (ASPNETFACEBOOK && ASPNETHTTPFORMATTING) |
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 didn't find anything in this repo that seems to correspond to package version label (
servicing
,rtm
,preview
, etc) - I believe that's all on the TFS side since that's where we do packing. @dougbu can you confirm?