Commit graph

1105 commits

Author SHA1 Message Date
Wes Haggard
0b913968b6 Update PullNupkgFilesFromBlob to find the latest Azure blob drop
that contains all the runtime packages
2016-04-08 08:57:24 -07:00
Eric Erhardt
7d6d74bba2 Fixing dotnet-test.Tests to use a portable test app - ProjectWithTests.
The ProjectWithTests needed to be moved outside of TestAssets\TestProjects because it can't be restored --infer-runtimes and it has to be built with netcoreapp1.0.
2016-04-08 09:35:06 -05:00
Eric Erhardt
6ae044e5e1 Fix non-windows builds of Microsoft.NETCore.App.
Fix all test project.jsons to be portable apps.
2016-04-08 09:31:55 -05:00
Eric Erhardt
99371436f3 Consume NETCore.App 2016-04-08 09:27:23 -05:00
Matt Ellis
d0ac16129d Update package dependencies to rc2-24008 2016-04-08 04:05:26 -07:00
Matt Ellis
930b0f8093 Update paths based on repo refactoring 2016-04-08 04:05:26 -07:00
Wes Haggard
d7376f84c3 Add PullNupkgFilesFromBlob target
This target pulls all the nupkgs from the matching azure storage
and then copies them into the artifact\$(RID)\packages folder.
2016-04-07 17:25:37 -07:00
Piotr Puszkiewicz
b9d6a0c911 Merge pull request #2325 from dotnet/piotrpMSFT/Issue2288/Beta2RC2
Moves version suffix from beta to rc2
2016-04-07 14:13:38 -07:00
Wes Haggard
4af7437aa6 Merge pull request #2323 from weshaggard/UpdateNetCoreAppVersionScheme
Update net core app version scheme
2016-04-06 16:56:02 -07:00
Piotr Puszkiewicz
347e7a3987 Moves version suffix from beta to rc2 2016-04-06 15:45:21 -07:00
Wes Haggard
318a60deaa Add some logging to see if nupkgs get build and published
These writelines can be removed once it is confirmed to work in
official builds.
2016-04-06 15:28:12 -07:00
Bryan Thornbury
09e383e876 Merge pull request #2294 from dotnet/brthor/fix-package-upload-json
fix the name of debian packages in packageUpload.json
2016-04-06 15:21:14 -07:00
Sridhar Periyasamy
b772db9b29 Merge pull request #2269 from Sridhar-MS/kestrel-tests2
Add kestrel tests.
2016-04-06 14:25:15 -07:00
Wes Haggard
3ab4a30eb8 Add support for pkgprojs in cli repp
- Move src\corehost\packaging to pkg\ directory.
- Renamed PackageCoreHost to PackagePkgProjects and removed blocker
- Updated copy of packages in PackagePkgProjects target to override (because there is no proper clean)
- Update dir.props to match the package version for the runtime.json
- Moved all CoreHost packages under  Microsoft.NETCore.DotNetHost directory
- Add the license files to the packages

Add support for building Microsoft.NETCore.App meta-package
- VersionNumber will be of form 1.0.0-rc2-<NETSTandard.Library build#>-<CLIbuild#>
EX: 1.0.0-rc2-23931-002203
2016-04-06 10:34:23 -07:00
Bryan Thornbury
af32cff24e fix the name of debian packages in packageUpload.json 2016-04-05 18:48:02 -07:00
Dan Quirk
7a79a16c8d CR feedback 2016-04-05 18:03:06 -07:00
Dan Quirk
a797d93660 Cleanup 2016-04-05 18:03:06 -07:00
Dan Quirk
561f856e36 Add postinstall script to debian package for telemetry notification 2016-04-05 18:03:06 -07:00
Bryan Thornbury
fa01c9a154 Merge pull request #2215 from dotnet/brthor/version-manpages
Enable SxS Installation of the SDK debian packages
2016-04-05 15:41:11 -07:00
Sridhar Periyasamy
91adaa2b8c Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into kestrel-tests2 2016-04-05 14:40:07 -07:00
Eric Erhardt
5e617bbb43 Merge pull request #2283 from eerhardt/NewNuGet
Update NuGet to 3.5.0-beta-1130
2016-04-05 15:29:10 -05:00
Bryan Thornbury
e64d4fc81b Merge pull request #2272 from dotnet/brthor/ship-pdbs
Publish an Archive with the SDK Pdbs
2016-04-05 12:13:01 -07:00
Eric Erhardt
ed82fd2e66 Update NuGet to 3.5.0-beta-1130 2016-04-05 13:42:16 -05:00
Eric Erhardt
00a0668a5e Merge pull request #2268 from eerhardt/UpdateDepsMessage
Enhance the update-dependencies script
2016-04-05 12:39:32 -05:00
Matt Ellis
f757468dde Merge pull request #1939 from ellismg/chain-vc-redist
Chain in VC Redist
2016-04-05 10:03:06 -07:00
Eric Erhardt
e0542adf51 Add corehost/packaging/dir.props CoreFX version replacement to the UpdateDependencies script. 2016-04-05 10:50:35 -05:00
Pavel Krymets
8831bb4a8b Do not trim refs 2016-04-05 08:06:17 -07:00
Bryan Thornbury
10aeb9e6f1 Add a Sdk Debug Archive 2016-04-04 20:13:13 -07:00
Sridhar Periyasamy
8f00b95783 Add kestrel tests.
Tests will 'build', 'run', 'publish' and 'execute' a Kestrel Hello World server as a PortableFatApp and as a Standalone app.
2016-04-04 17:57:12 -07:00
Eric Erhardt
e7718b7163 Enhance the update-dependencies script:
- Add the new version number to the commit and PR message.
- Check if anything has been updated and no-op if there wasn't anything updated.
- Add support to CC indviduals on the PR.
2016-04-04 19:37:36 -05:00
Joel Verhagen
f6fa1cf060 Enable parallel restore 2016-04-04 09:11:15 -07:00
Justin Emgarten
9c31501deb Updating nuget to beta-1123 2016-04-01 21:09:05 -07:00
Bryan Thornbury
7de3b95bbd version the manpages before packing them for the sdk deb package
update

Update

fix
2016-04-01 15:42:01 -07:00
Sridhar Periyasamy
389c405ed0 Merge pull request #2163 from Sridhar-MS/installer-fixes
Fix installer issues
2016-04-01 13:41:36 -07:00
Justin Emgarten
219a0539b0 Updating to NuGet 1105 2016-03-31 18:13:25 -07:00
Bryan
0fd81e0a2d Extract dotnet-compile-fsc into a standalone command
Add basic Tests for dotnet-compile-fsc

Package Targets execute before TestTargets. Use Generated Nuget Packages in TestTargets. Generate Nuget packages on all platforms, and in C#

Fix bug in dotnet-restore, change fsharp new template, add support for native assets in DependencyContextCsvReader

copy fsc.exe to temp directory instead of package cache

fix rebase error

fix issue

fixes

fixes

fix

temporarily disable debian package e2e testing

fixes

bump fsc version

update fsc version

fix rebase errors

WIP update fsc tool

WIP, rebased and working again, need to solve issues with System.CommandLine

Working state for packaged, command, fsc.exe bugging out with dlopen(, 1): no suitable image found.

execute fsc like a unpublished standalone app

fixup after rebase

working? internet is out

working

cleanup

More cleanup, and run the debian package tests during the Test phase of the build.

update FSharp Test Projects NetStandard Library Version

Update Version Suffix when packing TestPackages. This will enable packing with the right dependency versions on Windows.

update dotnet-test version

Undo the reordering of the build

fix test package project pathsj

ignore net451 build failures for test packages which we need to build on non-windows

update dependency of desktop test app

add dotnetcli feed to nuget config for fsharp dotnet new

update deps after rebase

update dependency of dotnet-compile-fsc

pass args before commandPath when using muxer for tools

adjust testpackage cleaning not to clean packages which are also generated as part of the product from the nuget cache.

undo

Pass projectJson to pack instead of using WorkingDirectory

fix path separators using depsjsoncommandresolver on windows, fix building only specific frameworks for testpackages on non-windows.

PR Feedback

rebase

overwrite fsc runtimeconfig
2016-03-31 14:01:08 -07:00
Matt Ellis
e957736721 Don't use PowerShell to download WiX
- Don't use PowerShell to download WiX, instead just use HttpClient.
- Rehome WiX on our Azure blob storage, not only does this remove an
  dependency of our build, it also fixes an issue where CodePlex 302's
  from HTTPS to HTTP which HttpClient doesn't like.
- Bake version numbers into paths, to help in cases where we upgrade WiX
  tool versions but the artifacts folder is not cleaned between builds.
2016-03-31 11:03:13 -07:00
Sridhar Periyasamy
988fe85c19 Fix installer issues
- Sign the Sharedfx bundle correctly.
- Fix the installer title for SharedFx bundle. Fixes #2100
- Fix the installer title for SharedFx pkg. Fixes #2161
2016-03-31 10:02:12 -07:00
eerhardt
3afd85068a Updating dependencies from last known good builds 2016-03-31 11:57:21 -05:00
Bryan Thornbury
164a235a20 Merge pull request #2151 from dotnet/brthor/remove-oob-commands
Remove OOB Commands and Pdbs from stage2
2016-03-30 21:28:27 -07:00
Senthil
9c67627b43 Merge pull request #2150 from schellap/simple
Disable corehost packaging in VSO
2016-03-30 20:33:10 -07:00
Bryan
58be4c447e prep for commands we'll be shipping as tools
add cleanup step to build, remove oob commands

