Commit graph

3908 commits

Author SHA1 Message Date
Peter Schneider
d80218ab42 Color Handling in AnsiConsole 2016-03-22 16:49:08 +01:00
Piotr Puszkiewicz
3616378130 Merge pull request #1946 from jamesqo/md-typos
Fix a couple of typos in the .md/doc files
2016-03-22 08:39:54 -07:00
schellap
10ed8d6162 Move logic from corehost to hostfxr
- Also change probe for hostfxr in host/fxr/x.y.z
2016-03-22 00:51:01 -07:00
James Ko
4a26cde880 Fix typo in CompileCommand class name 2016-03-22 00:11:37 -04:00
James Ko
c7f980d77d Fix a couple of typos in the .md/doc files 2016-03-22 00:11:19 -04: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
Pawel Kadluczka
ca74a9b177 Merge pull request #1877 from dotnet/pawelka/outname_new
Enable specifying output assembly name in compiler options
2016-03-21 14:29:23 -07:00
moozzyk
ce6ce3c49b Folding ProjectFile.Name to compiler options 2016-03-21 12:42:33 -07:00
moozzyk
621d8376c3 Fixing publish to create executable with the outputName if specified 2016-03-21 12:42:32 -07:00
moozzyk
03f5379165 Adding support for output file name for apps. 2016-03-21 12:42:31 -07:00
moozzyk
856fb8d6d9 Enable specifying output assembly name in compiler options
Addresses #1797
2016-03-21 12:42:31 -07:00
Sridhar Periyasamy
11538d2d3d Fix 'version' to display commit sha.
Fixes #1958
2016-03-21 11:42:09 -07:00
Livar
14d5dd80b0 Merge pull request #1853 from livarcocc/more_test_params
Added remaining params from https://github.com/dotnet/cli/issues/1376 and build before tests
2016-03-19 10:01:28 -07:00
Senthil
d05abb8c0b Merge pull request #1942 from dotnet/schellap-bsymbolic
Add bsymbolic flags to linux linker
2016-03-18 15:26:53 -07:00
Senthil
faaea62b46 Merge pull request #1747 from mylibero/arm
Support cross-build in corehost
2016-03-18 09:35:56 -07:00
Dongyun Jin
2ef70fc16d Support cross-build in corehost
- Add ability to specify `cross` and `C++ Cross Compiler`
when building corehost for ARM.
- Add usage print in the corehost build script
- Fix bugs found on the cross compiler

Signed-off-by: Dongyun Jin <dongyun.jin@samsung.com>
2016-03-18 20:55:27 +09:00
Senthil
062e538657 Merge pull request #1554 from schellap/hostpfiles
Fix program files probe and HOME dir
2016-03-18 01:46:37 -07:00
Senthil
cbde132974 Merge pull request #1938 from dotnet/stat-isdir
Check stat mode in addition to dirent type
2016-03-17 18:34:21 -07:00
Senthil
d35d0cc543 Merge branch 'rel/1.0.0' into hostpfiles 2016-03-17 18:32:55 -07:00
Senthil
8c486908a8 Add bsymbolic flags to linux linker
The problem with not having these flags are:

`libhostfxr.so` and `libhostpolicy.so` would still keep using common functions that are defined in `dotnet.exe` effectively void a servicing override. Of course, servicing of common code would service both `dotnet.exe` and `libhostpolicy.so`, but this is needed to match Windows for consistency and is easier to reason about.
2016-03-17 18:25:02 -07:00
Bryan Thornbury
2afe032280 Add tests and change to call exec 2016-03-17 18:20:52 -07:00
Bryan Thornbury
863f1cd91d add the additional probing path to dotnet run
remove colon
2016-03-17 18:20:52 -07:00
Senthil
9093b18ac2 Check stat mode in addition to dirent type 2016-03-17 17:13:53 -07:00
Bryan Thornbury
861b7494d3 Add hacky abstraction for quickly parsing RuntimeConfig.json and determining if it's a portable app 2016-03-17 16:39:48 -07:00
Livar Cunha
8358ccb5e8 Added build before running the tests and the no-build option to opt out of it.
Added new tests to ProjectDependencyCommandResolver and new E2E tests for dotnet test.
2016-03-17 15:17:18 -07:00
Bryan Thornbury
873310f8f4 fix commandPath ordering for corehost 2016-03-17 14:06:15 -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
937141c6a5 Cleanup 2016-03-17 13:44:32 -07:00
Bryan Thornbury
f0c2cb2c18 product changes to support portable tools 2016-03-17 13:44:32 -07:00
Bryan Thornbury
b59c4333ea Remove tool restore from dotnet restore, use nuget tool restore 2016-03-17 13:44:32 -07:00
Livar Cunha
45abe6d52b Added extra params (base-build-path, runtime, framework) and refactored parameter parsing into its own class with tests.
Changed program.cs to use the new dotnettestparams.

