Commit graph

51 commits

Author SHA1 Message Date
Charles Stoner
e2cdf17e2e Add Microsoft.DotNet.Tools.Interactive 2015-11-05 08:54:20 -08:00
Andy Gocke
da8f254cb4 PR comments 2015-11-04 12:04:51 -08:00
Andy Gocke
9d5f435ef5 Create (de)serializer for CompilerOptions
This allows language-specific compile utilities to map a set of
common arguments to their compiler's specific argument set.
2015-11-03 12:03:40 -08:00
David Fowler
db6464356c Print the time for compilation without verbose 2015-11-03 01:08:57 -08:00
anurse
b35fba863b command line interface clean-up 2015-11-01 21:08:01 -08:00
David Fowler
27f8300e82 Flow the intermediate output path to project refs 2015-11-01 05:50:39 -08:00
David Fowler
b5ebe855ad Change how paths to project references are resolved
- Removed project path resolution from ProjectModel
- Flow output path to transitive dependencies
- Don't copy project deps to output in publish or post compile
2015-11-01 05:40:19 -08:00
David Fowler
96dfcfa563 Make project dependencies work for dotnet run
- Copy project references to the output folder
2015-11-01 04:06:12 -08:00
David Fowler
8a32f5ece9 Copy dependencies on compile for desktop targets 2015-11-01 02:04:26 -08:00
Andrew Stanton-Nurse
fbedf48da2 fix windows build 2015-10-31 21:19:15 -07:00
Bryan Thornbury
67a17393f8 fix compilation error 2015-10-30 15:34:50 -07:00
Bryan Thornbury
82d538c43a fix compilation error 2015-10-30 15:20:14 -07:00
Bryan Thornbury
04e2212f45 clean up --native option 2015-10-30 15:13:53 -07:00
Bryan Thornbury
15cbb75e45 merge with master 2015-10-30 15:11:18 -07:00
Andrew Stanton-Nurse
e70a169b28 Add a shared runtime aware host
And use it in dotnet-compile
2015-10-30 15:03:29 -07:00
Bryan Thornbury
f8ebf66dfc catch clean failure 2015-10-30 14:56:10 -07:00
Bryan Thornbury
822f8100a9 clean things up 2015-10-30 14:48:09 -07:00
Bryan Thornbury
b86dbda57e --native compile option 2015-10-29 13:29:38 -07:00
Bryan Thornbury
7fe32a93b1 --native first attempt 2015-10-29 12:03:01 -07:00
Andrew Stanton-Nurse
1d76b2846c package up DNX in the tar.gz
includes a smoke test for verifying that the output can be used to build
also includes a checked-in CoreCLR in order to work around CoreCLR issue
2015-10-28 10:32:30 -07:00
Andy Gocke
953d934819 Add csc as default compilerName if one is not specified
Also remove csc from project.json files, since it is no longer
necessary.
2015-10-26 09:23:58 -07:00
Andy Gocke
72665a4f9f Remove compiler name autodetection
Also add compilerName: csc to every project.json to compensate.
2015-10-25 23:37:41 -07:00
Andy Gocke
2ccecbf78e Add a compilerName option to the project.json
If compilerName is not specified in the project.json then
dotnet compile will attempt to detect a compiler based on
a hardcoded lookup table.
2015-10-23 15:21:49 -07:00
David Fowler
f8837f7717 Fix quoting of arguments to handle things with spaces in them 2015-10-22 03:32:32 -07:00
David Fowler
5872aa0f0c Make all command execution synchronous
- This fixes a bunch of weird races I was seeing building
larger solutions.
2015-10-21 03:11:27 -07:00
David Fowler
c1e2d152e3 Remove mono bootstrapping logic 2015-10-21 01:18:14 -07:00
David Fowler
62e586549d Clean up diagnostics output from compile
- Show a build summary
- Parse the msbuild format (the one that most compilers output) into a diagnostic message and then print that.
- Fixed formatting of LibraryRange in dependency diagnostics
2015-10-21 00:26:57 -07:00
David Fowler
3a26e88deb Fixed to colors 2015-10-20 15:36:59 -07:00
David Fowler
6da43b205d Support publishing to .NET Framework
- Pick .exe or .dll based on emit entry point (true)
- Skip post publish fix up if the target application targets .NET Framework
2015-10-20 04:35:40 -07:00
David Fowler
086207ebcc Fix up diagnostics
- Show all diagnostics and the relevant location in project.json
even for transitive dependencies
- Removed LibraryRange from LibraryDescription and added a list instead
- Show stack traces in debug mode
- Fixed LibraryType.GetHashCode()
2015-10-20 01:44:00 -07:00
David Fowler
fc64db1f73 Support resx file embedding
- Added resgen tool and takes .resx and makes .resources
- Write .resources and .rsp to obj folder
2015-10-18 21:07:48 -07:00
David Fowler
6ba4781c4f Made changes to compilation and other things
- Added basic support for embedded resources (resx files are next!)
- Print out exit code from executed command (makes debugging easier)
- Fixed dnvm2.cmd to avoid putting things on the user path
- Fixed up propagation of exit codes
2015-10-18 19:02:09 -07:00
David Fowler
dc46d3e23e Invert boolean logic for project refs building 2015-10-18 07:41:59 -07:00
David Fowler
ba743b1ae6 Small tweaks to fix mono bootstrapping 2015-10-18 07:32:42 -07:00
David Fowler
c45ff35aed Successful build on OS X and linux
- Mono 4.3 was required to work with certain compilation options on the
first pass but this is temporary.
- Support outputting portable pdbs when not running on windows by
default
2015-10-18 07:10:22 -07:00
David Fowler
d5d3fd086c Fixed bootstrapping on osx/linux
- This won’t fully work since we need to download a precanned build
from somewhere.
2015-10-18 03:12:05 -07:00
David Fowler
3495781233 Catch exceptions and print the message from compile and publish 2015-10-18 02:06:15 -07:00
David Fowler
cce7949a5a Changes to dotnet-compile
- Split dotnet-compile into dotnet-compile and
dotnet-compile-{compiler}
- We still need to figure out the protocol and responsibility
but this change adds the needed indirection so that compilers can do
their thing.
- Updated the bootstrap script and kept the commands since we need
them to bootstrap the world until we get updates.

