Skip to content
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

Update assembly version from hardcoded to MajorVersion and update NetCoreAppCurrent to net8.0 #78354

Merged
merged 47 commits into from
Dec 5, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
17764b9
Update assembly version from hardcoded to MajorVersion
carlossanlop Nov 15, 2022
04be22b
Adjust Microsoft.VisualBasic.Core
carlossanlop Nov 15, 2022
e1ab7c4
Adjust System.Diagnostics.EventLog
carlossanlop Nov 15, 2022
b74da6d
Adjust System.Resources.Extensions
carlossanlop Nov 15, 2022
498421e
Adjust System.Runtime.Serialization.Xml
carlossanlop Nov 15, 2022
7b33ff9
Extract the LocalEchoServer bits from the projects so that the helix …
carlossanlop Nov 15, 2022
1091cec
Build the LocalEchoServers specifically without using artifacts
carlossanlop Nov 15, 2022
2a40f98
Add missing files
carlossanlop Nov 15, 2022
39e41c8
Use eng/targetingpacks.targets instead of wasm specific targets
carlossanlop Nov 15, 2022
bda1ada
Avoid duplicate imports, and don't use the targetingpacks.targets for…
carlossanlop Nov 15, 2022
406dc14
Update NetCoreAppCurrent to net8.0 and NetCoreAppPrevious
ViktorHofer Nov 16, 2022
057c3f8
Add NetCoreAppPrevious tfm to out-of-band projects
ViktorHofer Nov 16, 2022
7a24341
Update reference source projects with new tfm
ViktorHofer Nov 18, 2022
7b27686
Set maximum version early enough for SDK features
ViktorHofer Nov 18, 2022
da173cc
Update suppression files for tfm change
ViktorHofer Nov 18, 2022
28fa14d
Merge remote-tracking branch 'origin/main' into Net8ChangesSecondAttempt
ViktorHofer Nov 18, 2022
ba30472
Fix libraries build because of ILLink warning
ViktorHofer Nov 18, 2022
46780fd
Update 'net7.0' usages in the repo
ViktorHofer Nov 18, 2022
fa358ce
Update ymls
ViktorHofer Nov 18, 2022
1068c54
Make trimming tests use the live built apphost
ViktorHofer Nov 21, 2022
51ecadc
Add trimmingTests.props
ViktorHofer Nov 21, 2022
2206104
UseLiveAppHost
ViktorHofer Nov 21, 2022
5274dc5
Merge remote-tracking branch 'upstream/main' into Net8ChangesSecondAt…
ViktorHofer Nov 22, 2022
94e88d9
Clean-up shared CoreLib suppression file
ViktorHofer Nov 22, 2022
eaff756
Live apphost issues with NativeExports
ViktorHofer Nov 25, 2022
b0c8d0b
Merge branch 'main' into Net8ChangesSecondAttempt
ViktorHofer Nov 29, 2022
8f156e4
Merge branch 'main' into Net8ChangesSecondAttempt
ViktorHofer Dec 1, 2022
00c3911
Update hardcoded tfm values in wasm build files
ViktorHofer Dec 1, 2022
556b2cb
Remove explicit TF specification from JIT test
agocke Dec 1, 2022
a2bf701
[wasm] Fix debugger tests to run with net8.0
radical Dec 1, 2022
d343750
Merge branch 'Net8ChangesSecondAttempt' of https://github.com/carloss…
radical Dec 1, 2022
338b4c3
[wasi] Sample: change net7.0 -> net8.0
radical Dec 1, 2022
79c28de
add comment
radical Dec 1, 2022
7194ec3
Don't try to restore 8.0 ILC with 7.0 SDK
sbomer Dec 2, 2022
03ee362
Add missing file
radical Dec 2, 2022
5435aa8
Add KnownILCompilerPack entry to targetingpacks.targets
ViktorHofer Dec 2, 2022
739493d
Merge remote-tracking branch 'origin/main' into Net8ChangesSecondAttempt
ViktorHofer Dec 2, 2022
cfad266
Fix Hashing API only available in ref/Hashing net8.0.
ViktorHofer Dec 2, 2022
2e136ad
Fix APICompat issue
ViktorHofer Dec 2, 2022
70a3755
Fix more apicompat issues
ViktorHofer Dec 2, 2022
9d808ba
Specify host configuration when building the host in yml
ViktorHofer Dec 2, 2022
d24dea5
Update AppleApp local build NetCoreAppCurrent
ViktorHofer Dec 2, 2022
2a815b2
Fix S.S.Permissions apicompat suppression file
ViktorHofer Dec 2, 2022
ee2300e
Hack support for net8.0 tfm in installer tests
ViktorHofer Dec 2, 2022
83279ca
Allow NativeExports to use a prebuilt apphost
ViktorHofer Dec 4, 2022
adcc6c8
UseLocalAppHostPack property
ViktorHofer Dec 4, 2022
8907d92
Fix apphostsourcepath in DNNE project
ViktorHofer Dec 5, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,27 @@

