Commit graph

652 commits

Author SHA1 Message Date
Senthil
28f35c1cfa Remove DOTNET_HOME from the CoreCLR probe path 2016-02-12 17:03:09 -08:00
Andrew Stanton-Nurse
d524732bbb working on build scripts 2016-02-12 15:26:35 -08:00
David Fowler
6d4594a633 Disable server GC since it's OOMing 2016-02-12 13:38:49 -08:00
Bryan Thornbury
5c0eb19859 Merge pull request #1377 from dotnet/brthor/script_executor_and_arg_forwarding
ScriptExecutor and ArgumentEscaper Changes
2016-02-12 12:38:21 -08:00
Piotr Puszkiewicz
69c5f542e5 Merge pull request #1285 from enricosada/fix_dotnet_compile_fsc
Fix dotnet-compile-fsc
2016-02-12 12:14:59 -08:00
Bryan Thornbury
50ab680688 update compiler unit tests
fix rebase errors

PR Feedback

more PR feedback

fix

make new script file executable

Remove scripts from TestAppCompilationContext

add hashbang to echoscript
2016-02-12 11:37:15 -08:00
Bryan Thornbury
c1e28ae921 Refactor ScriptExecutor, add test cases for scriptexecutor.
Add TargetFramework and FullTargetFramework to compile and publish script
variables.

Add ProjectLocal Command Resolution Strategy.

Fixup ArgumentEscaper to not always quote things.