only clean the sdk directory

Incorporate PR Feedback
2016-03-30 19:23:42 -07:00
Pavel Krymets
58299db161 Infer rids for build script restore 2016-03-30 18:39:57 -07:00
Senthil
3b6d91b039 Disable VSO build of host nupkgs 2016-03-30 18:02:29 -07:00
Senthil
2ce0a934a3 Revert "Merge pull request #2111 from dotnet/revnupkg"
This reverts commit ac4c6702d5, reversing
changes made to 4bb7c1a6d4.
2016-03-30 17:59:16 -07:00
Pavel Krymets
a21e0ea6b4 Merge pull request #2148 from dotnet/pakrym/remove-inference
Remove rid inference
2016-03-30 17:36:45 -07:00
Pavel Krymets
9b9725ac38 Remove rid inference 2016-03-30 16:58:02 -07:00
Eric Erhardt
8816664062 Merge pull request #2136 from eerhardt/UpdateDependencies20160330021008
Updating CoreFX from rc2-23929 to rc2-23930
2016-03-30 18:32:17 -05:00
Pavel Krymets
c8a632bac1 Remove csv deps 2016-03-30 14:39:36 -07:00
eerhardt
ea984c50c7 Updating dependencies from last known good builds 2016-03-30 11:49:37 -05:00
eerhardt
7eb9d07fb5 Updating dependencies from last known good builds 2016-03-29 15:59:19 +00:00
schellap
a30078c691 Revert "Merge pull request #2080 from schellap/nupkg2"
This reverts commit a6bf3b416b, reversing
changes made to b0e457559d.
2016-03-29 01:58:51 -07:00
Piotr Puszkiewicz
4bb7c1a6d4 Merge pull request #2105 from dotnet/anurse/fix-build
no longer need to crossgen the CLI
2016-03-29 00:06:05 -07:00
Piotr Puszkiewicz
e07e0c12ed Merge pull request #2102 from Sridhar-MS/version_badges
Fix version badges to display Nuget Version of cli.
2016-03-28 22:28:52 -07:00
Andrew Stanton-Nurse
794be31af3 herp de derp 2016-03-28 21:43:43 -07:00
Andrew Stanton-Nurse
bca338801a no longer need to crossgen the CLI
thank you shared framework!
2016-03-28 21:42:04 -07:00
Pavel Krymets
e06a479748 Merge pull request #2036 from dotnet/pakrym/portable-cli
Make dotnet cli sdk portable
2016-03-28 20:35:22 -07:00
Piotr Puszkiewicz
5572326e0a Merge pull request #2087 from dotnet/piotrpMSFT/Issue2020/DesktopCommands
Enable execution of Target-specific commands
2016-03-28 20:07:09 -07:00
Senthil
a6bf3b416b Merge pull request #2080 from schellap/nupkg2
Packaging work for corehost
2016-03-28 20:01:14 -07:00
Pavel Krymets
18436e325e Make dotnet cli portable 2016-03-28 19:16:02 -07:00
Sridhar Periyasamy
8bb35349f9 Fix version badges to display Nuget Version of cli.
We started using the nuget version in rest of our build scripts.
Fixes - #2099
2016-03-28 17:51:36 -07:00
Piotr Puszkiewicz
14aa53eeff Fix build break on Windows 2016-03-28 17:25:52 -07:00
piotrp
a23568b4e5 Fix build break on non-Windows
And PR Feedback
2016-03-28 17:25:52 -07:00
piotrp
c5258cd782 Make portable test package windows-only due to its dependencies 2016-03-28 17:25:52 -07:00
piotrp
203b56509d Disable creating test packages on non-Windows platforms. 2016-03-28 17:25:52 -07:00
piotrp
d85e516c23 Test Infra 2016-03-28 17:25:52 -07:00
eerhardt
cefed77ca9 Updating dependencies from last known good builds 2016-03-28 17:27:54 +00:00
Senthil
a8eaa9c787 Package corehost 2016-03-28 00:21:27 -07:00
Sridhar Periyasamy
4e5fb96a50 Merge pull request #2048 from Sridhar-MS/msi-changes
Windows Installer changes
2016-03-27 20:49:46 -07:00
Justin Emgarten
86ee8a561b Updating nuget to 3.5.0.1083 2016-03-25 16:37:12 -07:00
Sridhar Periyasamy
bf38353c39 Merge pull request #2068 from Sridhar-MS/pkg-fixes
Fix OSx Pkg installers
2016-03-25 15:36:59 -07:00
Eric Erhardt
77f4d9955c Merge pull request #2067 from eerhardt/UpdateDependencies23925
Updating CoreFX to rc2-23925
2016-03-25 17:21:14 -05:00
Sridhar Periyasamy
b3cbd9e766 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into host-pkg-path 2016-03-25 14:59:32 -07:00
Andrew Stanton-Nurse
4f0c6e94d1 Merge pull request #2065 from dotnet/anurse/remove-dot-install-dir
Remove '.' from default Windows install dir
2016-03-25 14:51:49 -07:00
Eric Erhardt
49c16e8823 Overwrite dotnet.exe during our build.
New CoreFX now has dotnet.exe in the shared framework. We need to overwrite it when we copy corehost.
2016-03-25 16:48:40 -05:00
eerhardt
ed887d183a Updating dependencies from last known good builds 2016-03-25 16:48:25 -05:00
Eric Erhardt
46db1a69bd Fix install path for update-dependencies.ps1. 2016-03-25 16:47:59 -05:00
Sridhar Periyasamy
4e68c19323 Fix OSx Pkg installers
- Make the .Net CLI SDK install SxS.
- Make the .Net Host upgrade till RTM(v.1.0.0).
- Make the .Net Core Sharedfx pkg to use the SharedFx Nuget version instead CLI version.
2016-03-25 14:46:04 -07:00
Piotr Puszkiewicz
c798a8ff97 Merge pull request #1891 from dotnet/piotrpMSFT/InstallerBranding
Fix installer branding dotnet --> .NET
2016-03-25 14:45:41 -07:00
Andrew Stanton-Nurse
9f3727d1a7 fix OSX issue in VSO build
also, make it possible to have more verbose build runs when needed
2016-03-25 12:49:53 -07:00
Andrew Stanton-Nurse
f87440a0fd Remove '.' from default Windows install dir 2016-03-25 12:19:46 -07:00
Piotr Puszkiewicz
1efdd24ce7 Further OS X branding changes 2016-03-25 12:09:45 -07:00
Bryan Thornbury
811db45cf3 Merge pull request #2043 from dotnet/brthor/deb-updates
fix deb versions
2016-03-25 09:38:28 -07:00
Eric Erhardt
30346443fb Merge pull request #2035 from eerhardt/Version
Changing --version in the CLI
2016-03-24 21:15:09 -05:00
Sridhar Periyasamy
ccef10b70c Windows Installer changes
- Make CLI SDK MSI non-upgradable. It must alwasy be installed SxS.
- The CLI bundle and SharedFx bundle are non-upgradeable.They are also
  installed SxS.
- Make host\muxer upgradeable. It will be upgradeable till v1.0.0 RTM.
  Post RTM will be installed SxS with v.1.0.0.
- SharedFx MSI was using the CLI MSI version. Fixing it to use the
  SharedFx version.
- Do not allow bundles to uninstall. User will be able to uninstall the
  individual MSIs.
2016-03-24 18:39:28 -07:00
Matt Ellis
5bf6088a47 Merge pull request #2015 from ellismg/fix-2004
Fix permissions when packaging artifacts
2016-03-24 17:23:00 -07:00
Andrew Stanton-Nurse
822f70f742 Merge pull request #2040 from dotnet/anurse/eerhardt-UpdateDependencies
Anurse/eerhardt update dependencies
2016-03-24 17:22:18 -07:00
Krzysztof Wicher
cd35ba2a1a Merge pull request #2041 from krwq/local_sdk_version_detection
install scripts, detect if sdk already installed
2016-03-24 16:54:21 -07:00
Bryan Thornbury
2223da1a5c fix versions on the deb packages 2016-03-24 16:35:42 -07:00
Krzysztof Wicher
217922da14 don't redownload sdk in install.sh if package already installed 2016-03-24 15:15:24 -07:00
Krzysztof Wicher
688de72eb7 detecting that sdk is already installed (install.ps1) 2016-03-24 15:15:23 -07:00
Bryan Thornbury
8d4d9a3b12 Merge branch 'rel/1.0.0' into brthor/add_back_docker_hub 2016-03-24 14:39:10 -07:00
Eric Erhardt
1febe48d71 Updating CoreFX version to rc2-23924 2016-03-24 16:05:24 -05:00
Eric Erhardt
a5813791d5 Updating CoreFX version to rc2-23923 2016-03-24 16:04:37 -05:00
Eric Erhardt
fd0ebb1bab Fix the RuntimeGraphGenerator
1. It was using the wrong version of System.Runtime.Serialization.Json
2. When invoking it during the build, we weren't ensuring it was successful, which allows the build to continue when it fails.
2016-03-24 16:03:21 -05:00
Eric Erhardt
3186432ebd Fix up the project.json files for CoreFX build rc2-23922.
- ProjectModel uses AssemblyLoadContext which is only available in netstandard1.5. Moving ProjectModel and all its dependencies up to netstandard1.5.
- Work around our dependencies still being on old CoreFX builds by hoisting System.Runtime.Serialization.Primitives, System.Private.DataContractSerialization, System.Linq.Expressions, and System.Xml.XmlSerializer references to the current version.
2016-03-24 16:03:19 -05:00
eerhardt
9bc478660a Updating dependencies from last known good builds 2016-03-24 16:02:33 -05:00
Eric Erhardt
c560e9af3c Changing --version in the CLI
`dotnet --version` returns just the version number. This helps tools get this information without having to parse the full info.
Introduce a new argument `--info` that returns the current "long form". With this, we also change the long form to say "RID" instead of "Runtime ID" simply because that would avoid any future localization issues and thus make the parsing easier.