<!-- The TFMs to build and test against. -->
<PropertyGroup>
<NetCoreAppCurrentVersion>7.0</NetCoreAppCurrentVersion>
<NetCoreAppCurrentVersion>8.0</NetCoreAppCurrentVersion>
carlossanlop marked this conversation as resolved.
Show resolved Hide resolved
<NetCoreAppCurrentIdentifier>.NETCoreApp</NetCoreAppCurrentIdentifier>
<NetCoreAppCurrentTargetFrameworkMoniker>$(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppCurrentVersion)</NetCoreAppCurrentTargetFrameworkMoniker>
<MicrosoftNetCoreAppFrameworkName>Microsoft.NETCore.App</MicrosoftNetCoreAppFrameworkName>
<NetCoreAppCurrentBrandName>.NET $(NetCoreAppCurrentVersion)</NetCoreAppCurrentBrandName>
<NetCoreAppCurrent>net$(NetCoreAppCurrentVersion)</NetCoreAppCurrent>

<!-- The previous supported .NET version. -->
<NetCoreAppPreviousVersion>7.0</NetCoreAppPreviousVersion>
<NetCoreAppPrevious>net$(NetCoreAppPreviousVersion)</NetCoreAppPrevious>
<NetCoreAppPrevious Condition="'$(DotNetBuildFromSource)' == 'true'">$(NetCoreAppCurrent)</NetCoreAppPrevious>
<NetCoreAppPreviousPackageBaselineVersion>$(NetCoreAppPreviousVersion).0</NetCoreAppPreviousPackageBaselineVersion>
carlossanlop marked this conversation as resolved.
Show resolved Hide resolved

<!-- The minimum supported .NET version. -->
<NetCoreAppMinimum>net6.0</NetCoreAppMinimum>
<NetCoreAppMinimum Condition="'$(DotNetBuildFromSource)' == 'true'">$(NetCoreAppCurrent)</NetCoreAppMinimum>

<NetCoreAppToolCurrentVersion>7.0</NetCoreAppToolCurrentVersion>
<NetCoreAppToolCurrent>net$(NetCoreAppToolCurrentVersion)</NetCoreAppToolCurrent>
<NetCoreAppCurrentToolTargetFrameworkMoniker>$(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppToolCurrentVersion)</NetCoreAppCurrentToolTargetFrameworkMoniker>

<NetCoreAppLatestStableVersion>6.0</NetCoreAppLatestStableVersion>
<NetCoreAppLatestStablePackageBaselineVersion>$(NetCoreAppLatestStableVersion).0</NetCoreAppLatestStablePackageBaselineVersion>
<NetCoreAppLatestStable>net$(NetCoreAppLatestStableVersion)</NetCoreAppLatestStable>

<AspNetCoreAppCurrentVersion>7.0</AspNetCoreAppCurrentVersion>
<AspNetCoreAppCurrent>net$(AspNetCoreAppCurrentVersion)</AspNetCoreAppCurrent>

Expand Down
2 changes: 1 addition & 1 deletion eng/packaging.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<EnablePackageValidation Condition="'$(EnablePackageValidation)' == ''">true</EnablePackageValidation>
<!-- Don't restore prebuilt packages during sourcebuild. -->
<DisablePackageBaselineValidation Condition="'$(DotNetBuildFromSource)' == 'true'">true</DisablePackageBaselineValidation>
<PackageValidationBaselineVersion Condition="'$(PackageValidationBaselineVersion)' == ''">$(NetCoreAppLatestStablePackageBaselineVersion)</PackageValidationBaselineVersion>
<PackageValidationBaselineVersion Condition="'$(PackageValidationBaselineVersion)' == ''">$(NetCoreAppPreviousPackageBaselineVersion)</PackageValidationBaselineVersion>
<BeforePack>$(BeforePack);IncludeAnalyzersInPackage;AddNETStandardCompatErrorFileForPackaging</BeforePack>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);AddRuntimeSpecificFilesToPackage;IncludeProjectReferencesWithPackAttributeInPackage</TargetsForTfmSpecificContentInPackage>
<IncludeBuildOutput Condition="'$(TargetPlatformIdentifier)' != ''">false</IncludeBuildOutput>
Expand Down
10 changes: 5 additions & 5 deletions src/libraries/apicompat/ApiCompat.proj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>

