Commit graph

5054 commits

Author SHA1 Message Date
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
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
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
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
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
c60cef1e9b refactor to use our JSON parser 2015-10-15 15:09:37 -07:00
Andrew Stanton-Nurse
6d3f07234a code review feedback 2015-10-15 12:56:07 -07:00
Andrew Stanton-Nurse
40eba07f28 add some bootstrap scripting 2015-10-15 12:18:45 -07:00
Andrew Stanton-Nurse
cdd7248a8d cleaning up bootstrap story 2015-10-15 09:41:31 -07:00
Andrew Stanton-Nurse
9da2475e2f port DNX's ApplicationHostContext as ProjectContext 2015-10-14 15:37:39 -07:00
Andrew Stanton-Nurse
eaf7cb30ab add some readme 2015-10-08 14:49:39 -07:00
Andrew Stanton-Nurse
37de4976b3 add readme 2015-10-08 14:41:04 -07:00
Andrew Stanton-Nurse
6395ffbff5 code review feedback and clean-up 2015-10-07 14:39:36 -07:00
anurse
43873a37b5 merge my spike on compile/publish/run and switch from PS1 to C# 2015-10-06 10:46:43 -07:00
David Fowler
550dd7f062 Some small tweaks to make development easier
- Added scripts directory to path when using dotnet tool
- Added dotnet-compile and dotnet-restore
2015-10-06 03:10:26 -07:00
David Fowler
92f20068e7 Execute the known commands
- Added dotnet.sh and dotnet.cmd for testing
- Still uses dnx and dnu for bootstrapping
2015-10-06 02:19:27 -07:00
anurse
ab8986e3e3 initial spike of compile, publish and run 2015-10-05 21:22:26 -07:00
David Fowler
abb9aded65 Add gitignore 2015-10-03 11:36:46 -07:00
David Fowler
15ccc3781f Initial commit 2015-10-03 11:34:08 -07:00