Commit graph

77 commits

Author SHA1 Message Date
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
5e21276cd9 Bootstrapping on OSX and Linux require mono (mcs specifically)
First pass requires mcs but it works
2015-10-18 04:02:58 -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
David Fowler
ee0d2519e6 Changes to publish
- Added ability to rename a project using the name
entry in project.json. Renaming files doesn't work well when debugging
the pdb can't be loaded.
- Removed the logic that looks at commands on publish. The only
thing that matters is the assembly name.
2015-10-18 00:35:56 -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
68d591124e Move TryGetProject into ProjectReader 2015-10-17 22:42:50 -07:00
David Fowler
8d9e66889e Fixed lock file version comparison 2015-10-17 17:10:18 -07:00
David Fowler
9bdf7ca185 Remove fast path for framework assemblies
- DNX had this code before to avoid hitting the disk on startup.
This isn't a big deal if we're just producing outputs. Hopefully
the future we can delete all of this code and have everything come
from packages.
2015-10-17 15:29:10 -07:00
David Fowler
6343d282e9 Shuffling classes around 2015-10-17 08:55:06 -07:00
David Fowler
fa3cf52f10 Move CompilerOptions onto TargetFrameworkInformation 2015-10-17 08:36:22 -07:00
David Fowler
b2ebe529bd Remove IsLoadable from Project 2015-10-17 08:05:35 -07:00
David Fowler
fe3a9d1332 Fixed formatting 2015-10-17 07:50:02 -07:00
David Fowler
f2fdba5887 Removed more code 2015-10-17 07:35:07 -07:00
David Fowler
de116164dd API cleanup
- Removed unneeded code from LibraryManager and ProjectContextBuilder
2015-10-17 07:34:04 -07:00
David Fowler
58de7c4793 Fixed erroneous warning about mismatched dependencies
- Fixed lock files parsing issues
- Did some cleanup as well
2015-10-17 07:20:56 -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
Piotr Puszkiewicz
c43dc6781f Merge pull request #50 from brthor/package_tool
Package Tool
2015-10-17 11:28:42 +02:00
David Fowler
cf5dcc724f Remove native compiltion to increase speed of build 2015-10-17 01:20:45 -07:00
David Fowler
7f452bce7d Fix .NET Framework compilation 2015-10-17 00:04:20 -07:00
David Fowler
adaf7f9be4 Fixed compilation issues with source exports
- Dependencies can have multiple parents. Fix the object model for that.
- Also moved shared file resolution to the right spot
2015-10-16 22:50:44 -07:00
Andrew Stanton-Nurse
25d9b419bc fix stuff fowler broke ;) 2015-10-16 16:55:47 -07:00
David Fowler
a75ea50b61 Bootstrapping works! 2015-10-16 16:25:54 -07:00
Andrew Stanton-Nurse
a5a0441a84 ubuntu packaging 2015-10-16 15:57:59 -07:00
David Fowler
94f5326189 Removed turd 2015-10-16 15:49:06 -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
David Fowler
2fa96c3f94 Added dnvm2 to bootstrap dotnet sdk 2015-10-16 15:41:41 -07:00
Bryan
2e6223c224 undo gitignore changes 2015-10-16 12:15:25 -07:00
Bryan
7b8b4b10e0 Code review feedback, normalize whitespace to spaces 2015-10-16 12:13:52 -07:00
David Fowler
dade339a33 Remove csc work around on second pass 2015-10-16 04:47:52 -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
Bryan
c38ccd8054 fix commented out try catch in config_template_generator 2015-10-15 17:52:51 -07:00
Bryan Thornbury
b8111ba345 test.sh needs sudo 2015-10-15 17:41:50 -07:00
Bryan
efd3abb51e fix test executables 2015-10-15 17:34:15 -07:00
Bryan
c1f036c2e8 fix install root not set 2015-10-15 17:27:58 -07:00
Bryan
9b4cc95312 tweak symlink generation so leading slashes are omitted 2015-10-15 17:03:55 -07:00
Bryan Thornbury
2cf04d37ce adjust file permissions 2015-10-15 16:57:43 -07:00
Bryan
4fa2348a38 fix gitignore of test package layout 2015-10-15 16:38:34 -07:00