Fix #1607 #1882
2016-03-24 15:44:25 -05:00
Andrew Stanton-Nurse
0a369aa6d5 update to new nuget and turn inference on 2016-03-24 11:43:37 -07:00
Bryan
f441fedf4f add back docker hub builds trigger 2016-03-24 10:50:29 -07:00
Matt Ellis
d343519567 Fix permissions when packaging artifacts
The file permissions in our cross platform packages were all over the
place. Problems included:

- Executable text files
- Executable MSIL files
- Files not readable by world or group

In addition to just looking bad, it could cause problems in cases where
someone takes the tarballs and copies them to a global location (as
root) because now the deps file was not readable by non root users.

Add an additional step when setting everything up to put sensible
permissions on everything before building os specific packages and
tarballs.

Fixes #2004
2016-03-24 09:26:19 -07:00
Andrew Stanton-Nurse
43512b8973 add support for type: platform
also some refactoring of DependencyContext to properly handle
placeholders in 'runtimeTargets'.
2016-03-23 21:53:14 -07:00
Bryan Thornbury
71b78a9c68 integrate @krwq 's moniker/compile version changes
unset the hardcoded channel

fix version badge version

fix a capitalization

fix the archives

Update filenames of zip files to have the correct versions

move version gen
2016-03-23 18:45:44 -07:00
Bryan Thornbury
f596b8ddce Refactor PublishTargets.cs, add publishing of all installers and archives to azure, change all versions to nuget versions. 2016-03-23 17:24:48 -07:00
Eric Erhardt
7486b45eeb Clean the dotnet-portable test nuget packages during the build, so the new ones always get used during tests. 2016-03-23 16:19:48 -07:00
Bryan Thornbury
dfd4d0b954 Clean up PublishTargets 2016-03-22 18:31:16 -07:00
Bryan Thornbury
2abedf79e2 small fix to pass manpage path to packaging script 2016-03-22 16:00:09 -07:00
Bryan Thornbury
ab14fb1437 fix which manpages are where, add dotnet manpage to host package and rest to sdk package 2016-03-22 15:38:04 -07:00
Bryan Thornbury
d709300f6f fix up the package name 2016-03-22 15:36:17 -07:00
Bryan Thornbury
96664f31c2 Add publishing for sdk, sharedhost, sharedfx deb files
small fix

disable dotnet-nightly train avoidance, alawys use the same debian config for now
2016-03-22 15:01:06 -07:00
Bryan Thornbury
1c38b17f8b make sdk package sdk only
fix dependencies between packages

re-disable upgrade test

another fi to add_dir_to_install

fix sdk package name

update the package name functino in monikers
2016-03-22 15:01:04 -07:00
Bryan Thornbury
6ed82a1a3f put all deb packages in the same root, small fix to package tool, renable upgrade tests 2016-03-22 15:01:03 -07:00
Piotr Puszkiewicz
6cba5e111e Disable upgrade tests for CLI 2016-03-22 15:01:03 -07:00
Piotr Puszkiewicz
e1ba3f23ef Reference Shared Framework from Shared Host 2016-03-22 15:01:03 -07:00
Piotr Puszkiewicz
63585087f8 Install SharedHost before building shared framework 2016-03-22 15:01:03 -07:00
Piotr Puszkiewicz
fc01ea60eb Ubuntu build failed, so need to revert to an existing stage0 2016-03-22 15:01:03 -07:00
Bryan Thornbury
97a01213ac Fix debian packages 2016-03-22 15:01:01 -07:00
Sridhar Periyasamy
92b3ad0001 Merge pull request #1941 from dotnet/cli-sdk-stages
Chain the sharedfx and sharedhost MSIs into a single dotnet redist bundle.
2016-03-22 14:27:08 -07:00
Piotr Puszkiewicz
c06e1b7a0b Merge pull request #1986 from dotnet/piotrpMSFT/r2rRoslyn
Enable ReadyToRun for Roslyn
2016-03-22 13:02:00 -07:00
Peter Schneider
d80218ab42 Color Handling in AnsiConsole 2016-03-22 16:49:08 +01:00
Piotr Puszkiewicz
1fd72c201b Enable ReadyToRun for Roslyn 2016-03-22 00:26:26 -07:00
Sridhar Periyasamy
aeaced5b63 Chain the sharedfx and sharedhost MSIs into a single dotnet redist bundle. 2016-03-21 21:00:46 -07:00
Piotr Puszkiewicz
55ca13eee7 Merge pull request #1954 from mellinoe/crossgen-enabled
Crossgen by default, add additional dependency to shared framework
2016-03-21 20:48:40 -07:00
Krzysztof Wicher
bb339bf73a use template for mktemp call for portability 2016-03-21 19:16:51 -07:00
Krzysztof Wicher
b1548a9654 fix grep to work on OSX 2016-03-21 16:31:17 -07:00
Eric Mellino
241ef778ea Crossgen by default, add additional dependency to shared framework
* We need a newer version of Microsoft.CodeAnalysis.CSharp than the one
  that NETCore.App depends on. When a newer version of NETCore.App is
  published with a higher dependency, we can remove this explicit
  reference.
2016-03-21 15:30:37 -07:00
Krzysztof Wicher
baaf742731 fix paths in the build 2016-03-21 12:46:31 -07:00
Krzysztof Wicher
369796376b update package name 2016-03-21 12:46:30 -07:00
Krzysztof Wicher
d960734867 change build to not use specific version for stage0 2016-03-21 12:46:29 -07:00
Krzysztof Wicher
fa733ab9e9 preparing install.sh for shared fx 2016-03-21 12:46:28 -07:00
Krzysztof Wicher
701731be7a improve message on -DryRun in install.ps1 2016-03-21 12:46:27 -07:00
Krzysztof Wicher
09f5bd8879 shared framework changes to install.ps1 2016-03-21 12:46:27 -07:00
Krzysztof Wicher
b7f7fc6096 Initial implementation of shared framework changes 2016-03-21 12:46:26 -07:00
Krzysztof Wicher
260eb9db8e remove most of the bashisms 2016-03-21 12:46:25 -07:00
Krzysztof Wicher
54b33bc9ea Support powershell switches in bash, unify --install-dir experience 2016-03-21 12:46:24 -07:00
Krzysztof Wicher
9360128c13 remove tar --overwrite switch as it is default and does not work on osx 2016-03-21 12:46:23 -07:00
Krzysztof Wicher
11f4dd94b9 add more logging to install.sh 2016-03-21 12:46:22 -07:00
Krzysztof Wicher
fc3d768768 more portable mktemp call 2016-03-21 12:46:21 -07:00
Krzysztof Wicher
7ecd8e8fba fix failing extracting directory to file 2016-03-21 12:46:20 -07:00
Krzysztof Wicher
065cffb2a7 more verbose output of install.ps1 on windows 2016-03-21 12:46:19 -07:00
Krzysztof Wicher
8fca17e56f apply PR feedback 2016-03-21 12:46:18 -07:00
Krzysztof Wicher
138cfb4f69 fix formatting 2016-03-21 12:46:18 -07:00
Krzysztof Wicher
856f6a7d96 integrate new version of install.sh with build 2016-03-21 12:46:17 -07:00
Krzysztof Wicher
00abaf3b67 update install.sh 2016-03-21 12:46:16 -07:00
Krzysztof Wicher
58a5a73233 change amd64 to x64 in install.ps1 description 2016-03-21 12:45:33 -07:00
Krzysztof Wicher
987c867605 add default value descriptions and change default channel to preview 2016-03-21 12:45:32 -07:00
Krzysztof Wicher
b130ac8776 Update installation paths in the build scripts 2016-03-21 12:45:31 -07:00
Krzysztof Wicher
4d165d78db Address feedback to install.ps1 2016-03-21 12:45:30 -07:00
Krzysztof Wicher
8e3992660d initial update install.ps1 according to spec 2016-03-21 12:45:29 -07:00
Piotr Puszkiewicz
2f9503641e Removes bootstrapping workarounds for Ubuntu builds 2016-03-21 10:25:11 -07:00
Nate Amundson
9a1e283595 Merge pull request #1951 from naamunds/AddDockerHubTriggers
Pass DockerHub env vars to container used for build
2016-03-18 17:23:00 -05:00
Eric Erhardt
284705e75e Fix update-dependencies script to point to the new CLI install directory. 2016-03-18 14:02:12 -05:00
Nate Amundson
3c0d02f02b Pass DockerHub env vars to container used for build
These environment variables need to be set for the
TriggerDockerHubBuilds build target declared in PublishTargets.cs.
2016-03-18 10:34:32 -07:00
Piotr Puszkiewicz
04adb5ef56 bootstrap 2016-03-18 02:47:52 -07:00
Piotr Puszkiewicz
aa989f1e6e Disable deb creation & publishing 2016-03-18 02:23:24 -07:00
Sridhar Periyasamy
14cc5bc5c4 Publish the correct .version file to azure. 2016-03-17 22:22:22 -07:00
Sridhar Periyasamy
4c06e3323f Update install scripts to download 'dotnet-dev' as stage0. 2016-03-17 21:45:03 -07:00
Sridhar Periyasamy
45d97bb80a Merge branch 'anurse/fix-scripts-and-readme' of https://github.com/dotnet/cli into rel/1.0.0 2016-03-17 21:21:14 -07:00
Bryan Thornbury
d1c0127c99 Merge branch 'rel/1.0.0' into cli-sdk-stages 2016-03-17 17:50:15 -07:00
Bryan Thornbury
4890814176 disable parallel in run-build 2016-03-17 17:09:25 -07:00
Bryan Thornbury
98b0c03444 Merge branch 'brthor/nuget-tools-on-shared-fx', remote-tracking branch 'origin' into cli-sdk-stages 2016-03-17 13:56:51 -07:00
Bryan Thornbury
51dcb6063f Add Portable Test Package Asset 2016-03-17 13:44:32 -07:00
Sridhar Periyasamy
ae83a73e35 Create 'dotnet-dev' and 'dotnet' pkg.
- 'dotnet-dev' contains the sharedfx, shared host and CLI SDK.
- 'dotnet' contains the sharedfx and the shared host.
2016-03-17 13:42:10 -07:00
Sridhar Periyasamy
de8b326872 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into cli-sdk-stages 2016-03-17 11:16:43 -07:00
Sridhar Periyasamy
75d49d99f3 Bug fix to copy the hostpolicy and hostfxr binaries from the correct location. 2016-03-17 10:07:03 -07:00
Eric Erhardt
eccf44c200 Add initial update-dependencies script.
This script can be used to automatically update dotnet/cli's
dependencies on other repos like CoreFX, NuGet, etc.

