Commit graph

92 commits

Author SHA1 Message Date
Eric Erhardt
30346443fb Merge pull request #2035 from eerhardt/Version
Changing --version in the CLI
2016-03-24 21:15:09 -05: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
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
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
Piotr Puszkiewicz
1fd72c201b Enable ReadyToRun for Roslyn 2016-03-22 00:26:26 -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
Sridhar Periyasamy
75d49d99f3 Bug fix to copy the hostpolicy and hostfxr binaries from the correct location. 2016-03-17 10:07:03 -07:00
Sridhar Periyasamy
5150bae60c Fix Package targets to respect the new CLI SDK layout. 2016-03-16 17:54:44 -07:00
Sridhar Periyasamy
4d19e4d866 Layout CLI SDK, Shared Fx and Muxer in stage1 and stage2. 2016-03-16 15:54:02 -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
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
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
PiotrP
94ca41874d FragileNonVersionable 2016-03-11 12:20:04 -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
Jeremy Meng
ee4bbb43ff Add support for building dotnet CLI on Debian. 2016-03-09 23:05:02 +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
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
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
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
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
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
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
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
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
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