Fixes #1216
Fixes #1016
Fixes #982
2016-02-12 11:04:30 -08:00
Piotr Puszkiewicz
82bbd22d46 Merge pull request #1272 from cdmihai/cdmihai/noDependencies
Add --no-dependency flag to build
2016-02-12 10:59:54 -08:00
Tanner Gooding
5f5a59a136 Merge pull request #1209 from tannergooding/rel/1.0.0
Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02
2016-02-12 10:59:11 -08:00
Enrico Sada
7dd4bdf268 fix build of target framework net46 2016-02-12 19:14:50 +01:00
Enrico Sada
57ae360c23 use DNXCORE50 define to check if target framework is Desktop
Best is to use NuGetFramework.IsDesktop method, but i cannot parse the assemblyInfoOptions.TargetFramework as NuGetFramework
2016-02-12 19:14:50 +01:00
Enrico Sada
a2a319c55a support project.json compilationOptions.additionalArguments 2016-02-12 19:14:49 +01:00
Enrico Sada
19a66849a4 always create a pdb, dotnet-build crash if not found
a `noPdb` options doesnt exists in project.json, a pdb is required as compile output
2016-02-12 19:14:49 +01:00
Enrico Sada
e8e3f7c78f fix invalid arguments, fsc has problems with quoted arguments ( quoted with " ) 2016-02-12 19:14:48 +01:00
Enrico Sada
2bd7a978cf add --targetprofile:netcore if target framework is not desktop 2016-02-12 19:14:47 +01:00
Tanner Gooding
4e2d4f4816 Explicitly referencing System.Reflection.Metadata v1.2.0-rc2-23805 in several project.json 2016-02-12 09:04:10 -08:00
Tanner Gooding
f994f09e11 Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02 2016-02-12 08:57:42 -08:00
Pranav K
59e87f497f Use ApplicationBasePath instead of entry assembly to locate reference
assemblies.
2016-02-11 22:29:20 -08:00
Pranav K
33f1b8551e Compile Microsoft.DotNet.Cli.Utils in net451 2016-02-11 15:46:43 -08:00
Pranav K
f5065c9425 Target net451 in ProjectModel
Fixes #876
2016-02-11 15:42:14 -08:00
Livar Cunha
e945361a76 Replacing the fixed rid in the dotnet compile unit test by one that respects the platform where the tests are running.
Removing trailing slashes for the paths passed to the scripts to avoid the double quotes escaped issue.
2016-02-11 12:44:27 -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
Andrew Stanton-Nurse
b5450cabc2 update version in 'dotnet new' template 2016-02-11 12:11:45 -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
Mihai Codoban
a0990a518c Add --no-dependency flag to build 2016-02-10 15:35:27 -08:00
Pavel Krymets
4462dc21f8 Do not search for runtime output in dependencies 2016-02-10 15:20:08 -08:00
Pavel Krymets
23b1b077dd Merge pull request #1347 from dotnet/pakrym/refasm
Add reference assembly support to DependencyModel
2016-02-10 13:55:25 -08:00
Eric Erhardt
74d8051f79 Bump CoreFx to rc2-23810 2016-02-10 13:50:28 -06:00
Pavel Krymets
a8ce4f2e3a Add reference assembly support 2016-02-10 11:40:23 -08:00
Piotr Puszkiewicz
b34dd22ca8 Merge pull request #1295 from dotnet/piotrpMSFT/CrossGen23808
crossgen 23808
2016-02-09 16:19:15 -08: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
2fe913ae8f Fix incremental build 2016-02-09 15:41:45 -08:00
Pranav K
b0470fdebb Merge pull request #1324 from dotnet/prkrishn/1305
Don't filter by TFM when building DependencyContext
2016-02-09 14:50:57 -08:00
Pranav K
f78a259cf1 Merge pull request #1300 from dotnet/prkrishn/dependencycontext
Fix the paths at which CompileContext locates resgen outputs.
2016-02-09 14:50:36 -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
Bryan Thornbury
bed4c37beb Merge pull request #1325 from dotnet/brthor/1181/quickfix
hard code portable-net452+win81 to quickly unblock
2016-02-09 14:32:34 -08:00
Pranav K
1d25d2574d Fix the paths at which CompileContext locates resgen outputs.
Fixes #1136
2016-02-09 14:29:25 -08:00
Pavel Krymets
9c9c726d82 Fix location for package signing 2016-02-09 14:17:48 -08:00
Pranav K
c31b9fe5c1 Don't filter by TFM when building DependencyContext
Fixes #1305
2016-02-09 13:07:40 -08:00
Bryan Thornbury
a2d1d1b9e8 hard code portable-net452+win81 to quickly unblock 2016-02-09 13:06:38 -08:00
Pavel Krymets
2e71afc56d Fix build for full clr 2016-02-09 12:01:52 -08:00
Pavel Krymets
7baf0d61c6 Merge pull request #1313 from dotnet/pakrym/paths2
Fix tests on OS X and add diagnostic message
2016-02-09 11:59:38 -08:00
Pavel Krymets
3f058d4f32 Fix tests and add diagnostic message 2016-02-09 10:58:36 -08:00
Bryan Thornbury
0b27dba299 Merge pull request #1240 from dotnet/brthor/stream_forwarding_changes
Stream Forwarding Changes.
2016-02-09 10:45:35 -08:00
Pavel Krymets
0f82ae37f3 Refactor output directory code 2016-02-09 08:52:59 -08:00
Bryan Thornbury
b8e95a9568 Argument Fowarding Tests should account for newline added by StreamFowarder. Add an entry to developer guide so command developers will use Console.WriteLine. PR feedback and slight refactoring. 2016-02-08 14:19:03 -08:00
Bryan Thornbury
ccaaebf6e5 Stream Forwarding changes to not wait on buffer full before writing. Instead input streams will be read character by character as they Console.Write or Console.WriteLine. Upon finding a newline character, the line will be printed to the parent process's console. 2016-02-08 14:19:02 -08:00
Pavel Krymets
029de95d0f Fix dependency context bug and add load overload 2016-02-08 12:22:12 -08:00
Pranav K
03d112543b * Don't throw if Assembly.GetEntryAssembly is null
* Add a CompilationOptions.Default for convenient use when
  DependencyContext.Default is null.
2016-02-08 10:06:32 -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