Currently the script supports updating the CoreFX dependencies.
2016-03-17 08:14:09 -05:00
Sridhar Periyasamy
9602d92634 Publish and Pkg, Deb fixes
- Publish only combined SharedFx,SharedHost and combined
  SharedFx,SharedHost,CLISDK tarballs and zips.
2016-03-16 18:16:51 -07:00
Sridhar Periyasamy
5150bae60c Fix Package targets to respect the new CLI SDK layout. 2016-03-16 17:54:44 -07:00
Andrew Stanton-Nurse
e2d8d6e31e make install and build scripts use new package 2016-03-16 16:16:38 -07:00
Sridhar Periyasamy
4d19e4d866 Layout CLI SDK, Shared Fx and Muxer in stage1 and stage2. 2016-03-16 15:54:02 -07:00
Nate Amundson
c7abe91773 Merge pull request #1824 from naamunds/AddDockerHubTriggers
Trigger automated DockerHub builds
2016-03-16 17:15:29 -05:00
Nate Amundson
cd2b638b18 Trigger automated DockerHub builds
This change triggers automated DockerHub builds for successful
official Ubuntu builds of rel.1.0.0. The DockerHub repo for this is
https://hub.docker.com/r/microsoft/dotnet-preview/.

The variables DOCKER_HUB_REPO and DOCKER_HUB_TRIGGER_TOKEN are set in
the "DotNet-CLI-CI (Ubuntu) [rel.1.0.0]" VSTS build definition.

This change also allows the Environment TargetConditionAttribute to be
used to require that an environment variable is set, in addition to the
existing functionality of being able to be used to require that an
environment variable is equal to one of a set of specified values.
2016-03-16 14:39:02 -07:00
Sridhar Periyasamy
52f4ad2b91 Merge pull request #1902 from Sridhar-MS/corehost-fixes
Make corehost pick pre-release SDK version when no production releases.
2016-03-16 13:39:21 -07:00
Sridhar Periyasamy
d4bbdaa37a Update PackageTargets.cs
Fix to create CLI SDK tarballs on unix.
2016-03-16 11:30:56 -07:00
Sridhar Periyasamy
897f669ec0 Remove the hack to layout CLI SDK into a production version path.
Go back to using a nuget version path.
2016-03-16 11:12:45 -07:00
Eric Erhardt
0faa7936ac Merge pull request #1899 from eerhardt/RevertXProjChange
Revert "Update the .xproj files to reference the "DotNet" targets and props instead of "DNX"."
2016-03-16 12:43:44 -05:00
Andrew Stanton-Nurse
0c971d8d4c Merge pull request #1892 from mellinoe/combined-zip
Create combined zip/tar for framework-host-sdk and framework-host
2016-03-16 10:42:29 -07:00
Eric Erhardt
964318b291 Revert "Update the .xproj files to reference the "DotNet" targets and props instead of "DNX"."
This reverts commit 4304ca9848.
2016-03-16 11:44:09 -05:00
Pavel Krymets
77e511c4d4 Generate runtime graph when building runtime 2016-03-16 08:27:55 -07:00
Eric Mellino
d9dfaf1328 Publish the combined-zip/tar files to azure 2016-03-15 17:41:42 -07:00
Eric Mellino
4fcabc47cc Create combined zip/tar for framework-host-sdk and framework-host 2016-03-15 17:36:32 -07:00
Livar
1c9803d980 Merge pull request #1786 from livarcocc/tests_as_client
Modifying the reporting channels to make the AdapterChannel a client
2016-03-15 16:37:26 -07:00
Eric Mellino
711e9a8e53 Merge pull request #1880 from Sridhar-MS/vso-package-fix
Fix the VSO signing builds
2016-03-15 15:30:39 -07:00
Sridhar Periyasamy
93738ff48f Merge pull request #1883 from mellinoe/fix-osx-buildscripts
Fix a couple build issues on OSX/non-Windows
2016-03-15 15:22:53 -07:00
Sridhar Periyasamy
252fc761e4 Merge pull request #1885 from Sridhar-MS/cli-layout-hack
Layout the CLI SDK in the "1.0.0" instead of "1.0.0-beta-001793"
2016-03-15 15:20:45 -07:00
Livar Cunha
8d39adbdbf Modifying the reporting channels to make the AdapterChannel a client and leave the TestRunnerChannel a server. This will prevent port conflicts between dotnet test and the Adapter (VS) due to race conditions.
Added E2E tests for dotnet test interactions with an adapter (design time).
2016-03-15 15:13:54 -07:00
Sridhar Periyasamy
3ec1f4f54b Layout the CLI SDK in the "1.0.0" instead of "1.0.0-beta-001793"
dotnet host muxer does not support pre-release CLI SDK when no global.json
file is present. So fixing the CLI layout to be in production version
layout. THIS IS A TEMP HACK.
2016-03-15 15:07:47 -07:00
Eric Mellino
f36029d135 Fix a couple build issues on OSX/non-Windows
We were downloading the wrong 'latest version' of the CLI, and targets passed into --targets were not split correctly
2016-03-15 14:58:53 -07:00
Sridhar Periyasamy
a75746cbd8 Fix the VSO signing builds
As a part of Package init create all the SharedFx, SharedHost and CLI SDK
layouts. This way all other package targets can take a dependency only on
InitPackage.
2016-03-15 14:21:20 -07:00
Eric Mellino
23e024c463 Add a directory-delete helper.
This seems to be needed on Windows to delete temporary staging files correctly.
2016-03-15 14:09:06 -07:00
Eric Erhardt
dc699729a4 Merge pull request #1871 from eerhardt/FixProjFiles
Update the .xproj files to reference the "DotNet" targets and props instead of "DNX".
2016-03-15 15:23:47 -05:00
Livar
a951253e3d Merge pull request #1845 from livarcocc/pack_additional_projects
Adding Files, Compiler.Common and TestFramework to projects to be packaged.
2016-03-15 12:56:49 -07:00
Andrew Stanton-Nurse
d52e0e4dde Merge pull request #1850 from dotnet/jver/NuGetFix
Remove parallelism in NuGet restore to workaround issue
2016-03-15 12:55:36 -07:00
Sridhar Periyasamy
2ce679c57d Merge pull request #1874 from Sridhar-MS/cli-layout
Fix bug in copying the CLI SDK layout for shared fx.
2016-03-15 12:36:50 -07:00
Piotr Puszkiewicz
2d3d2a9078 Bump NuGet to 763, --verbosity verbose, --disable-parallel 2016-03-15 12:35:23 -07:00
Bryan Thornbury
ff2d0dc462 Merge pull request #1870 from dotnet/brthor/1839
republish the deb file
2016-03-15 12:33:34 -07:00
Sridhar Periyasamy
236fd005b6 Fix bug in copying teh CLI SDK layout for shared fx. 2016-03-15 12:30:46 -07:00
Andrew Stanton-Nurse
e1a7044b45 add manual merge of RID fallback graph for Windows 2016-03-15 12:02:39 -07:00
Eric Erhardt
4304ca9848 Update the .xproj files to reference the "DotNet" targets and props instead of "DNX". 2016-03-15 13:59:00 -05:00
Eric Erhardt
3714cc25e9 Merge pull request #1865 from eerhardt/RemoveWorkarounds
Removing project.json dependency workarounds that were needed for CoreFX 23901 build.
2016-03-15 13:58:21 -05:00
Bryan Thornbury
c9227a36d0 republish the deb file 2016-03-15 11:55:56 -07:00
Eric Mellino
b68068d5a9 Merge pull request #1857 from Sridhar-MS/cli-bundle
[WIP]Create dotnet bundle with CLI SDK, SharedFx MSI and Shared Host MSI.
2016-03-15 11:23:23 -07:00
Sridhar Periyasamy
dea1e3242d Create dotnet bundle with CLI SDK, SharedFx MSI and Shared Host MSI. 2016-03-15 11:18:11 -07:00
Eric Erhardt
ce3c594880 Removing project.json dependency workarounds that were needed for CoreFX 23901 build. 2016-03-15 12:34:32 -05:00
Senthil
d95a4f0a5a Merge pull request #1849 from mellinoe/host-policy-fxr
Update files copied into shared framework staging directory
2016-03-15 09:10:22 -07:00
Eric Erhardt
9b0892c399 Merge pull request #1825 from eerhardt/NewCoreFx
Updating dependencies from last known good builds
2016-03-15 10:50:40 -05:00
Senthil
f615f74a39 Shared FX and Portable Support for Unified Host
- Add Casablanca CPP Rest SDK to corehost
    - Correct understanding of portable runtimeTargets section
    - Fix minor issues and automation for RID
    - CLI Build Integration
    - Add API to consume deps files
    - Unix doesn't like major as a variable name
    - Define NOMINMAX for Windows.h
    - Support APP_CONTEXT_DEPS_FILES
    - mscorlib.ni can come from native
    - Append Dotnet.dll to sdk path
    - Muxer vs standalone distinction based on own name.dll