<ItemGroup>
<ApiCompatNetCoreAppLatestStableLeftAssembliesTransformationPattern Include=".+%5C$([System.IO.Path]::DirectorySeparatorChar)(.+)" ReplacementString="$(NetCoreAppLatestStable)/$1" />
<ApiCompatNetCoreAppLatestStableLeftAssembliesTransformationPattern Include=".+%5C$([System.IO.Path]::DirectorySeparatorChar)(.+)" ReplacementString="$(NetCoreAppPrevious)/$1" />
<ApiCompatNetStandard21LeftAssembliesTransformationPattern Include=".+%5C$([System.IO.Path]::DirectorySeparatorChar)(.+)" ReplacementString="netstandard2.1/$1" />
<ApiCompatNetStandard20LeftAssembliesTransformationPattern Include=".+%5C$([System.IO.Path]::DirectorySeparatorChar)(.+)" ReplacementString="netstandard2.0/$1" />
<ApiCompatNetCoreAppCurrentRightAssembliesTransformationPattern Include=".+%5C$([System.IO.Path]::DirectorySeparatorChar)(.+)" ReplacementString="$(NetCoreAppCurrent)/$1" />
Expand All @@ -33,7 +33,7 @@
</ItemGroup>

<ItemGroup>
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[$(NetCoreAppLatestStablePackageBaselineVersion)]" />
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[$(NetCoreAppPreviousPackageBaselineVersion)]" />
<PackageDownload Include="NETStandard.Library.Ref" Version="[$(NETStandardLibraryRefVersion)]" />
<PackageDownload Include="NETStandard.Library" Version="[$(NetStandardLibraryVersion)]" />
<PackageReference Include="Microsoft.DotNet.ApiCompat.Task" Version="$(MicrosoftDotNetApiCompatTaskVersion)" IsImplicitlyDefined="true" />
Expand All @@ -44,11 +44,11 @@
AfterTargets="Build"
Inputs="@(ReferencePathWithRefAssemblies);$(ApiCompatNetStandard20BaselineFile);$(ApiCompatNetStandard21BaselineFile);$(ApiCompatNetCoreAppLatestStableBaselineFile);@(ApiCompatExcludeAttributesFile)"
Outputs="$(IntermediateOutputPath)$(TargetArchitecture)-marker.txt">
<Message Text="ApiCompat -> Comparing $(NetCoreAppCurrent) reference assemblies against .NETStandard2.x and .NETCoreApp$(NetCoreAppLatestStableVersion)..." Importance="high" />
<Message Text="ApiCompat -> Comparing $(NetCoreAppCurrent) reference assemblies against .NETStandard2.x and $(NetCoreAppPrevious)..." Importance="high" />

<!-- ApiCompat: NetCoreAppCurrent <-> NetCoreAppLatestStable -->
<!-- ApiCompat: NetCoreAppCurrent <-> NetCoreAppPrevious -->
<Microsoft.DotNet.ApiCompat.Task.ValidateAssembliesTask
LeftAssemblies="$([MSBuild]::NormalizeDirectory('$(NuGetPackageRoot)', 'microsoft.netcore.app.ref', '$(NetCoreAppLatestStablePackageBaselineVersion)', 'ref', '$(NetCoreAppLatestStable)'))"
LeftAssemblies="$([MSBuild]::NormalizeDirectory('$(NuGetPackageRoot)', 'microsoft.netcore.app.ref', '$(NetCoreAppPreviousPackageBaselineVersion)', 'ref', '$(NetCoreAppPrevious)'))"
RightAssemblies="@(ReferencePathWithRefAssemblies)"
RoslynAssembliesPath="$(RoslynAssembliesPath)"
GenerateCompatibilitySuppressionFile="$(GenerateCompatibilitySuppressionFile)"
Expand Down