diff --git a/Directory.Build.props b/Directory.Build.props index f9e3a9eb3..1408260f9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -162,20 +162,21 @@ .exe - - $(HostRuntimeIdentifier.Remove($(HostRuntimeIdentifier.LastIndexOf('-'))))-$(TargetArchitecture) + + $(HostRuntimeIdentifier.Remove($(HostRuntimeIdentifier.LastIndexOf('-'))))-$(TargetArchitecture) - win-$(TargetArchitecture) - osx-$(TargetArchitecture) - linux-$(TargetArchitecture) - freebsd-$(TargetArchitecture) + win-$(TargetArchitecture) + osx-$(TargetArchitecture) + linux-$(TargetArchitecture) + freebsd-$(TargetArchitecture) - $(OutputRid) + $(RuntimeIdentifier) + $(RuntimeIdentifier) @@ -185,7 +186,7 @@ - $(OutputRid).$(ConfigurationGroup) + $(RuntimeIdentifier).$(ConfigurationGroup) $(BinDir)$(OSPlatformConfig)\ $(BaseOutputRootPath)crossgen\ @@ -207,7 +208,7 @@ false true - $(AssetOutputPath)sharedfx_$(OutputRid)_$(ConfigurationGroup)_version_badge.svg + $(AssetOutputPath)sharedfx_$(RuntimeIdentifier)_$(ConfigurationGroup)_version_badge.svg @@ -232,74 +233,74 @@ false - + true - + true true - + true true true - + true true true - + true true true - + true true true - + true true true - + true true true - + true true true - + true true true - + true true @@ -326,10 +327,10 @@ - - $(OutputRid) - osx.10.10-x64 - rhel.7-x64 + + $(RuntimeIdentifier) + osx.10.10-x64 + rhel.7-x64 diff --git a/Directory.Build.targets b/Directory.Build.targets index f6b0a98c9..43bbce22a 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -2,12 +2,7 @@ - - - - - - + $(MajorVersion).$(MinorVersion) - - - - - - - - - - - - true - true - true - - true - true - true - - -$(VersionSuffix) - $(MajorVersion).$(MinorVersion) - $(ProductBandVersion).$(PatchVersion) - $(ProductionVersion)$(ProductVersionSuffix) - - $(ProductVersion) - - $(SharedFrameworkNugetVersion) - - WindowsDesktop/$(SharedFrameworkNugetVersion)/ - - - - $(SharedFrameworkNugetVersion)-$(PackageTargetRid) - $(HostResolverVersion)-$(PackageTargetRid) - - - - - - - - - - - - - - - N/A - - - diff --git a/Subsets.props b/Subsets.props index a97a55de0..0604de854 100644 --- a/Subsets.props +++ b/Subsets.props @@ -39,21 +39,11 @@ - - - - - - - - - - + + @@ -67,17 +57,6 @@ - - - - - - - - - https://github.com/dotnet/runtime f56a56f90ff9124c85e4d889faeeca0824d2d437 - + https://github.com/dotnet/runtime f56a56f90ff9124c85e4d889faeeca0824d2d437 @@ -143,11 +143,19 @@ https://github.com/dotnet/arcade 4c8515c18ebe0071c32fed467ee3890fbd488898 + + https://github.com/dotnet/arcade + 4c8515c18ebe0071c32fed467ee3890fbd488898 + + + https://github.com/dotnet/arcade + 4c8515c18ebe0071c32fed467ee3890fbd488898 + https://github.com/dotnet/arcade 4c8515c18ebe0071c32fed467ee3890fbd488898 - + https://github.com/dotnet/arcade 4c8515c18ebe0071c32fed467ee3890fbd488898 diff --git a/eng/Versions.props b/eng/Versions.props index fe7a4dbb7..181919add 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -40,11 +40,13 @@ 6.0.0-beta.20630.2 + 6.0.0-beta.20630.2 6.0.0-beta.20630.2 + 6.0.0-beta.20630.2 6.0.0-beta.20630.2 6.0.0-alpha.1.20561.11 - 6.0.0-alpha.1.20561.11 + 6.0.0-alpha.1.20561.11 6.0.0-alpha.1.20561.11 6.0.0-alpha.1.20561.11 diff --git a/global.json b/global.json index afe0392a8..a7a6fb6f7 100644 --- a/global.json +++ b/global.json @@ -4,6 +4,7 @@ }, "msbuild-sdks": { "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.20630.2", - "Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk": "6.0.0-beta.20630.2" + "Microsoft.DotNet.SharedFramework.Sdk": "6.0.0-beta.20630.2", + "Microsoft.Build.NoTargets": "1.0.53" } } diff --git a/pkg/Directory.Build.props b/pkg/Directory.Build.props index 28b9eb7b6..d6880781b 100644 --- a/pkg/Directory.Build.props +++ b/pkg/Directory.Build.props @@ -1,9 +1,8 @@ - - - + + $(NETCoreAppFramework) $(ProjectDir)LICENSE.TXT $(ProjectDir)THIRD-PARTY-NOTICES.TXT https://github.com/dotnet/core-setup/blob/master/LICENSE.TXT @@ -12,207 +11,38 @@ https://go.microsoft.com/fwlink/?LinkID=799417 https://dot.net https://github.com/dotnet/windowsdesktop - - - true - - - - - AnyCPU - - true - - $(PackageOutputPath) - - $(RuntimeIdentifier) - - true - true - - true - - true - - - true - false - - - $(BaseIntermediateOutputPath) - $(RestoreOutputPath)\project.assets.json - true - - - false - - true - - - - NetCore - VS.Redist.Common - - - - - - - - - - - - $(MSBuildProjectName) - - - - true - true - true - - - - - unused - $(NETCoreAppFrameworkMoniker) - $(NETCoreAppFramework) - $(NETCoreAppFramework) - $(CrossGenRootPath)$(MSBuildProjectName)\ - true - true - $(PackageSymbolsBinDir)/$(MSBuildProjectName) - - - $(PackageTargetFramework) - $(NETCoreAppFramework) - - - - - - true - - - true - - - - - $(MSBuildThisFileDirectory)\windowsdesktopRIDs.props - - - - + + - <_buildingOnRID Include="$(PackageRID)" Condition="'$(BuildOnUnknownPlatforms)' != 'false'"> - $(Platform) - - - - - - true - - - - + + + - - - - $(MSBuildProjectFullPath) - - - - <_project Include="@(BuildRID)"> - x64 - %(Identity) - %(BuildRID) - PackageTargetRuntime=%(BuildRID);RuntimeIdentifier=%(BuildRID);Platform=%(Platform) - - - - - - - - - - - @(RestoreBuildRID) - - $(PackageRID) - - - - - - .exe - - .dll - .pdb - - - - - - lib - .dylib - .dwarf - - - - - - lib - .so - .dbg - - - - - - - - - diff --git a/pkg/Directory.Build.targets b/pkg/Directory.Build.targets deleted file mode 100644 index 2cad4593b..000000000 --- a/pkg/Directory.Build.targets +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - - - - - - - - - - - - $(Version) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - - - - - - <_PackageIdentity Include="$(Id)"> - $(PackageVersion) - $(PackageTargetRuntime) - - - - - - - - - - - - - - - - <_PkgProjDependencyWithoutTFM Include="@(PkgProjDependency)" Condition="'%(PkgProjDependency.TargetFramework)' == '' AND '%(PkgProjDependency.TargetRuntime)' == '' AND '%(PkgProjDependency.DoNotExpand)' != 'true'" /> - <_AllPkgProjTFMs Include="%(PkgProjDependency.TargetFramework)" Condition="'%(PkgProjDependency.DependencyKind)' == 'Direct'" /> - - - - - %(_AllPkgProjTFMs.Identity) - - - - - - - - - - - - - - - $(BuildTargetPath)$(Id).props - $(BuildTargetPath)$(Id.Replace('.Internal', '')).PlatformManifest.txt - - - - - - - - - - - - - - <_propsFileTemplateFile Condition="'%(_depprojDataFile.PropsFile)' == 'true'">%(_depprojDataFile.Identity) - - - - <_runtimeDependencyItems>@(RuntimeDependency) - <_filledPropsFileContent>$([System.IO.File]::ReadAllText('$(_propsFileTemplateFile)') - .Replace("__PackageId__", "$(Id.Replace('.', '_'))") - .Replace("__PreferredPackages__", "$(Id);$(_runtimeDependencyItems)")) - - - <_filledPropsFile>$(IntermediateOutputPath)$(MSBuildProjectName).props - - - - - - - - - - - - - <_platformManifestFileTemplateFile Condition="'%(_depprojDataFile.PlatformManifestFile)' == 'true'">%(_depprojDataFile.Identity) - - - - <_runtimeDependencyItems>@(RuntimeDependency) - <_filledPlatformManifestFileContent>$([System.IO.File]::ReadAllText('$(_platformManifestFileTemplateFile)') - .Replace("__PackageId__", "$(Id)")) - - - <_filledPlatformManifestFile>$(IntermediateOutputPath)PlatformManifest.txt - - - - - - - - - - - - FrameworkList.xml - $(IntermediateOutputPath)$(FrameworkListFilename) - - - - - - - - - - - - - - - - $(FrameworkListTargetPath) - - - - - - - - - - - - - - - - - - - - - $(PreReleaseVersionLabel.Substring(0,1).ToUpperInvariant()) - $(ReleaseBrandSuffix)$(PreReleaseVersionLabel.Substring(1)) - $(ReleaseBrandSuffix) $(PreReleaseVersionIteration) - - - - Microsoft .NET Core - $(ProductionVersion) - $(ProductionVersion) $(ReleaseBrandSuffix) - - $(ProductBrandPrefix) Targeting Pack - $(ProductBrandSuffix) - $(ProductBrandPrefix) Runtime - $(ProductBrandSuffix) - - - - - - 5 - - 1996-04-01 - - - - - - - - - - - - - diff --git a/pkg/badge/badge.proj b/pkg/badge/badge.proj index ebfa5f0e7..a37ad4c17 100644 --- a/pkg/badge/badge.proj +++ b/pkg/badge/badge.proj @@ -1,8 +1,7 @@ - + $(MSBuildThisFileDirectory)version_badge.svg @@ -11,7 +10,7 @@ diff --git a/pkg/packageIndex.json b/pkg/packageIndex.json deleted file mode 100644 index 7a73a41bf..000000000 --- a/pkg/packageIndex.json +++ /dev/null @@ -1,2 +0,0 @@ -{ -} \ No newline at end of file diff --git a/pkg/packaging.stubs.targets b/pkg/packaging.stubs.targets deleted file mode 100644 index 120f000cb..000000000 --- a/pkg/packaging.stubs.targets +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - diff --git a/pkg/signed-bundle/signed-bundle.proj b/pkg/signed-bundle/signed-bundle.proj deleted file mode 100644 index 59d4b5e27..000000000 --- a/pkg/signed-bundle/signed-bundle.proj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pkg/vs-insertion-packages/vs-insertion-packages.proj b/pkg/vs-insertion-packages/vs-insertion-packages.proj deleted file mode 100644 index 86af084d8..000000000 --- a/pkg/vs-insertion-packages/vs-insertion-packages.proj +++ /dev/null @@ -1,21 +0,0 @@ - - - - - $(NETCoreAppFramework) - - - - - - - - - - - - - diff --git a/pkg/windowsdesktop/Directory.Build.props b/pkg/windowsdesktop/Directory.Build.props index 486f4a973..01d8138df 100644 --- a/pkg/windowsdesktop/Directory.Build.props +++ b/pkg/windowsdesktop/Directory.Build.props @@ -8,10 +8,6 @@ windowsdesktop - $(SharedFrameworkName) - - WindowsDesktop - true - - - $(MicrosoftNETCoreAppRuntimewinx64Version) diff --git a/pkg/windowsdesktop/Directory.Build.targets b/pkg/windowsdesktop/Directory.Build.targets index 92127e428..ed5cb3b03 100644 --- a/pkg/windowsdesktop/Directory.Build.targets +++ b/pkg/windowsdesktop/Directory.Build.targets @@ -1,12 +1,7 @@ - - - - $(NuGetPackageRoot)Microsoft.NETCore.App.Ref\$(MicrosoftNETCoreAppRefVersion)\ - $(NuGetPackageRoot)Microsoft.NETCore.App.Runtime.$(PackageTargetRuntime)\$(MicrosoftNETCoreAppRuntimewinx64Version)\ - - + + + - diff --git a/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Bundle.bundleproj b/pkg/windowsdesktop/bundle/Microsoft.WindowsDesktop.App.Bundle.bundleproj similarity index 66% rename from pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Bundle.bundleproj rename to pkg/windowsdesktop/bundle/Microsoft.WindowsDesktop.App.Bundle.bundleproj index de9206608..dc2f79ecc 100644 --- a/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Bundle.bundleproj +++ b/pkg/windowsdesktop/bundle/Microsoft.WindowsDesktop.App.Bundle.bundleproj @@ -1,39 +1,41 @@ - - + Windows Desktop Shared Framework Bundle Installer + win-x64;win-x86 + $(MSBuildProjectDirectory) + windowsdesktop-runtime + Runtime + false - - - - - + + + <_RuntimeIdentifierForNETCoreMsiRestore Include="win-x86;win-x64" /> + + Include="@(_RuntimeIdentifierForNETCoreMsiRestore)" + Condition="'$(InstallerRuntimeIdentifier)' == '%(Identity)'" + Arch="$([System.String]::new('%(Identity)').Replace('win-', ''))" /> @@ -43,14 +45,14 @@ + BeforeTargets="_GetBundledComponentInstallers"> - + Condition="'$(RuntimeIdentifier)' == '%(Identity)'" /> diff --git a/pkg/windowsdesktop/sfx/bundle.thm b/pkg/windowsdesktop/bundle/bundle.thm similarity index 100% rename from pkg/windowsdesktop/sfx/bundle.thm rename to pkg/windowsdesktop/bundle/bundle.thm diff --git a/pkg/windowsdesktop/sfx/bundle.wxl b/pkg/windowsdesktop/bundle/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/bundle.wxl rename to pkg/windowsdesktop/bundle/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1028/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1028/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1028/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1028/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1029/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1029/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1029/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1029/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1031/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1031/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1031/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1031/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1033/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1033/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1033/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1033/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1036/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1036/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1036/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1036/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1040/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1040/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1040/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1040/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1041/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1041/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1041/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1041/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1042/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1042/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1042/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1042/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1045/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1045/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1045/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1045/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1046/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1046/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1046/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1046/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1049/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1049/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1049/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1049/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/1055/bundle.wxl b/pkg/windowsdesktop/bundle/theme/1055/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/1055/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/1055/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/2052/bundle.wxl b/pkg/windowsdesktop/bundle/theme/2052/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/2052/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/2052/bundle.wxl diff --git a/pkg/windowsdesktop/sfx/theme/3082/bundle.wxl b/pkg/windowsdesktop/bundle/theme/3082/bundle.wxl similarity index 100% rename from pkg/windowsdesktop/sfx/theme/3082/bundle.wxl rename to pkg/windowsdesktop/bundle/theme/3082/bundle.wxl diff --git a/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.Ref.pkgproj b/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.Ref.pkgproj deleted file mode 100644 index 35e3d8428..000000000 --- a/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.Ref.pkgproj +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.Runtime.pkgproj b/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.Runtime.pkgproj deleted file mode 100644 index 35e3d8428..000000000 --- a/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.Runtime.pkgproj +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.pkgproj b/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.pkgproj deleted file mode 100644 index f25446966..000000000 --- a/pkg/windowsdesktop/pkg/Microsoft.WindowsDesktop.App.pkgproj +++ /dev/null @@ -1,71 +0,0 @@ - - - - - true - build/$(NETCoreAppFramework)/ - - data/ - - net - $(NETCoreAppFrameworkVersion) - $(TargetFrameworkName)$(TargetFrameworkVersion) - - - false - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pkg/windowsdesktop/src/windowsdesktop.depproj b/pkg/windowsdesktop/sfx/Directory.Build.props similarity index 74% rename from pkg/windowsdesktop/src/windowsdesktop.depproj rename to pkg/windowsdesktop/sfx/Directory.Build.props index 2553a4d58..808e29156 100644 --- a/pkg/windowsdesktop/src/windowsdesktop.depproj +++ b/pkg/windowsdesktop/sfx/Directory.Build.props @@ -1,9 +1,24 @@ - + + + + false + + + + Microsoft.WindowsDesktop.App + Windows Desktop + $(NETCoreAppFramework) + $(MicrosoftNETCoreAppRefVersion) + $(RepoRoot)LICENSE + true + true + + + - - + @@ -27,11 +42,4 @@ - - - - diff --git a/pkg/windowsdesktop/sfx/Directory.Build.targets b/pkg/windowsdesktop/sfx/Directory.Build.targets new file mode 100644 index 000000000..26e0d7391 --- /dev/null +++ b/pkg/windowsdesktop/sfx/Directory.Build.targets @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pkg/windowsdesktop/pkg/Directory.Build.props b/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Ref.sfxproj similarity index 72% rename from pkg/windowsdesktop/pkg/Directory.Build.props rename to pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Ref.sfxproj index 20ef87f87..b8167e082 100644 --- a/pkg/windowsdesktop/pkg/Directory.Build.props +++ b/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Ref.sfxproj @@ -1,38 +1,20 @@ - + + - true + TargetingPack + $(PkgMicrosoft_Private_Winforms)\FrameworkListFiles.props + $(MSBuildThisFileDirectory)Microsoft.WindowsDesktop.App.Runtime.sfxproj + windowsdesktop-targeting-pack + windowsdesktop-targeting-pack + win-x64;win-x86;win-arm64 + WindowsDesktop.TargetingPack - - - - Windows Desktop $(NETCoreAppFrameworkVersion) - $(NETCoreAppFrameworkIdentifier) - $(NETCoreAppFrameworkVersion) - $(FrameworkPackageName) - - $(NUGET_PACKAGES)\Microsoft.Private.Winforms\$(MicrosoftPrivateWinformsVersion)\FrameworkListFiles.props - - - - false - false - false - - - - - - - - + @@ -65,7 +47,7 @@ - + @@ -88,10 +70,8 @@ - - - RuntimeIdentifier=$(PackageTargetRuntime) - + + diff --git a/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Runtime.sfxproj b/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Runtime.sfxproj new file mode 100644 index 000000000..26ee094fb --- /dev/null +++ b/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.Runtime.sfxproj @@ -0,0 +1,10 @@ + + + + RuntimePack + windowsdesktop-runtime + windowsdesktop-runtime + win-x64;win-x86;win-arm64 + WindowsDesktop.SharedFramework + + diff --git a/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.SharedFx.sfxproj b/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.SharedFx.sfxproj deleted file mode 100644 index 40106e5ac..000000000 --- a/pkg/windowsdesktop/sfx/Microsoft.WindowsDesktop.App.SharedFx.sfxproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - Microsoft.WindowsDesktop.App - - true - - - - - - - - - - - - - - - - - - diff --git a/pkg/windowsdesktopRIDs.props b/pkg/windowsdesktopRIDs.props deleted file mode 100644 index 5d6d2dfb7..000000000 --- a/pkg/windowsdesktopRIDs.props +++ /dev/null @@ -1,20 +0,0 @@ - - - - - $(OutputRid) - - - false - - - - - - - - - diff --git a/src/windowsdesktop/Directory.Build.props b/src/windowsdesktop/Directory.Build.props index 339639b37..98ae5e638 100644 --- a/src/windowsdesktop/Directory.Build.props +++ b/src/windowsdesktop/Directory.Build.props @@ -10,6 +10,8 @@ $(ObjDir)ExtraNupkgsForTestRestore\ $(TargetArchitecture) net5.0 + + diff --git a/src/windowsdesktop/Directory.Build.targets b/src/windowsdesktop/Directory.Build.targets index 2a4116204..c58fff345 100644 --- a/src/windowsdesktop/Directory.Build.targets +++ b/src/windowsdesktop/Directory.Build.targets @@ -2,7 +2,6 @@ @@ -28,7 +27,7 @@ the same as the package's version. Fetch this directly from the project to avoid guesswork. --> diff --git a/src/windowsdesktop/tests/NuGetArtifactTester.cs b/src/windowsdesktop/tests/NuGetArtifactTester.cs index b46b78150..48f19db38 100644 --- a/src/windowsdesktop/tests/NuGetArtifactTester.cs +++ b/src/windowsdesktop/tests/NuGetArtifactTester.cs @@ -35,30 +35,18 @@ public static NuGetArtifactTester OpenOrNull( { id = id ?? project; - string nuspecPath = Path.Combine( + string nupkgPath = Path.Combine( dirs.BaseArtifactsFolder, "packages", dirs.Configuration, - "specs", - $"{id}.nuspec"); + "Shipping", + $"{id}.${dirs.MicrosoftNETCoreAppVersion}.nupkg"); - if (!File.Exists(nuspecPath)) + if (!File.Exists(nupkgPath)) { return null; } - PackageIdentity builtIdentity = new NuspecReader(nuspecPath).GetIdentity(); - - string nupkgPath = Path.Combine( - dirs.BaseArtifactsFolder, - "packages", - dirs.Configuration, - "Shipping", - $"{builtIdentity}.nupkg"); - - // If the nuspec exists, the nupkg should exist. - Assert.True(File.Exists(nupkgPath)); - return new NuGetArtifactTester(nupkgPath); } diff --git a/tools-local/Directory.Build.props b/tools-local/Directory.Build.props index cd6ba441d..bd2bcb6cf 100644 --- a/tools-local/Directory.Build.props +++ b/tools-local/Directory.Build.props @@ -4,6 +4,8 @@ true + + \ No newline at end of file