#52
2015-10-18 01:17:13 -07:00
David Fowler
6bb95c4857 Stop over building
- Added a flag --no-project-dependencies to dotnet-compile to avoid building project
dependencies.
- Made small tweak to LibraryExporter to check for instances rather than names

#63
2015-10-17 23:43:28 -07:00
David Fowler
357242f7b6 Print dependency diagnostics
- Downgrade lock file validation changes to warning instead of an error
- Don't show dependency information. Once we get log levels it'll be verbose.
The response file can be used to debug things.
2015-10-17 03:49:49 -07:00
David Fowler
55ef859423 Add support for more compilation options
- Added keyFile
- Added delaySign
- Added pdb generation
2015-10-17 03:32:58 -07:00
David Fowler
161c988d0f Disable assembly version warnings
- Since nuget resolves the relevant dependencies there's no need
to warn about binding redirects.

#47
2015-10-17 03:10:39 -07:00
Andrew Stanton-Nurse
1a01bfb931 add mac build 2015-10-16 15:45:19 -07:00
Andrew Stanton-Nurse
1a9a5acb41 check in CoreConsole until there's a working build 2015-10-16 15:45:17 -07:00
Andy Gocke
61eeb891ad Use camel case 2015-10-16 04:23:34 -07:00
Andy Gocke
0781d7649a Use csc on coreclr 2015-10-16 04:23:33 -07:00
David Fowler
64f539e100 Fixed a few issues around bootstrapping
- Work aronud coreconsole issue in the bootstrap.cmd
- Use msbuild 14 roslyn csc until we have it
- Remove quoting args when building project refs, it wasn't working
- Fixed logic that launched exe's directly
2015-10-16 04:21:40 -07:00
Andrew Stanton-Nurse
6d3f07234a code review feedback 2015-10-15 12:56:07 -07:00
Andrew Stanton-Nurse
9da2475e2f port DNX's ApplicationHostContext as ProjectContext 2015-10-14 15:37:39 -07:00
Andrew Stanton-Nurse
6395ffbff5 code review feedback and clean-up 2015-10-07 14:39:36 -07:00