Conversation
dougbu
left a comment
There was a problem hiding this comment.
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 |
|
|
||
| #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) |
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?