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
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
7f59f00317
Closer to xplat build working
...
- Use newer nuget feed
- Lift versions to get new implementations
- Removed more dead code
2015-10-18 06:53:47 -07:00
David Fowler
2df6ec04ab
Marked unresolved deps as compatible but unresolved
2015-10-18 04:35:49 -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
586dbde67f
Removed the commands from the project.json files
2015-10-18 00:50:37 -07:00