Livar Cunha
d4f980a02e
Enabling our native installer tests to always get a 2.0.0 asp.net runtime store. We need to solve this in a more generic way in the future. But this will unblock the build for now.
2017-10-20 14:23:34 -07:00
Livar Cunha
03e37047a3
Fixing Windows build script.
2017-10-13 16:40:31 -07:00
Livar Cunha
62ae014c37
Making this repo consume the dotnet-sdk-internal zip and produce a full core-sdk by using sdk-internal, runtime, lzma, templates and store. Also deleted a bunch of now, unecessary code. I am sure there is more to be deleted though.
2017-10-13 10:45:50 -07:00
Livar Cunha
34235acb37
Adding the pre-release runtime version hack to RHEL as well. Basically, skip native installer tests when using a pre-release runtime.
2017-10-09 15:27:05 -07:00
Livar Cunha
ec9b583eb4
Adding the access token to the native installer URLs so that we can download those from protected locations when needed.
2017-10-09 14:09:48 -07:00
Livar Cunha
36892f28e9
Adding a test hack to allow the CLI to pass tests with a pre-release runtime for 2.0 TFM.
2017-10-06 11:08:02 -07:00
John Beisner
faca86fe62
Adding required environmental variables.
...
(cherry picked from commit 5000ba5f10
)
2017-09-27 16:54:50 -07:00
Daniel Plaisted
41695eacb1
Update environment variables for EndToEnd test run on Debian package
...
(cherry picked from commit 6e0646f7bf
)
2017-09-27 14:45:05 -07:00
Daniel Plaisted
e60fe42432
Fix debian package generation
...
Previously, dotnet-deb-tool-consumer.csproj was copied to the out/artifacts folder before being restored. This no longer works as it depends on repo properties, and there is a Directory.Build.props in teh out directory to stop projects inside it from getting the repo properties. So this change restores it in-place instead.
(cherry picked from commit ac67434ea4
)
2017-09-27 14:40:57 -07:00
Daniel Plaisted
ca21dee79a
Update MSI tests to use new output directory layout
...
(cherry picked from commit 2222290394
)
2017-09-27 14:37:40 -07:00
Daniel Plaisted
ca34332205
Rename Stage0 build variables to PreviousStage
...
(cherry picked from commit c6e4c8f477
)
2017-09-27 14:37:37 -07:00
Daniel Plaisted
8385d37185
Move dir.props to auto-imported Directory.Build.props
...
This is necessary for setting the intermediate output path to work correctly
(cherry picked from commit ae0aa8ed24
)
2017-09-27 14:16:37 -07:00
William Lee
221ab05346
Use one build definition to produce all Linux distro specific packages ( #7615 )
...
By using `./build.sh /t:AllLiuxDistrosNativeInstaller`
Make a sandbox folder after compile step and copy compiled artifact to it. Since the content will be Linux generic, use package step with Docker in different distros.
After finishing all the distro specific packaging, upload all of them at once
Publish to debian only support all distro
Improve perf of AllLiuxDistrosNativeInstaller, by copying more cache in to sandbox
There will be a retry if package command failed
2017-09-14 13:33:46 -07:00
John Beisner
6a76bb8396
Incorrect token.
2017-09-06 08:53:01 -07:00
John Beisner
5000ba5f10
Adding required environmental variables.
2017-09-05 15:08:42 -07:00
Daniel Plaisted
6e0646f7bf
Update environment variables for EndToEnd test run on Debian package
2017-09-01 18:21:25 -07:00
Daniel Plaisted
ac67434ea4
Fix debian package generation
...
Previously, dotnet-deb-tool-consumer.csproj was copied to the out/artifacts folder before being restored. This no longer works as it depends on repo properties, and there is a Directory.Build.props in teh out directory to stop projects inside it from getting the repo properties. So this change restores it in-place instead.
2017-09-01 12:12:10 -07:00
Daniel Plaisted
2222290394
Update MSI tests to use new output directory layout
2017-08-24 17:16:11 -07:00
Daniel Plaisted
c6e4c8f477
Rename Stage0 build variables to PreviousStage
2017-08-24 17:16:11 -07:00
Daniel Plaisted
ae0aa8ed24
Move dir.props to auto-imported Directory.Build.props
...
This is necessary for setting the intermediate output path to work correctly
2017-08-24 15:46:45 -07:00
William Li
1fa454bda4
Ingest new version Aspnet store
...
Change the url and name accordingly for the name naming convention
2017-08-14 16:05:22 -07:00
William Lee
be54917dc4
ingest store without timestamp ( #7317 )
...
- Handling no timestamp aspnetcore-store for deb native installers
- Handling no timestamp aspnetcore-store for rpm native installers
AspNetCoreRuntimePackageName and the version in RPM package.
- Align the name for debian 8 and rhel 7 package.
2017-07-28 20:34:57 -07:00
William Li
20a7ab075a
Add the missing /
2017-07-27 11:32:59 -07:00
Livar Cunha
9e04dcf8a4
Updating the native installers to use a fully qualified path to dotnet.dll and execute it with dotnet exec, so that the first run experience to populate the offline cache will trigger for the SDK being installed, instead of for the latest one in the box.
2017-07-26 23:10:48 -07:00
Livar Cunha
1de47f5704
Producing a nupkg for Microsoft.NET.MSBuildResolver. Note that this package contains only the Resolver dll. The hostfxr dll will still have to be acquired separately.
2017-07-21 15:24:59 -07:00
William Li
5e5cd87363
Rename to AspNetCoreRuntimePackageTimestamp
2017-07-13 14:59:00 -07:00
William Li
21aa774707
dotnet-sdk rpm package consume store by dependency
...
Instead of Packing along.
Edit RPM config, add download store rpm package as part of the test.
2017-07-13 12:08:35 -07:00
William Li
b9c5e2ec57
dotnet-sdk DEB package consume store by dependency
...
Instead of Packing along.
Edit Debian config, add download store deb package as part of the packing process as well as test.
2017-07-13 12:07:51 -07:00
Livar
425850697b
Merge pull request #7019 from livarcocc/framework_downlevel_msi
...
Adding a installer for Downlevel (Dev14) to install .NET Framework pr…
2017-06-29 20:07:13 -07:00
Livar Cunha
a396550ed0
Adding a installer for Downlevel (Dev14) to install .NET Framework props and targets to enable it to reference netstandard 2.0.
2017-06-29 09:55:26 -07:00
Livar Cunha
126ec29fe2
Generating a layout folder with the satellite assemblies only which we use to generate a language pack tarball/zip. Initially, I wanted a IncludeOnlyFilter, but couldn't quite get that to work on tar, just passing the filter in the command line didn't work because the shell does not do recursive globbing. So, I opted for the layout folder.
2017-06-22 12:59:38 -07:00
Livar Cunha
44d888dfc4
Exclude satellite assemblies from archive.
2017-06-21 08:48:12 -07:00
William Li
30ef374785
Add explicit dependency for pakcage smoke test
...
So package smoke test can be run without full functional test run first.
2017-06-15 15:03:07 -07:00
William Li
a01ab8f362
Fix Debian VSTS/packing failure
...
One place missing replacement of OsName => HostOsName. But the root cause is
$(HostOSName)' == 'ubuntu' OR '$(HostOSName)' == 'debian' is duplicated too
much.
Extract IsDebianBaseDistro for it
2017-06-13 15:18:05 -07:00
William Li
3419a87d6f
Produce RPM packages
...
Reference from https://github.com/dotnet/core-setup/tree/master/src/pkg/packaging/rpm
The goal is to have parity with Debian,
but does not publish to the feed
When run the script with rhel, it will
produce rpm file in the package step
and publish rpm to the blob storage
2017-06-13 15:00:35 -07:00
Daniel Plaisted
9cd4e5a956
Add Microsoft.NET.Build.Extensions files to package for VS insertion
2017-06-09 11:18:46 -07:00
William Li
987d4c0b05
Make deb package has linux-x64 content
...
By build using RID -- linux-x64 and
package publish use HostRID ubuntu etc
2017-06-07 19:55:11 -07:00
John Beisner
eb3beef346
Updates to DEB packaging and publishing.
2017-06-06 15:26:04 -07:00
John Beisner
b0648b1809
Stop producing the 'dotnet-runtime-sdk' packages.
...
https://github.com/dotnet/cli/issues/6718
2017-06-05 11:50:56 -07:00
John Beisner
78a0b7560d
Renaming "dotnet-dev" to "dotnet-sdk" for DEB targets.
2017-06-05 10:48:12 -07:00
Eric Erhardt
7079f047f6
Revert "Temporarily change the runtime deb pkg name to unblock the integration."
...
This reverts commit f709590402
.
2017-06-02 11:05:57 -05:00
Eric Erhardt
f709590402
Temporarily change the runtime deb pkg name to unblock the integration.
2017-06-01 11:35:23 -05:00
Eric Erhardt
4de4ee225b
Fix dotnet-deb-tool path.
2017-05-31 17:10:12 -05:00
Eric Erhardt
61c217c6f2
Fix shared framework deb package name in response to https://github.com/dotnet/core-setup/pull/2461
2017-05-24 19:36:39 -05:00
William Lee
4701bcb768
Produce Debian 8 native package ( #6604 )
...
* Produce Debian 8 native package
Since Debian is a branch from Ubuntu threat them the same
Tested on Debian 8 VM
* fix file path
* Fix name field in Publish Deb packages
* publish debian 8 native to Azure
2017-05-18 21:33:47 -07:00
Eric Erhardt
928c510c84
Clean up unused build code.
2017-05-11 08:59:38 -05:00
Livar Cunha
9c796bbe6b
Refactoring shared item groups between deb and pkg to the same location.
2017-05-03 17:55:34 -07:00
Livar Cunha
1736c388b0
Adding the Asp.Net runtime package store to the SDK pkg for now, since we don't have a separate PKG for it being produced.
2017-05-03 17:38:06 -07:00
William Li
3e42e8233b
Add asp.net runtime to SDK deb package
...
Copy the runtime file to the deb layout folder, the deb tool picks it up
from there
2017-05-03 23:42:06 +00:00
William Li
c9295d1df7
Run dotnet new after install to prime cache for deb
...
Copy postinst to correct directory
Can only rely on env for get dotnet command
Print telemetry notice anyway
2017-05-03 14:10:30 -07:00
John Beisner
6ada5b7596
Inserting 'AspNetCorePackageStoreLib.wixlib' into the 'dotnet-dev-win' bundles.
2017-05-01 21:42:51 -07:00
John Beisner
a4aa850f6b
Merge remote-tracking branch 'upstream/release/2.0.0' into NewAzurePackageStore
2017-04-28 16:23:02 -07:00
John Beisner
de46bf31d8
Add ASP .Net Core Runtime to the CombinedFrameworkSdk archive.
2017-04-28 12:25:46 -07:00
Nick Guerrera
fa4fe3b2c6
Package MSBuild SDK resolver in VS insertion nupkg
2017-04-27 23:07:19 -07:00
Livar Cunha
e286c65d25
Removing Additional Framework entirely and renaming LegacyRuntime to something more appropriate: BackwardsCompatibleRuntimes. Also, turning off some tests that I forgot to turn off for linux-x64.
2017-04-08 00:31:27 -07:00
Livar Cunha
772e838ff8
Removing the additional shared framework from the official stage2 build of the CLI. Instead, I also create a stage2 build with the legacy runtime so that we can continue to run tests tthat depend on it, but most importantly, we will be able to run backwards compatibility tests using it.
2017-04-08 00:31:27 -07:00
Eric Erhardt
56f2652406
Fixing the reference to dotnet-deb-tool to be correct.
...
No more using * versions. Only specify the version in a single place.
2017-03-30 14:39:54 -05:00
Nick Guerrera
5e26d0f160
Package bundled version props in to a VS insertion nupkg
2017-03-24 11:11:31 -07:00
Livar Cunha
ab28591c10
Replacing hard coded references to shared framework version.
2017-03-06 21:25:42 -08:00
Eric Erhardt
21471aa956
Fix UpdateVersionsRepo to always write the files correctly.
...
We were only building nupkgs on windows, which meant if a non-windows machine was the last leg to finish, we were writing a blank file to the versions repo.
Fix #4399
2017-03-03 21:43:38 -06:00
Parallels
a5c7ac12f7
Fixing a couple more merge issues regarding deb generation.
2017-03-03 13:30:57 -08:00
Parallels
f42599dec2
Fixing ubuntu deb generation.
2017-03-03 11:13:41 -08:00
Livar Cunha
c667ec7702
Fixing a bad merge on Installer.DEB.proj.
2017-03-03 01:08:58 -08:00
Livar Cunha
23e39c10b7
Moving as many of our test assets to netcoreapp2.0 as possible. I believe the only ones missing at the test packages, because tools always target 1.0. And the other ones are VSTestDotNetCore and VSTestXUnitDotNetCore, because we can't run tests on 2.0 yet. Or, when I tried it failed. I may came back to try this out later.
2017-03-02 17:41:21 -08:00
Livar Cunha
3a9525b5ac
Merge branch 'rel/1.0.1' into merge_rel101_into_master
...
* rel/1.0.1: (66 commits)
Update LZMA license with correct text
Bump to 2.0.0-rc5-61427-04
Remove duplicate installer suffix
Add license text to LZMA SDK license notice
Updating the SDK to 1.0.0-alpha-20170224-6
Updating both platform abstractions and dependency model to 1.0.3.
Bump Roslyn to 2.0.0-rc5-61424-02
Update Stage0 to use the latest build.
Update README with new distros.
Back porting #5597 into rel/1.0.0
Fixing the exclude pattern used by the Migration to exclude WEB SDK globs.
Remove RID from test package creation
Disable migrate and publish web app with content because CI does not have NPM
Adding an E2E test for pack with content during migration.
Fixing a failing test and adding a few more E2E tests around binplace content for migrated projects.
Fix debian_config.json on ubuntu16.10
Updating publish, pack and build of content to use None with Never/false/Never in their metadata for excluded items.
Intermediate commit to get a WIP PR out. This adds the None Update with CopyToOutputDirectory set to Never.
Switching the CopyToOutput for build and publish and the file for pack to use None Update instead of include. Also, fixed the exclude patterns for web apps.
Do not migrate Content that is already included in the Web SDK for web apps.
...
2017-03-01 20:50:42 -08:00
Justin Goshi
9ffa76eab4
Fix broken publish for official builds
2017-02-28 10:16:52 -08:00
Justin Goshi
61c1e3e104
Remove duplicate properties
2017-02-27 11:06:44 -08:00
Eric Erhardt
a7003763b7
Fix debian_config.json on ubuntu16.10
...
When we only have a single shared framework, the python json parser throws an error since there is a hanging comma on the last property.
Fixing this by removing the comma when there is only a single Shared Framework dependency.
2017-02-23 23:25:26 -06:00
Justin Goshi
0ec5003d68
Forgot Installer.PKG.targets
2017-02-23 13:59:20 -08:00
Justin Goshi
d9e532a53d
Fix the build break
2017-02-23 13:30:04 -08:00
Eric Erhardt
5227896d0f
Fix Ubuntu16.10 BuildSdkDeb
...
We need to replace a string with string.Empty in the debian .json file. Fixing ReplaceFileContents to support this scenario.
2017-02-23 15:29:11 -06:00
Justin Goshi
43cf7be593
Try to fix the build break
2017-02-23 13:11:25 -08:00
Justin Goshi
84e8b8580d
Try the rename of the LayoutOutput directory
2017-02-23 12:28:57 -08:00
Justin Goshi
b86afddbd3
Try reverting Installer.DEB.targets to investigate the build break
2017-02-23 12:03:17 -08:00
Justin Goshi
2118c643d6
Refactor props in package directory
2017-02-23 10:37:48 -08:00
Justin Goshi
acc77e2a46
Address pr comments
2017-02-23 09:26:14 -08:00
Eric Erhardt
7036fa1aef
Update dotnet-deb-tool-consumer to use the latest dotnet-deb-tool.
...
The latest deb-tool will use the CLI's runtime, which is required on distros that don't have .NET Core 1.0 installed.
2017-02-22 21:34:22 -06:00
Justin Goshi
e894d7e60e
Refactor publish.target
2017-02-22 16:54:15 -08:00
Eric Erhardt
996d458e30
Support Ubuntu16.10 installer
...
Since Ubuntu16.10 doesn't have a 1.0 shared framework, only install the 1.1 shared framework.
2017-02-22 15:18:45 -06:00
Piotr Puszkiewicz
0f919d7442
fix merge
2017-02-17 13:07:14 -08:00
Piotr Puszkiewicz
85b2a129db
Merge branch 'rel/1.0.0'
...
Conflicts:
TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj
TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj
TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj
TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj
TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj
build.proj
build/Compile.targets
build/Microsoft.DotNet.Cli.Compile.targets
build/Microsoft.DotNet.Cli.DependencyVersions.props
build/Microsoft.DotNet.Cli.Monikers.props
build/Microsoft.DotNet.Cli.Prepare.targets
build/package/Microsoft.DotNet.Cli.Nupkg.targets
build/package/Nupkg.targets
build/test/TestPackageProjects.targets
build_projects/dotnet-cli-build/GenerateBuildVersionInfo.cs
build_projects/dotnet-cli-build/GetCommitCount.cs
build_projects/dotnet-cli-build/dotnet-cli-build.csproj
build_projects/shared-build-targets-utils/Utils/BuildVersion.cs
src/dotnet-archive/dotnet-archive.csproj
src/tool_msbuild/tool_msbuild.csproj
src/tool_nuget/tool_nuget.csproj
test/ArgumentForwardingTests/ArgumentForwardingTests.csproj
test/ArgumentsReflector/ArgumentsReflector.csproj
test/EndToEnd/EndToEnd.csproj
test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectToolsCommandResolver.cs
test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj
test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
test/binding-redirects.Tests/binding-redirects.Tests.csproj
test/crossgen.Tests/crossgen.Tests.csproj
test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
test/dotnet-build.Tests/dotnet-build.Tests.csproj
test/dotnet-help.Tests/dotnet-help.Tests.csproj
test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
test/dotnet-new.Tests/dotnet-new.Tests.csproj
test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
test/dotnet-run.Tests/dotnet-run.Tests.csproj
test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
test/dotnet-test.Tests/dotnet-test.Tests.csproj
test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
test/dotnet.Tests/dotnet.Tests.csproj
test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
tools/Archiver/Archiver.csproj
2017-02-17 02:00:05 -08:00
Justin Goshi
e7de32e988
Merge branch 'master' into dev/jgoshi/renamePropsFiles
2017-02-15 17:02:42 -08:00
Matt Ellis
47b75cfa12
Misc build changes
...
For injestion into a composed build, I'm adding some minor tweaks to
our build system:
- Teach DownloadFile task how to consume file:// URLs so we can pass
around artifacts using local sources.
- Add `SkipBuildingInstallers`, an MSBuild property that can be set
to true when installers (pkgs, msis, debs, rpms and the like) do
not need to be built.
- Add `IncludeAdditionalSharedFrameworks`, an MSBuild property that
can be set to prevent additional shared frameworks (i.e. shared
frameworks that the CLI does not use at runtime) from being
downloaded and included in our payload.
- Add `IncludeNuGetPackageArchive` an MSBuild property that can be
set to prevent the lzma archive containing all the nupkgs we
restore on first run from being included in the final output.
- Provide a way to change the Uri use for blob storage (so the
composed build and point at a local folder that looks like blob
storage to pick up artifacts from).
2017-02-15 16:52:46 -08:00
Justin Goshi
62abef428e
Rename build files
2017-02-14 15:42:13 -08:00
Justin Goshi
33d83d6639
Refactor tasks
2017-02-10 12:13:44 -08:00
Livar
1c896d4402
Adding release suffix as a modified parameter of the build and removing NugetVersionForVS. we don't need that concept.
2017-02-09 22:31:46 -08:00
Livar Cunha
81a94c0902
Enabling publishing the nupkgs produced by the CLI to blob storage and hooking up DropSuffix to the VS targeted nupkg of the CLI.
2017-02-09 15:47:53 -08:00
Livar Cunha
35fc8c1d0e
Step one of introducing a flag to drop the suffix out of our build versions.
2017-02-08 15:26:47 -08:00
Piotr Puszkiewicz
0a634d5174
Add incrementality check for MSI generation
2017-02-07 10:56:06 -08:00
Piotr Puszkiewicz
b0a5d53ed5
Merge rel/1.0.0 to master
2017-02-06 12:43:57 -08:00
Unknown
8671021577
Update MSBuild
2017-02-03 17:07:53 -08:00
Eric Erhardt
9f0bb778a1
Merge rel/1.0.0 into master.
2017-02-01 14:32:59 -06:00
Piotr Puszkiewicz
31a6da880f
Reverse installation order of shared frameworks
2017-01-27 11:49:54 -08:00
Piotr Puszkiewicz
cc30bdde8a
Make Deb tests test Deb
2017-01-26 14:48:40 -08:00
jonsequitur
bed3d974d6
add netcoreapp1.1 to Ubuntu installer
2017-01-26 14:48:40 -08:00
Eric Erhardt
6cb4b27ebb
Make Deb tests test Deb
2017-01-26 14:52:55 -06:00
Eric Erhardt
1950ef5e17
Merge rel/1.0.0 into master
2017-01-23 09:57:56 -06:00
Livar
a442449c55
Updating the branding on rel/1.0.0 to rc4. ( #5267 )
2017-01-12 13:14:57 -08:00
PiotrP
c008e85f6a
revert rc3->preview5
2017-01-11 13:18:44 -08:00
Piotr Puszkiewicz
0bd6303f47
Restore debian test before running it ( #5272 )
2017-01-11 10:53:26 -08:00