Hooked up the new parameters to the ProjectDependencyCommandResolver
2016-03-17 13:29:16 -07:00
Pavel Krymets
f5330cdd1f Merge pull request #1918 from dotnet/pakrym/deps-nulls
Remove DependencyModel csv reader, add lots of null checks everywhere
2016-03-17 11:35:20 -07:00
Senthil
a766bc173e Relax error case if runtime config is not present 2016-03-17 11:32:46 -07:00
Senthil
b93b915cc6 Fix error check and verbose 2016-03-17 11:05:49 -07:00
Pavel Krymets
6970a75746 Remove csv reader 2016-03-17 10:03:26 -07:00
schellap
ee27b1ff11 Enable logging and fix xunit runtimeconfig 2016-03-17 01:53:52 -07:00
Senthil
6fec9ad1fa Merge pull request #1921 from schellap/deps-fmt
Return empty entries instead of creating empty ones
2016-03-17 00:30:56 -07:00
Senthil
8ff5f9df6f Return empty entries instead of creating empty ones 2016-03-16 20:50:32 -07:00
Senthil
adda6fcdfc Merge pull request #1915 from schellap/deps-fmt
Revert merging relpaths and relax erroring
2016-03-16 20:46:34 -07:00
Senthil Chellappan
00905c3faf Revert merging relpaths and relax erroring 2016-03-16 19:03:21 -07:00
Pavel Krymets
665dc9bcce Add null checks everywhere in dependency model 2016-03-16 16:53:59 -07:00
Pavel Krymets
28d5f6125c Merge pull request #1906 from dotnet/pakrym/legacy-deps
Generate embedded deps file that previos versions of DependencyModel can use
2016-03-16 15:59:17 -07:00
Senthil
0a5d95d2ad Fix casing of shared and add DT_DIR to readdir 2016-03-16 14:09:48 -07:00
Pavel Krymets
1cbec5a494 Generate embedded deps file that previos versions of DependencyModel can use 2016-03-16 12:43:41 -07:00
Sridhar Periyasamy
570e348edf Make corehost pick pre-release SDK version when no production releases.
Also fix STL crash.
2016-03-16 10:59:17 -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
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
Enrico Sada
5728330a2f use response files by default 2016-03-16 16:32:42 +01:00
Enrico Sada
b6fcbbdd86 compile-fsc fix and features
Support project.json compilationOptions:

- nowarn
- warningsAsErrors
- keyFile
- delaySign

Use env var to configure compile-fsc behaviour:

- DOTNET_FSC_PATH the fsc path. Default the bundled fsc.exe
- DOTNET_COMPILEFSC_USE_RESPONSE_FILE if '1' then pass a response file
  to fsc instead of all arguments. Default pass all arguments
- DOTNET_FSC_EXEC configure how to run the fsc. Values:
   - RUN run fsc passing fsc args
   - COREHOST run corehost passing fsc and fsc args. The default

Use the same order of fsproj msbuild task for fsc arguments to make it easier
compare fsproj build and .net cli build

Fix --resource with path and name

Enable --debug (-g) if pdb

The generated assembly info file must be in the last - 1 position
in source files list.

1. the generated assembly info file must be in the last possibile position to
   override the attributes
2. The last file is the source file with main
2016-03-16 16:29:23 +01:00
Pavel Krymets
77e511c4d4 Generate runtime graph when building runtime 2016-03-16 08:27:55 -07:00