Commit graph

97 commits

Author SHA1 Message Date
Bryan Thornbury
82d538c43a fix compilation error 2015-10-30 15:20:14 -07:00
Bryan Thornbury
951e682070 remove constant 2015-10-30 15:17:43 -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
4cb3b9569b Merge remote-tracking branch 'upstream/master' into compilenative 2015-10-29 12:04:02 -07:00
Bryan Thornbury
7fe32a93b1 --native first attempt 2015-10-29 12:03:01 -07:00
David Fowler
756080421d Use CoreConsole on *nix
- Changed publish to use CoreConsole instead of
CoreRun for *nix
- Locked pacakge versions for test projects
2015-10-29 02:23:09 -07:00
David Fowler
c83f58d566 Minor API cleanup
- Make ProjectContextBuilder a fluent API
- Rename ResolveRepositoryPath to ResolvePackagesPath
2015-10-29 01:35:23 -07:00
David Fowler
2a37430053 Updated the solution and project file 2015-10-29 00:21:35 -07:00
David Fowler
f98159b3bb Renamed ProjectModel project
- Microsoft.Extensions.ProjectModel -> Microsoft.DotNet.ProjectModel
2015-10-29 00:15:12 -07:00
David Fowler
0ff309d6d1 Skip exe step for desktop TFM publish 2015-10-28 17:19:10 -07:00
Andrew Stanton-Nurse
840b704bf5 pin versions 2015-10-28 15:55:43 -07:00
Andrew Stanton-Nurse
a715be1d59 switch to latest coreclr 2015-10-28 15:47:47 -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
David Fowler
94bafb17a3 Skip the packages folder in the default excludes 2015-10-28 02:59:44 -07:00
David Fowler
80beccdbdc Added support for relocating reference assemblies
- This enables building for mono by setting the DOTNET_REFERENCE_ASSEMBLIES_PATH env variable. We could add some smart defaults for mono later.
- Added a new diagnostic for reference assemblies when the framework itself isn't installed.
- Added new error codes for dotnet.
2015-10-28 02:21:00 -07:00
Andy Gocke
1564a48760 Merge pull request #102 from agocke/AddCompilerNameOption
Add a compilerName option to the project.json
2015-10-26 09:34:19 -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
David Fowler
8ea6607c92 Lock file parsing cleanup
- Handle Package vs package, NuGet puts Package in the lock file
- Handle null package lookups gracefully
2015-10-24 04:32:26 -07:00
David Fowler
3876d2e16a Changes to publish
- Return error for invalid runtime ids
- Change output to be rid specific
2015-10-24 03:59:39 -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
Bryan Thornbury
7a5354d4b5 pin versions 2015-10-22 15:21:54 -07:00
Bryan Thornbury
8a94b30100 Only build deb packages on mac, fix windows docker build 2015-10-22 15:12:49 -07:00
Bryan Thornbury
32916db70f pull down dependency to fix the build 2015-10-22 14:48:45 -07:00
David Fowler
8ca5740ce0 Change output for process exiting 2015-10-22 05:31:24 -07:00
David Fowler
18595e221e Make publish require and entrypoint 2015-10-22 04:34:01 -07:00
David Fowler
f8837f7717 Fix quoting of arguments to handle things with spaces in them 2015-10-22 03:32:32 -07:00
glennc
7339dbd5bf Force package versions down temporarily while we move to dotnet. 2015-10-21 14:02:47 -07:00
David Fowler
5ee8245b38 Fix issues with resolving reference assemblies
- Fixed global json lookup
2015-10-21 13:00:13 -07:00
David Fowler
20a4b43e4b Fixed duplicate diagnostics 2015-10-21 03:53:07 -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
7191080caf Add a newline to the bash script for exec 2015-10-21 00:35:28 -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
Andy Gocke
d97d307cdf Merge pull request #75 from agocke/DowngradeRuntime
Downgrade the runtime to -23413
2015-10-20 14:14:24 -07:00
Andy Gocke
1968207cbe Downgrade the runtime to -23413
It appears the compiler is crashing with an ExecutionEngineException
while trying to load the resource satellite assembly on -23419. Until
this is fixed we should downgrade to -23413.
2015-10-20 11:40:08 -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
d42b38d8ff Small fixes
- Change color of executing command
- Fix overwrite in publish
2015-10-20 03:07:21 -07:00
David Fowler
063eb45f8b Moved the reporter to shared code 2015-10-20 02:42:29 -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
John Luo
0606e26221 Adding content copying to publish #51 2015-10-19 14:08:52 -07:00
David Fowler
f24aeae6b2 Removed unused variables 2015-10-18 21:34:16 -07:00
David Fowler
0c5464fa8c Added time for command execution 2015-10-18 21:24:26 -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