2016-03-15 01:03:52 -07:00
Sridhar Periyasamy
6bd9d80fed Add the target attribute. 2016-03-14 18:46:56 -07:00
Eric Mellino
55db51a14b Publish shared framework and host zips to azure 2016-03-14 16:50:13 -07:00
Piotr Puszkiewicz
00be1e5c16 Merge pull request #1660 from Peter-Schneider/fix/issue-1656
Fix for issue #1656
2016-03-14 16:26:47 -07:00
Eric Erhardt
605cc54930 Merge pull request #1843 from eerhardt/FixSilentExec
Log StdErr StdOut when a failed command is executed in "silent" mode
2016-03-14 18:05:35 -05:00
Eric Erhardt
3bfd86b254 Remove crossgenning mscorlib on Unix platforms, since the CoreCLR nuget package now carries the crossgenned mscorlib on non-Windows platforms. 2016-03-14 17:58:14 -05:00
eerhardt
8953400eee Updating dependencies from last known good builds 2016-03-14 17:58:13 -05:00
Eric Mellino
ee5d5ef6f1 Overwrite hostpolicy file from nuget with local-built one 2016-03-14 15:40:19 -07:00
Eric Mellino
05ebf6f842 Update files copied into shared framework staging directory
We need additional files from the corehost directory
2016-03-14 15:00:59 -07:00
Eric Mellino
09c8e298ed Switch sharedframework project.json to Microsoft.NETCore.App
Use local-build corehost.exe

This is staying in the repo, so we can copy the local-built version.

Copy deps and deps.json, make sure corehost temp dir exists

Add additional runtimes to the sharedframework's project.json

Delete an unused file, modify crossgen target condition

* sharedhost\project.json is unused. It is copied from the local build.
* the crossgen target was conditioned on an environment variable, but the
  variable could be set to anything. Instead, make sure it is either
  "true" or "1".

Use stage2 instead of stage0 for shared framework restore
2016-03-14 14:43:31 -07:00
Livar Cunha
657efa2339 Adding Files and Compiler.Common to projects to be packaged. 2016-03-14 14:17:28 -07:00
Eric Erhardt
9a4936ae0d When a failed command is executed in "silent" mode, it is not easy to figure out why it failed in the build logs.
Fix: Add Standard Output and Error to the BuildFailureException message thrown by CommandResult.EnsureSuccessful.
2016-03-14 15:20:35 -05:00
Sridhar Periyasamy
dc11ed2ba8 Remove the hack to download "1.0.0.001665" CLI.
Revert to download the latest.
2016-03-14 12:14:00 -07:00
Sridhar Periyasamy
fd4e3b8cfe Merge pull request #1820 from Sridhar-MS/ci-changes
Add RHEL and Windows x86 to CI.
2016-03-14 11:12:01 -07:00
Livar
78778b883f Merge pull request #1795 from mellinoe/wip-build-stuff-rebased
Add installer scripts for the shared framework/host, incorporate into build
2016-03-14 09:59:12 -07:00
Andrew Stanton-Nurse
d08e83d5db add support for portable application layout 2016-03-12 11:52:29 -08:00
Sridhar Periyasamy
71d71b8ddc Add RHEL and Windows x86 to CI.
- Changes in netci.groovy to delete post-merge builds. We are suign VSO
  for that.
- Also add RHEL and Windows x86 to PR CI jobs. Instead of doing 'debug'
  and 'release' for all platforms we are only selectively have a mixture
  of debug and release builds. (For ubuntu we are doing debug and release
  but that will change when we have 'Debian 8.2' support. Ubuntu:Debug
  will be replaced by Debian8.2:Debug)
- Minor change in install.sh to maintain uniformity in OS names.
2016-03-11 15:55:52 -08:00
Eric Mellino
9f3feda606 Add sharedframework and sharedhost debian installer tests
These are basic tests for now, which validate installation, upgrade,
uninstall, etc. of the debian package itself. When the shared framework is
fully functional, we will add more tests that cover real functionality.
2016-03-11 15:10:33 -08:00
PiotrP
5ae6dcbbde Hard-code stage0 on Mac, Linux to use 1.0.0.001665, which contained a NuGet believed not to contain current regressions. 2016-03-11 12:39:36 -08:00
PiotrP
94ca41874d FragileNonVersionable 2016-03-11 12:20:04 -08:00
Sridhar Periyasamy
dc3c00d660 Do not cache version badges in the blob storage. 2016-03-10 16:03:43 -08:00
Eric Mellino
ce118f9d07 Add warning if shared framework is not going to be crossgen'd because mscorlib.ni.dll does not exist 2016-03-10 15:23:26 -08:00
Eric Mellino
d77fad4e68 Bring the OSX installer 'title' in line with Windows
It now includes the shared framework 'name' (NuGet package name) in the installer. In this case, the installer is called '.NET Core Shared Framework (NETStandard.Library 1.0.0-*)'
2016-03-10 15:19:54 -08:00
Eric Mellino
edbbc64b03 Fill out pkg installer targets
This causes three pkg files to be produced:

* A component pkg for the shared framework.
* A component pkg for the shared host.
* A product archive which includes the above two components.

The product archive also needs a distribution.xml file which contains
metadata about the package (name, title, images, etc.).

The installer for the "SDK" itself is still using logic implemented in
package-osx.sh. We should move this logic into the build target as well,
but we may want to wait until the CLI is using the shared framework to do so.
2016-03-10 10:31:45 -08:00
Sridhar Periyasamy
0dad10253b Set the correct content type for version badges in blob storage.
This is needed to display the version badges as images in external
websites like github.
2016-03-10 10:23:52 -08:00
Matt Ellis
4df5ed39d5 Crossgen Shared Framework managed assemblies
- Use Crossgen's Ready To Run mode on all of the managed assemblies
  that make up the shared framework.
- Upgrade the version of the shared framework to match what is used
  in the rest of CLI (see the comment in SharedFrameworkTargets.cs to
  understand why this is needed).
- Remove the IL mscorlib.dll image, since the Crossgen'd image is
  already published.

