Repository navigation
Produce a .version file for Microsoft.NETCore.App in the runtime layout. - #47717
3 commits merged into
Conversation
| </ItemGroup> | ||
|
|
||
| <!-- VS uses this file to show the target framework in the drop down. --> | ||
| <Target Name="CreateDotVersionFile" DependsOnTargets="InitializeSourceControlInformationFromSourceControlManager" BeforeTargets="GetFilesToPublish"> |
There was a problem hiding this comment.
Is this not needed all up? aka, will this fit better on the SFX sdk. Also, this feels like a really soft contract with VS. Why do they need said file? And can this be tested for, or added as a check in the SFX sdk?
There was a problem hiding this comment.
@dsplaisted can speak more to the implicit contract with VS and if we need to do this all up in the SFX SDK.
There was a problem hiding this comment.
I don't know the details, it has to do with how the template engine works. @phenning or someone from @donJoseLuis's team can probably explain more about it.
It does seem like it should go in the shared framework SDK, as it looks like all 3 shared frameworks in .NET 5 had the .version file. But if we want to fix this for .NET 6 preview 1 then we might want a quicker change in this repo for that.
…App.Runtime.sfxproj
…App.Runtime.sfxproj
hoyosjs
left a comment
There was a problem hiding this comment.
It this is needed for 6.0p1, this looks good. Just remains the question of the contract with VS and if it should be in the SFX SDK, but that shouldn't block this.
ViktorHofer
left a comment
There was a problem hiding this comment.
Looks good, thanks. Let's make sure that we follow-up on moving this into the sfx sdk if appropriate.
Good to know. If this was just for runtime, then I'd recommend using a file that needs to be present, like |
|
I'll start the process of backporting this to 6.0p1 tomorrow morning first thing. And start working on integrating this into the SDK in Arcade for master after that. |
|
Hello @jkoritzinsky! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
/backport to release/6.0-preview1 |
|
Started backporting to release/6.0-preview1: https://github.com/dotnet/runtime/actions/runs/529421739 |
Fixes an issue with VS not showing .NET 6 in the TFM dropdown for a new project.