Граф коммитов

89 Коммитов

Автор SHA1 Сообщение Дата
Rakesh Singh 14fdb1aa27
Enable building OpenSuse installers (#3394)
* Enable building OpenSuse installers

* Fixing the PR build and updating per feedback.
2017-11-09 14:22:13 -08:00
JC Aguilera e21409864e
TransportFeed URL update
Updating URL to point to the new main feed
2017-11-01 15:34:32 -07:00
Wes Haggard 3aa233dbd0 Set NETCoreAppMaximumVersion to the current version in the branch 2017-10-27 13:21:23 -07:00
Eric Erhardt cd7c3d21ac Fix output directories.
1. Use PackageOutputPath variable exclusively everywhere instead of our own name for the same path.
2. Split nuget packages and installer assets into separate paths - packages and assets.
2017-10-27 09:10:02 -07:00
Eric Erhardt f6e89c248c Fix up build and tests now that we are using SDK 2.0.0. 2017-10-27 09:10:02 -07:00
wtgodbe 685870bcf9 Restore from transport feed in test build 2017-10-26 13:29:46 -07:00
Rakesh Singh 1f1349b530 Enable building debian installer for Dotnet Runtime Dependencies package (#3317)
* Enable building debian installers for Dotnet Runtime Meta packages ( Pre-requisite system packages )

* Updated per PR feedbacks

* Refactor LibIcuPackage compute step
2017-10-23 16:56:32 -07:00
Eric Erhardt dee7e24792 Fix Tizen build by passing through OutputRid, if it is defined. 2017-10-23 13:37:30 -05:00
Eric Erhardt 6314c2bede Temporarily work around not having https://github.com/dotnet/buildtools/pull/1707 in buildtools/master. 2017-10-09 21:08:22 -05:00
Eric Erhardt 3119d09f2b Merge remote-tracking branch 'upstream/dev/release/2.0.0' 2017-10-09 14:09:17 -05:00
Eric Erhardt 815ca5d269 Handle RIDs better during the build.
Currently, when building non-portable on a win10 machine, core-setup restores and produces `win7` RID assets.  This causes problems in source-build since corefx produces `win10` assets on the same machine. Thus, core-setup can't use the corefx assets because win10 is not compatible with win7.

In fixing this, I refactored the way RIDs are handled during the build.  We have 3 main RID usages:
* What is the RID of the current machine?  $(HostMachineRid)
* What is the RID of the toolset we are using to build?  core-setup doesn't have this scenario yet, but corefx calls this $(ToolRuntimeRID)
* What is the RID that the current build is producing outputs for?  $(OutputRid)
2017-10-03 16:02:40 -05:00
Eric Erhardt b4e013374b Fix dotnet publish of sharedFramework on source-build. 2017-10-02 20:53:54 -05:00
Eric Erhardt 9664a4db69 Use intermediate package cache to pick up source built packages.
There are cases where we build the same version of an already shipped package, and need to ensure we use the package that was built locally.
2017-10-02 10:11:50 -05:00
Eric Erhardt 51b1b451f0 Allow restore without internet sources 2017-10-02 10:11:50 -05:00
Eric Erhardt 4afde93855 Port VersionSuffix changes from release/2.0.0 to master.
This change brings d85d263924 into master, along with removing an unnecessary VersionSuffix setting in CommonManaged.props.
2017-09-26 17:06:36 -05:00
Eric Erhardt edf50f8c2a Default Platform=AnyCPU for managed projects.
Also clean up the "Architecture" MSBuild property, which isn't used.
2017-09-25 15:34:42 -05:00
Eric Erhardt 95a0593dc4 Pass PortableBuild property through to all MSBuild instances. 2017-09-25 15:34:37 -05:00
Eric Erhardt 78341778f7 Fix the tests by passing Configuration into the tests.
Fix the build on non-Windows by passing the right MSBuild properties down.

Respond to PR feedback.
2017-09-25 15:34:26 -05:00
Eric Erhardt a4125aba3e Pass through the Configuration when restoring.
Since BaseIntermediateOutputPath depends on Configuration, it needs to be flown properly.
2017-09-25 15:34:21 -05:00
Eric Erhardt 5bcfb4b8b9 Clean up core-setup build.
Set DisableImplicitNuGetFallbackFolder=false to ensure we never use the NuGet fallback folder that comes with the SDK.

Enable SDK-based projects to import the root dir.props file.  This spawned a few one-off changes since things like the BaseIntermediateOutputPath is now under RepoRoot\Bin and TreatWarningsAsErrors=true.
2017-09-25 15:21:56 -05:00
Eric Erhardt 9555bd94c1 Move common repo directories to isolated props file.
Also remove the dev machine BuildNumberMinor workaround per PR feedback, as this is no longer necessary.
2017-09-25 13:41:41 -05:00
Eric Erhardt df6ab9c2a4 Fix VersionSuffix for the managed projects
VersionSuffix is getting set before $(BuildNumberMajor) and $(BuildNumberMinor) are being set.  When creating the DependencyModel nupkg, it is getting a bad version on its p2p reference to PlatformAbstractions.

The fix is to ensure VersionSuffix is defined correctly in the projects themselves - after the obj\BuildVersion.props file is created.

Workaround https://github.com/NuGet/Home/issues/4337
2017-09-25 13:37:31 -05:00
William Godbe 7eeef66a23 Merge pull request #3161 from wtgodbe/RevertLabel
Revert PreReleaseLabel
2017-09-11 11:49:44 -07:00
wtgodbe a73443a6f5 Revert PreReleaseLabel 2017-09-08 14:20:58 -07:00
Santiago Fernandez 84c95a9bed Move to non-stable packages and upgrade to 2.0.2 2017-09-08 10:31:21 -07:00
Eric Erhardt b1e06a6d28 Automatic updating of buildtools version. 2017-09-07 16:09:48 -05:00
Wes Haggard 8fdda81f78 Mark packages as stable for 2.0.1 release 2017-09-05 19:57:41 -07:00
Eric Erhardt 8be3db8e3d Default Platform=AnyCPU for managed projects.
Also clean up the "Architecture" MSBuild property, which isn't used.
2017-08-30 17:10:24 -05:00
Eric Erhardt 5dc722a082 Pass PortableBuild property through to all MSBuild instances. 2017-08-30 15:12:26 -05:00
Eric Erhardt c7180c5405 Fix the tests by passing Configuration into the tests.
Fix the build on non-Windows by passing the right MSBuild properties down.

Respond to PR feedback.
2017-08-30 14:20:32 -05:00
Eric Erhardt f320e6a8fc Pass through the Configuration when restoring.
Since BaseIntermediateOutputPath depends on Configuration, it needs to be flown properly.
2017-08-30 12:05:56 -05:00
Eric Erhardt ad741e3f76 Clean up core-setup build.
Set DisableImplicitNuGetFallbackFolder=false to ensure we never use the NuGet fallback folder that comes with the SDK.

Enable SDK-based projects to import the root dir.props file.  This spawned a few one-off changes since things like the BaseIntermediateOutputPath is now under RepoRoot\Bin and TreatWarningsAsErrors=true.
2017-08-29 17:53:27 -05:00
Eric St. John 2615494115 Make Microsoft.NETCore.App target netcoreapp2.1
Moves the branch forward to the netcoreapp2.1 TFM.
2017-08-15 11:04:58 -07:00
wtgodbe fd65e7e943 Incrememnt package version to 2.0.1 2017-08-07 15:58:41 -07:00
Wes Haggard d85d263924 Set VersionSuffix to empty for stable builds 2017-07-24 13:19:53 -07:00
Wes Haggard 27a9466aed Make sure to use stable package when restoring
This fixes the invalid package dependency to the prerelease package
version instead of the stable package version
2017-07-21 16:57:57 -07:00
Wes Haggard a623607612 Stabilize packages for .NET Core 2.0 release 2017-07-19 16:54:08 -07:00
Zach Montoya b814c63a78 Deliver Microsoft.Net.CoreRuntime.targets in the UwpCoreRuntimeSdk package (#2772)
* Update Microsoft.Net.CoreRuntime.targets to those shipped in latest VS

* Generate Microsoft.Net.CoreRuntime.settings.targets from template during build

* Successfully build and sign Microsoft.Net.CoreRuntimeTask.dll

* Copy Microsoft.Cci to the output of Microsoft.Build.Net.CoreRuntimeTask.dll and include Microsoft.Cci.dll in identity package for Microsoft.Net.UWPCoreRuntimeSdk

* Correctly generate .props/.targets files for each RID-specific package of Microsoft.Net.UWPCoreRuntimeSdk to provide information about the Appx packages. Change Microsoft.Net.CoreRuntime.targets and WireUpCoreRuntime appropriately.

* Make Microsoft.Net.CoreRuntime.targets consume x86 CopyWin32Resources.exe from the native x86 runtime package

* Rearrange source of Microsoft.Net.UWPCoreRuntimeSdk. Add Microsoft.Net.UWPCoreRuntimeSdk.props to point to Microsoft.Net.CoreRuntime targets files in NuGet package

* Make fixes to complete VS integration

* Address PR feedback. Change uap moniker to use property $(UAPvNextTFM)
2017-07-05 15:07:42 -07:00
Jose Perez Rodriguez 743508b9d9 Update CoreFx, Standard to preview2-25505-02, preview1-25505-01, respectively (master) 2017-07-05 11:46:10 -07:00
Zach Montoya c24f25b2cc Add Microsoft.NET.CoreRuntime.appx to UWPCoreRuntimeSdk package (#2736)
* Add all files except for Microsoft.Build.Net.CoreRuntimeTask.dll which Microsoft.Net.CoreRuntime.targets will rely upon when implemented

* Move targets files into a subdirectory that better maps to final NuGet package contents

* Update Microsoft.Net.UWPCoreRuntimeSdk package so the identity package carries the necessary .props/.targets files for VS and the RID-specific packages carry the binaries and appx package. Right now the VS files are not complete, but merely mocked up to achieve right structure

* Clean up some unnecessary changes

* Fix build ordering issue

Work-around the packaging for UWPCoreRuntimeSdk requiring the appx from
the Microsoft.NET.CoreRuntime sister project by serializing the
packaging projects. This takes advantage of the OS API returning
directory contents in lexicographical order - alternatively we could
manually enumerate the list of projects.

* CR Feedback

Factor path to Microsoft.Net.CoreRuntime.2.1.appx into props so both uses refer to the same thing
Fix up unix build failures

* Make project list explicit
2017-06-27 14:45:11 -07:00
Eric Erhardt 0def9c794f Move common repo directories to isolated props file.
Also remove the dev machine BuildNumberMinor workaround per PR feedback, as this is no longer necessary.
2017-06-20 10:42:17 -05:00
Eric Erhardt 355d026bdc Fix VersionSuffix for the managed projects
VersionSuffix is getting set before $(BuildNumberMajor) and $(BuildNumberMinor) are being set.  When creating the DependencyModel nupkg, it is getting a bad version on its p2p reference to PlatformAbstractions.

The fix is to ensure VersionSuffix is defined correctly in the projects themselves - after the obj\BuildVersion.props file is created.

Workaround https://github.com/NuGet/Home/issues/4337
2017-06-20 10:42:17 -05:00
Zach Montoya 784c4ad54e Update UWP metapackage version from 5.4.0 to 6.0.0 2017-06-14 13:56:28 -07:00
chcosta 5fc66872ca Automated signing validation infrastructure (#2561)
* Signing validation infrastructure

* Signing validation

* PR feedback

* Remove debugger attach

* Add extension to filename

* Fix message

* Remove old directory if present (don't re-validate)

* Remove extra file

* Update latest vsts signing definition
2017-06-13 10:46:51 -07:00
rakeshsinghranchi 16fac4d294 Move to Preview3 . Also, remove branchinfo.txt . As we have moved to new build tools, this file is no more used at all. (#2673) 2017-06-12 16:30:41 -07:00
chcosta 674c3e3f09 Remove local tasks and use buildtools tasks (#2625)
* Remove local tasks and use buildtools tasks

* Pull in https://github.com/dotnet/core-setup/pull/2608/files

* Force add missing pdb file

* Respond to PR feedback
2017-06-06 09:52:21 -07:00
karajas b12ec4d0fa Fix DEB installer names (Issue #2588) 2017-06-01 12:24:29 -07:00
karajas 9e7085b00e Fix DEB installer names (Issue #2588) 2017-06-01 11:41:33 -07:00
Gaurav Khanna 2bf5020fab Build CoreRuntime AppX Package for UWP (#2520)
Build UWP components:

1. Build native UWP components, sign them and publish to Azure blob.
2. Generate the Microsoft.NET.CoreRuntime.2.0 FW AppX package.
2017-06-01 08:18:40 -07:00
Karthik Rajasekaran ea4a90cd45 Combine the publish and package names for deb 2017-05-30 11:41:43 -07:00