Fixes dotnet/corefx#6753
2016-03-10 04:38:15 -08:00
Matt Ellis
56e5a99c54 Add Shared Host Debian Package 2016-03-10 03:42:45 -08:00
Matt Ellis
696f4dc167 Add Shared Framework debian packaging 2016-03-10 03:42:45 -08:00
Matt Ellis
5cf35e4f38 Use explicit object directory for sdk deb pacakge
As we add more deb packages, we should keep everything tidy by given
each one it's on individual object root.
2016-03-10 03:42:43 -08:00
Matt Ellis
7e7995274a Add stub targets for shared framework and host 2016-03-10 03:37:43 -08:00
Matt Ellis
92e520bf7c Generate tars for SharedHost and SharedFramework 2016-03-10 03:37:43 -08:00
Matt Ellis
92edb36e5b Generate zips for SharedHost and SharedFramework 2016-03-10 03:37:42 -08:00
Matt Ellis
e6bcfee4a4 Add SharedFramework MSI Authoring 2016-03-10 03:37:41 -08:00
Matt Ellis
04d21e6693 Add Shared Host MSI Authoring
Ideally in the project.json for the shared host we would just list the
actual package that holds the shared host, instead of all of
NetStandard.Library, but doing some leads to compliation errors, since
publish wants to include a compile step that has a generated
AssemblyAttributes file which references types like System.String.
2016-03-10 03:37:41 -08:00
Matt Ellis
29bc612565 Refactor SDK Build Steps
Prefix the SDK build stuff with "Sdk" to make it easier to add other
sorts of packages (e.g. the shared host and the shared framework).
2016-03-10 03:37:40 -08:00
Sridhar Periyasamy
88c1340f6d Merge pull request #1782 from jeremymeng/debian
Add support for building dotnet/cli on Debian.
2016-03-09 17:30:44 -08:00
Sridhar Periyasamy
c85cf24677 Fix docker build breaks in centos. 2016-03-09 17:28:22 -08:00
Sridhar Periyasamy
02b2c75f50 Fix to publish artifacts when running inside docker. 2016-03-09 17:14:53 -08:00
Sridhar Periyasamy
56b1b829cf Fix centos build break when building using Docker
`glibc-devel` to enable corehost compliation.
2016-03-09 15:51:57 -08:00
Jeremy Meng
33ae98b48c Address CR feedback.
Add Debian to IsPlatform() method.
2016-03-09 23:35:21 +00:00
Jeremy Meng
ee4bbb43ff Add support for building dotnet CLI on Debian. 2016-03-09 23:05:02 +00:00
Sridhar Periyasamy
53dd5f4a23 Address more PR feedback
- Add libssl-dev dependency to DockerFile, because the package upgrade test still depend on this. It can be removed once a newer package without libssl-dev dependency is uploaded.
- Check pre-reqs in the package script.
2016-03-09 20:15:06 +00:00
Sridhar Periyasamy
1737fa8cbc Fix debian package tests 2016-03-09 18:55:26 +00:00
Sridhar Periyasamy
b99e40bfab Address PR feedback and remove Azure CLI from dockerfiles
We no longer need Azure CLI since publish is now via C#.
2016-03-08 18:46:54 -08:00
Sridhar Periyasamy
3edcab8eab Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into build-refactor1
Conflicts:
	scripts/Microsoft.DotNet.Cli.Build.Framework/CurrentPlatform.cs
	scripts/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildPlatform.cs
2016-03-08 23:42:15 +00:00
Sridhar Periyasamy
015bda2137 Debian package and publish changes
- Use parameters instead of env vars to create debian packages.
- Target to publish the deb package to the debian repo.
2016-03-08 23:33:18 +00:00
Sridhar Periyasamy
ae041c8f61 Address some PR feedback.
- Make the MSI scripts to use parameters instead of environment variables.
2016-03-08 23:31:14 +00:00
Andrew Stanton-Nurse
7cc90d9ad1 Update dotnet-build to produce portable layout
dotnet-build will produce a deps file for portable builds, and will now
create "runnable" outputs for RID-less targets

the outputs won't actually be runnable today because we need corehost
changes and to generate a deps.json file for corehost to use.
2016-03-08 11:46:15 -08:00
Sridhar Periyasamy
c4cb1f2d53 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into rhel
Conflicts:
	TestAssets/TestProjects/OutputStandardOutputAndError/project.json
2016-03-07 19:30:35 -05:00
Bryan Thornbury
e56cf84e43 Merge pull request #1691 from dotnet/brthor/fix-1689
Fix function error not found
2016-03-07 14:49:22 -08:00
Sridhar Periyasamy
d4a3190bfc Refactor the build scripts
- Bifurcate Package and Publish targets to enable signing.
- Move publish from bash/ps into c#.
- Create multiple targets to create MSIs and Bundles.
2016-03-07 12:20:50 -08:00
Bryan Thornbury
d7bb28dd68 Update run-build.sh 2016-03-03 17:39:04 -08:00
Eric Erhardt
6468b14e1d Move to CoreFX build rc2-23901
Update .exe's project.json Target Framework from dnxcore50 to netstandardapp1.5.
Update .dll's project.json Target Framework from dnxcore50 to netstandard1.3.

Adding workaround for DataContractSerialization to src\dotnet\project.json to fix crossgen issue.
Build 23901 has a dependency issue that doesn't allow the runtime.any.System.Private.DataContractSerialization
package to be restored. When we move to a new build of CoreFX we should take this workaround out.
2016-03-03 16:41:55 -06:00
Sridhar Periyasamy
3a4ce0a86b Add support for building dotnet CLI on RHEL. 2016-03-02 15:47:46 -08:00
Peter Schneider
a679f1dbb2 Fix for issue #1656 2016-03-02 22:13:00 +01:00
Troy Dai
b63705198c Merge branch 'troy/1569' into rel/1.0.0 2016-03-02 09:31:36 -08:00
Livar
66a4554290 Merge pull request #1640 from livarcocc/update_xunit_runner
Updating tests to use the latest version of dotnet-test-xunit
2016-03-01 22:47:37 -08:00
Livar Cunha
4108920510 Updating tests to use the latest version of dotnet-test-xunit, which supports debugging from VS. Also updating our xproj files so that we can build the CLI from VS using the CLI. 2016-03-01 16:28:10 -08:00
Troy Dai
9f8906fdac Update dotnet projectmodel tests 2016-03-01 12:58:30 -08:00
Pawel Kadluczka
ab5df03700 Merge pull request #1630 from dotnet/pawelka/pinned
Do not download a pinned version of cli if it is already installed.
2016-03-01 08:41:54 -08:00
Troy Dai
7582649f88 Merge branch 'troy/add.test.wip' into rel/1.0.0 2016-02-29 22:32:19 -08:00
Troy Dai
f7e4714dc5 Integrate ProjectModel server tests 2016-02-29 20:40:04 -08:00
moozzyk
3f43386d2a Do not download a pinned version of cli if it is already installed.
Fixes #1628
2016-02-29 16:03:50 -08:00
Sridhar Periyasamy
106aa69ce1 Add '--targets' option to the build scripts which take a comma separated
list of build targets.
2016-02-29 13:05:38 -08:00
Sridhar Periyasamy
85ca7c183d Upgrade the roslyn packages to 1.3.0-beta1-20160225-02.
This version has the fix for https://github.com/dotnet/roslyn/issues/8951
2016-02-26 16:00:54 -08:00
Sridhar Periyasamy
01d2656be1 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into cli-x86-support 2016-02-26 14:34:25 -08:00
Eric Erhardt
445b1b3adb Merge pull request #1526 from eerhardt/UpdateCI
Enable installer tests in our CI.
2016-02-25 08:59:18 -06:00
Bryan Thornbury
ca7bab6c11 Merge pull request #1504 from dotnet/brthor/build-conditional-targets
Build Conditional Targets & Coreclr/Deb Package Dependencies Check
2016-02-24 18:20:26 -08:00
Bryan Thornbury
6b2539cf94 Merge pull request #1539 from dotnet/brthor/unix_console_color
Use System.Console for colors on Unix
2016-02-24 18:18:06 -08:00
Bryan
ade5479196 Update CoreCLR & Corefx dependencies based on ldd method.
Use a hardcoded list for ubuntu and slight refactoring for cleaner targets
code.
2016-02-24 16:59:26 -08:00
Bryan Thornbury
6d8b622451 Add Conditional Target capabilities to the build scripts
Make Attribute properties immutable

PR Feedback, bugfixes

PR Feedback
2016-02-24 16:55:11 -08:00
Bryan
adc6aa7eff Fixes #832, add debian package and coreclr prereq check to the build.
PR Feedback
2016-02-24 16:55:10 -08:00
Bryan
a986a89dcc update with @stephentoub 's suggested changes 2016-02-24 10:51:36 -08:00
Pavel Krymets
89cf169a08 Fix run tests 2016-02-24 08:12:32 -08:00
Sridhar Periyasamy
834edfbc9c Add support for building Windows x86 version of dotnet CLI
- Changes to build scripts to produce Winx86 build artifacts like
  zip/installer.
- Change to run Nuget-xplat in the same process as dotnet.exe instead of
  spinning up a new 'corerun' process.
2016-02-23 18:04:49 -08:00
Eric Erhardt
2685d282b8 Enable installer tests in our CI. 2016-02-23 17:57:22 -06:00
Bryan
b2fab6df02 Update Reporter in build. 2016-02-23 12:10:50 -08:00
Pavel Krymets
f49fdd9197 Merge pull request #1501 from dotnet/pakrym/run-single-target
Fix run behaviour when only single target exists
2016-02-22 20:34:23 -08:00
Pavel Krymets
6ca22e4a56 Fix run behaviour when only single target exists 2016-02-22 15:11:24 -08:00
John Van Tuyl
9153b24e15 fix up whitespace 2016-02-20 13:53:36 -08:00
Bryan Thornbury
be8cde81b2 Merge pull request #1484 from dotnet/brthor/debian-e2e
Enable EndToEnd tests against the debian package
2016-02-19 14:58:37 -08:00
Sridhar Periyasamy
856a077bd1 Merge pull request #1487 from Sridhar-MS/cli-x86
Fixes in corehost for building x86 arch.
2016-02-19 12:06:50 -08:00
Sridhar Periyasamy
f96ac6ed92 Fixes in corehost for building x86 arch.
Set the calling convention to '__stdcall' explicitly else the default is
'_cdecl' on windows which mismatches with coreclr hosting APIs.
Use the newly built 'corehost' in stage1.
2016-02-18 18:03:26 -08:00
Bryan Thornbury
5b211726d8 Enable EndToEnd tests in the debian package
do a build and drop xml files
2016-02-18 16:57:24 -08:00
Piotr Puszkiewicz
e625cbcf7a Removes usage of DOTNET_HOME in CLI repo.
DOTNET_HOME is no longer required, though it is a documented override, so this change removes all unnecessary references to DOTNET_HOME from the CLI Repo.
2016-02-18 15:38:23 -08:00
Eric Erhardt
aca2c8c8dd Moving the TEST_ARTIFACTS environment variable to the new C# build scripts. 2016-02-18 13:35:01 -06:00
Bryan Thornbury
c749bae962 Pipe configuration through CommandResolver
script changes to pipe configuration to test.ps1

debug commit, remove this commit

Change dotnet-test to invoke dotnet-test-xunit directly

build tests with configuration, framework, runtime in windows

Update testtargets in new build scripts

make configuration first arg to dotnet test

PR Feedback

update command factory

fix interface

test update
2016-02-18 09:57:30 -08:00
David Fowler
8645031db8 Merge pull request #1471 from dotnet/davidfowl/fix-versions
Fixing versions
2016-02-18 02:42:31 -08:00
Senthil
e1d8a0505c Update appdep 2016-02-18 01:22:54 -08:00
David Fowler
69b5e3f815 Fixing versions
- Added --version-suffix to build and publish
- Support reading DOTNET_* version variables everywhere versions can be read
- Show the commit sha in dotnet --version
- Added tests that check the assembly output version
- Set DOTNET_BUILD_VERSION when producing the CLI app itself so that it has the version information stamped in for help.
2016-02-18 01:10:07 -08:00
Piotr Puszkiewicz
96b70e4a18 fix powershell no-cache 2016-02-17 22:36:28 -08:00
Troy Dai
ffb782594a Merge branch 'troy/add.test' into rel/1.0.0 2016-02-17 22:16:26 -08:00
Pavel Krymets
6f0e52376e Merge pull request #1455 from dotnet/pakrym/timespan
Log time from build start instead of absolute time
2016-02-17 21:29:37 -08:00
David Fowler
c980d0a8ed Fixed priting of test project 2016-02-17 21:20:18 -08:00
Piotr Puszkiewicz
9eb6bdec2a fix publish scripts 2016-02-17 19:32:10 -08:00
Piotr Puszkiewicz
2625b7e981 disable caching for latest binaries 2016-02-17 18:19:27 -08:00
Piotr Puszkiewicz
fc2ff2cc57 Test targets now clean up dotnet-hello from nuget cache 2016-02-17 18:19:27 -08:00
Sridhar Periyasamy
2887d21da3 Merge pull request #1463 from Sridhar-MS/docker-rel-fix
Fix release builds in docker.
2016-02-17 16:41:29 -08:00
Troy Dai
c2e5b0f24d Add a ProjectModel test 2016-02-17 16:29:28 -08:00
Sridhar Periyasamy
387dc552c4 Fix release builds in docker.
Move the args processing to run-build.sh. Earlier all the args were processed in build.sh and not passed on properly to a docker container.
2016-02-17 16:16:25 -08:00
Eric Erhardt
5b84d9df00 Merge pull request #1317 from eerhardt/MovePackageTool
Move the debian package_tool into our \tools directory.
2016-02-17 16:21:48 -06:00
Eric Erhardt
7b09f3fcac Move the debian package_tool into our \tools directory.
The package_tool isn't really part of our product, so moving it to the tools directory.
2016-02-17 15:50:37 -06:00
Pavel Krymets
d35a384d2d Log time from build start instead of absolute time 2016-02-17 12:10:21 -08:00
Bryan Thornbury
f370ac6a0b Add set -e to package.sh 2016-02-17 11:10:53 -08:00
Sridhar Periyasamy
b7c4d51d0a Add the 'CONFIGURATION' env var to Publish targets. 2016-02-17 10:40:34 -08:00
Sridhar Periyasamy
2deb093642 Update run-build.sh
Spit out the `config` during builds
2016-02-17 10:02:18 -08:00
Bryan Thornbury
23907bc924 Merge pull request #1434 from dotnet/brthor/1280/resgen-spaces
Fix Resgen with Spaces in Path
2016-02-17 09:35:26 -08:00
Piotr Puszkiewicz
43fdc13b51 Add fallback source to test project restore 2016-02-16 23:51:56 -08:00
Piotr Puszkiewicz
0b8b226c61 break test package build from test project build 2016-02-16 23:36:50 -08:00
Piotr Puszkiewicz
8ed8b5112a Remove deprecated Packaged Command Tests 2016-02-16 22:28:37 -08:00
Piotr Puszkiewicz
d9b54cecac Merge branch 'PackagedCommands' of https://github.com/eerhardt/cli into eerhardt-PackagedCommands 2016-02-16 21:20:57 -08:00
Piotr Puszkiewicz
fa9a9dc7b4 fix up casing of PS1 environment variables 2016-02-16 19:31:09 -08:00
Bryan Thornbury
ccce495737 Fixes #1280
PR Feedback for resgen tests

don't trim

update use-dev for win10

additional product changes

More fixes

fix

fix resgen
2016-02-16 17:07:58 -08:00
Sridhar Periyasamy
fdd062fd17 Delete build-test-prerequisites.ps1
With the build scripts moved to c# this is no longer required.
2016-02-16 16:33:24 -08:00
Sridhar Periyasamy
735b4beb7c Merge pull request #1340 from Sridhar-MS/test-fx
[WIP]: TestFramework with support for managing test projects.
2016-02-16 16:09:09 -08:00
Andrew Stanton-Nurse
c4010e6aa5 Merge pull request #1443 from dotnet/anurse/fix-version-numbers
fix version number padding
2016-02-16 15:58:00 -08:00
Bryan Thornbury
e486fb2020 Add Resgen Test Project, Add test to build project with resource with a space in the path. 2016-02-16 15:18:50 -08:00
David Fowler
ec0b004d4c Merge pull request #1438 from dotnet/davidfowl/remove-runtime
Remove the shared runtime folder from the CLI
2016-02-16 14:54:12 -08:00
Pavel Krymets
7754e8c710 Merge pull request #1362 from dotnet/pakrym/dc-tests
Refactor DependencyModel, add unit tests, add EnvironmentAbstraction library
2016-02-16 14:51:47 -08:00
Piotr Puszkiewicz
953fd210db Merge pull request #1441 from dotnet/anurse/emit-packaged-commands-test-output
forward packaged commands test outputs to console
2016-02-16 14:42:04 -08:00
Pavel Krymets
8a94e66384 Merge pull request #1439 from dotnet/pakrym/pack-output
Fix pack output location
2016-02-16 14:29:19 -08:00
Piotr Puszkiewicz
a14618f787 Merge pull request #1442 from dotnet/piotrpMSFT/ps1disambiguate
Fix Windows version badge filename
2016-02-16 14:17:12 -08:00
Andrew Stanton-Nurse
0d55878a45 fix version number padding 2016-02-16 14:02:50 -08:00
Pavel Krymets
4d4f5ad895 Fix pack output location 2016-02-16 13:56:07 -08:00
Sridhar Periyasamy
2eb39a9a40 Update publish.ps1
Fix the path to `.version` file to use the `$RID` env variable.
2016-02-16 13:51:36 -08:00
Piotr Puszkiewicz
faeeb4feaf $Configuration was being interpreted as $Configuration_ 2016-02-16 13:41:37 -08:00
Andrew Stanton-Nurse
d526b08a8e forward packaged commands test outputs to console 2016-02-16 13:37:19 -08:00
Sridhar Periyasamy
1ddec816cb Update CompileTargets.cs
Use `configuration` instead of hard coding `Debug`.
2016-02-16 12:59:25 -08:00
David Fowler
528b32ddc5 Remove the shared runtime folder from the CLI 2016-02-16 12:57:01 -08:00
Andrew Stanton-Nurse
34b0b688f7 patch up some final missing CI build things 2016-02-16 12:46:43 -08:00
Andrew Stanton-Nurse
f2b3b2e93a flip path slash 2016-02-16 12:23:14 -08:00
Andrew Stanton-Nurse
10772464c7 add help to build.cmd 2016-02-16 12:22:25 -08:00
Andrew Stanton-Nurse
c2f08bd853 remove ci_build.sh 2016-02-16 12:16:45 -08:00
Andrew Stanton-Nurse
57ce370b51 remove ci_build.cmd 2016-02-16 12:06:51 -08:00
Andrew Stanton-Nurse
8fedd2ada3 restore the NoPackage switch for VSO signing build 2016-02-16 11:39:17 -08:00
Sridhar Periyasamy
9ec8556d24 Rebase with the latest sources and fix the tests. 2016-02-16 11:26:40 -08:00
Sridhar Periyasamy
ab455e6bb9 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx 2016-02-16 09:58:20 -08:00
Pavel Krymets
39e1e26f0e Refactor DependencyModel, make it ready for tests 2016-02-16 09:56:19 -08:00
Piotr Puszkiewicz
a5d069324e Fix publish scripts 2016-02-16 01:57:24 -08:00
Piotr Puszkiewicz
a467dd236a Merge pull request #1421 from dotnet/blackdwarf-badges
badge updates
2016-02-16 00:49:10 -08:00
Piotr Puszkiewicz
d24de40ae5 Merge branch 'badges' of https://github.com/blackdwarf/cli into blackdwarf-badges 2016-02-16 00:30:16 -08:00
Piotr Puszkiewicz
811f892cf5 Fixes issue #1415 2016-02-15 23:45:31 -08:00
Piotr Puszkiewicz
9185f5772a Improved VSO build logging during VS Environment Variable collection. 2016-02-15 20:20:53 -08:00
David Fowler
50e7a8b71a Remove setting of DOTNET_HOME during compile 2016-02-15 10:22:47 -08:00
David Fowler
c7e9139fa6 More build cleanup and tweaks
- Added generic Get<T> to build context
2016-02-15 10:07:39 -08:00
David Fowler
078d6a8d5f Build and project cleanup 2016-02-15 09:43:18 -08:00
David Fowler
77dfbd8e43 Fixed the build
- csc kept crashing on stage 2 and it turned out to be a version mismatch with System.Reflection.Metadata.
- Silenced crossgen
- Made omnisharp see all of the projects
2016-02-15 09:03:40 -08:00
Senthil
ef00f0331e Include project.json dependencies for native 2016-02-14 17:20:23 -08:00
Sridhar Periyasamy
2a94a1e384 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
Conflicts:
	Microsoft.DotNet.Cli.sln
	scripts/dockerbuild.sh
	scripts/test/setup/build-test-prerequisites.ps1
	test/dotnet-build.Tests/IncrementalTestBase.cs
	test/dotnet-publish.Tests/Microsoft.DotNet.Tools.Publish.Tests.cs
	test/dotnet-publish.Tests/project.json
2016-02-12 17:26:58 -08:00
Andrew Stanton-Nurse
ba57e4bfe9 swap .version file 2016-02-12 17:16:28 -08:00
Andrew Stanton-Nurse
d524732bbb working on build scripts 2016-02-12 15:26:35 -08:00
Sridhar Periyasamy
5fb1eaa9c6 Fix tests for unix. 2016-02-12 15:12:19 -08:00
Livar Cunha
64c17c5541 Making argument forwarding tests run with dotnet test and removing the its special test scripts. 2016-02-12 13:33:41 -08:00
Andrew Stanton-Nurse
cc94c28f4e Merge pull request #1387 from dotnet/anurse/reenable-crossgen
Re-enable crossgen on Windows
2016-02-12 11:01:40 -08:00
Andrew Stanton-Nurse
531173db57 why not crossgen? 2016-02-12 10:11:30 -08:00
Tanner Gooding
9870a59be9 Adding csi and Microsoft.CodeAnalysis.CSharp.Scripting to the list of assemblies to crossgen. 2016-02-12 09:02:36 -08:00
Andrew Stanton-Nurse
d67a0cd9bb remove all the hacks to work around broken crossgen/coreclr 2016-02-11 21:16:18 -08:00
Sridhar Periyasamy
f86952cf1d Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx 2016-02-11 14:22:24 -08:00
Sridhar Periyasamy
9695fbfeda Refactor 'publish' and 'build' tests to use the TestFramework 2016-02-11 14:17:20 -08:00
Livar Cunha
4e1ec4c159 Refactoring dotnet-compile to make adding the script variable testable. So far, moved it to have a compiler controller and two separate compilers: native and managed. Also moved the script runner to its own class so that we can mock it into the managed controller.
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
2016-02-11 12:42:02 -08:00
Piotr Puszkiewicz
732f3d7abd Merge pull request #1364 from dotnet/anurse/update-to-23811
update everyone to 23811
2016-02-11 12:40:56 -08:00
Andrew Stanton-Nurse
8534bb8747 turn echo off off 2016-02-11 11:33:32 -08:00
Andrew Stanton-Nurse
19216b996b update crossgen scripts 2016-02-11 11:03:50 -08:00
Pranav K
ed1177a664 * Add support for specifying a version in obtain/install 2016-02-11 10:47:49 -08:00
Andrew Stanton-Nurse
236fcd8f95 update everyone to 23811
add a little hackiness to the build script to use 23811 in the stage 0 as well
2016-02-11 10:38:59 -08:00
Sridhar Periyasamy
d18ff2f421 Update publish.ps1
Some bug fixes to upload the bundle correctly to the blob storage.
2016-02-10 16:41:15 -08:00
Sridhar Periyasamy
56e3d8f903 Upload bundles instead of MSI 2016-02-10 13:06:48 -08:00
Eric Erhardt
5d04ca1fe3 Move PackagedCommands to TestAssets.
Convert package-command-test.ps1 to an XUnit test.
2016-02-10 15:05:25 -06:00
Eric Erhardt
74d8051f79 Bump CoreFx to rc2-23810 2016-02-10 13:50:28 -06:00
Zlatko Knezevic
69cd5a1835 Fix vesion badge looks & upload issue
The uploads didn't take into consideration the $CHANNEL variable and
badges were ending up in the dev channel. Also, the badge was too short
for the version number so fixing the SVG as well.
2016-02-09 18:39:43 -08:00
Eric Erhardt
490f4af0d4 Refactoring test directories.
- Rename Compiler.Common.Tests to Microsoft.DotNet.Compiler.Common.Tests.
- Create the Microsoft.DotNet.Cli.Utils.Tests and move StreamForwarderTests to it.
    - ArgumentForwardingTests will be moved here in the future
- Remove LoadContextTest, since it is old and no longer relevant.

Partial #1250
2016-02-09 18:26:53 -06:00
Piotr Puszkiewicz
48797ea80a Bump CoreFx to rc2-23808
Workaround for issue 1294

Improve crossgen notifications
2016-02-09 15:49:45 -08:00
Pavel Krymets
5c3bc7f340 Merge pull request #1321 from dotnet/pakrym/package-fix
Fix location for package signing
2016-02-09 14:38:31 -08:00
Pavel Krymets
9c9c726d82 Fix location for package signing 2016-02-09 14:17:48 -08:00
Eric Erhardt
784f5679bf Rename E2E test to EndToEnd. 2016-02-09 15:12:25 -06:00
Eric Erhardt
6dc9a49f0e Fix package-command tests failing on Windows.
We have a hard-coded "Debug" string in our restore-tests.ps1.
2016-02-09 14:40:46 -06:00
Pavel Krymets
0f82ae37f3 Refactor output directory code 2016-02-09 08:52:59 -08:00
Eric Erhardt
4908436958 Merge pull request #1261 from eerhardt/TestDirectory
Test directory refactoring step 1.
2016-02-08 21:36:29 -06:00
Eric Erhardt
3d14caceff Test directory refactoring step 1.
Moving TestProjects and TestPackages under root 'TestAssets' folder.

Partial fix #1250
2016-02-08 20:35:22 -06:00
Eric Erhardt
a3ab4d16d1 Fix the package cache on CI on Unix.
On the CI machines, the $HOME variable is redirected to the artifacts folder, which is under the repo root. The package cache is using $HOME. Thus between runs, the cache is removed.

To fix this, change the package cache on CI runs to be outside of the repo.
2016-02-08 17:50:52 -06:00
Eric Erhardt
168bfc6778 Merge pull request #1262 from eerhardt/FixCentOS
Fix CentOS on the latest .Net Core.
2016-02-05 20:56:45 -06:00
Eric Erhardt
1f8c139cec Fix CentOS on the latest .Net Core.
The latest .Net Core renamed the RID of the 'centos' packages to 'rhel'.  Migrating our scripts to use this name.
2016-02-05 20:13:35 -06:00
Livar Cunha
2d55c145e9 We still having issues when passing configuration to dotnet tests. This change makes dotnet build of tests and dotnet test commands always use debug build. We have issues #1267 and #1268 tracking fixes for this problem 2016-02-05 18:08:33 -08:00
Bryan Thornbury
bf5a466a03 fix slash in run_tests 2016-02-05 15:40:50 -08:00
Piotr Puszkiewicz
0863e02b52 Merge pull request #1253 from dotnet/piotrpMSFT/dotnet-testConfiguration
dotnet-test -c
2016-02-05 14:21:12 -08:00
Eric Erhardt
a7e9ee52c9 Update to .Net Core rc2-23805 2016-02-05 15:53:23 -06:00
Piotr Puszkiewicz
f51b9fb337 enable passing config to dotnet-test 2016-02-05 13:26:12 -08:00
Eric Erhardt
afc0d45e2e Merge pull request #1242 from eerhardt/NuGetCache
Cache NuGet packages on our CI server between builds.
2016-02-05 11:19:58 -06:00
Eric Erhardt
617af759ae Cache NuGet packages on our CI server between builds.
Currently on our CI builds, we point our NuGet cache under the repo. In between builds the repo gets deleted, thus the cache is lost.

This change moves the cache to %userprofile%\.nuget\packages on CI and dev boxes.  On CI, we expire the cache after a day by default.
2016-02-05 10:34:20 -06:00
Livar Cunha
64f89c990a Making the tests build without tfm, rid or configuration, because dotnet test does not understand those. that means that if we build for release and then do a dotnet test, the test will fail because dotnet test will look for binaries under debug/tfm. 2016-02-04 18:03:33 -08:00
Sridhar Periyasamy
17244b15c6 Update package.sh
Fix typos. This is failing the VSO CI builds.
2016-02-04 15:46:58 -08:00
Andrew Stanton-Nurse
bdce3f53f5 Merge pull request #1228 from dotnet/anurse/sync-install-script-params
sync install script params with PowerShell a bit
2016-02-04 14:33:44 -08:00
Bryan Thornbury
be4629a6a6 Merge pull request #1187 from dotnet/brthor/test_env_var
Add back Test Env Var so tests are published to the artifacts folder.
2016-02-04 11:58:14 -08:00
Andrew Stanton-Nurse
7ecb46fa55 sync install script params with PowerShell a bit 2016-02-04 09:58:26 -08:00