Commit graph

94 commits

Author SHA1 Message Date
Kyungwoo Lee
ecda2a8106 Merge pull request #763 from kyulee1/nodel
No delete intermediate folder after dotnet compile --native
2016-01-09 09:09:05 -08:00
David Fowler
67cdc1b755 Fixed Write -> WriteLine 2016-01-08 23:50:34 -08:00
Kyungwoo Lee
851bcc08be No delete intermediate folder after dotnet compile --native
Currently we elide all intermediate .rsp and .obj from the this run.
This is because we shared the intermediate folder name with the prior step.
The fix is to append "native" same as output folder.
2016-01-08 16:50:12 -08:00
Andrew Stanton-Nurse
f4df12f2e2 add proper RID detection based on PlatformAbstractions 2016-01-08 10:07:58 -08:00
Pavel Krymets
2d4fe4bc10 Fix dependency context bugs 2016-01-08 10:00:13 -08:00
Pavel Krymets
e39d30ba9c Add compilation options to dependency context 2016-01-05 15:13:14 -08:00
piotrp
cb90b1122c Some PR feedback, cleaning up namespaces. 2016-01-05 01:49:28 -08:00
piotrp
ef0fc05119 ProjectContext.MakeRunnable
PR Feedback

Fixing naming of GetContentFiles
2016-01-05 01:49:27 -08:00
Mihai Codoban
110b30ccdc Extract build from compile
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
Gaurav Khanna
0b2a6fee2e Pickup headers from ILCompiler.SDK
Add support for --cppcompilerflags switch to enable passing custom native compiler arguments.
2015-12-23 08:51:20 -08:00
Gaurav Khanna
57cbc119de Add support --ilcsdkpath to allow ILCompiler to consume a custom build of ILCompiler.SDK 2015-12-19 14:05:06 -08:00
Pavel Krymets
f05b208ad7 Add dependency model api 2015-12-18 12:09:39 -08:00
David Fowler
56530c9113 Remove verbose dependency info
- It's not needed since we have response files on disk that are easy to look at.
2015-12-17 01:00:24 -08:00
Pavel Krymets
caf82a96ec Add target framework attribute 2015-12-16 10:54:57 -08:00
Pavel Krymets
ab5b16c00c Flow project metadata to assembly 2015-12-14 16:39:31 -08:00
Cesar Blum Silveira
fb461c27bf Support overriding strong naming key path with environment variable. 2015-12-14 10:55:55 -08:00
Pavel Krymets
93158dc1be Add resource satelite assembly generation 2015-12-14 08:33:11 -08:00
Pavel Krymets
91acc03a13 Read original app.config and add to it 2015-12-10 15:54:11 -08:00
Charles Stoner
6a15c33492 Merge pull request #424 from cston/prompt
Allow unbuffered forwarding of output
2015-12-10 09:18:18 -08:00
David Fowler
7d2277d930 Made some fixes to binding redirects
- Don't generate an empty config file with no redirects.
- Fix swapped publicKeyToken and culture
#462
2015-12-10 01:44:50 -08:00
Charles Stoner
ac017ea3ee Forward output unbuffered 2015-12-09 15:20:58 -08:00
Pavel Krymets
d09137f8d5 Generate binding redirect for Desktop CLR 2015-12-09 10:47:16 -08:00
Piotr Puszkiewicz
9fb5da0aee Merge pull request #347 from dotnet/anurse/157-publish-tidy-up
avoid dropping deps file when publishing
2015-12-02 00:45:56 -08:00
shahid-pk
e02c8e6f81 rename resgen to dotnet-resgen 2015-12-01 22:12:04 +05:00
piotrp
407c933480 add dotnet-test 2015-11-30 17:28:03 -08:00
Andrew Stanton-Nurse
48cd38cd92 avoid dropping deps file when publishing
also, avoid requiring a dependency on Microsoft.NETCore.Runtime

fixes #157
2015-11-30 12:17:41 -08:00
Senthil
7d5a901532 Merge pull request #336 from schellap/master
Plumb AppDepSDK path from dotnet cli
2015-11-30 10:40:35 -08:00
piotrp
bf2583c1a6 Fix Microsoft.DotNet.ProjectModel namespace 2015-11-27 16:19:54 -08:00
schellap
b125c7ddf4 Plumb AppDepSDK path from dotnet cli 2015-11-27 01:30:03 -08:00
schellap
31700a0ae9 Pass ILC Path to DotNet Native Compile 2015-11-20 11:19:28 -08:00
Bryan Thornbury
f3f0d389d8 Add -Xlinker -lrt to fix issues with linking libSystem.Native.a, change --ilc-args to --ilcargs 2015-11-19 12:29:30 -08:00
Livar Cunha
d0100335da Changing native out flag to output flag to match compiler. Also changing the rsp file spliting to handle both /r/n and /r
Fixing the input path to the native compiler. It was adding /native to it before.

Switching compile native to System.CommandLine for args parsing and removing quotes from -native.rsp.

Fixing build_appdeps.cmd: Removed the * from __ApPDepSDK as xcopy does not honor that. In order to stay independent of the version of appDep, we CD into the appDepSDK and then navigate to the first folder we find, which should always be one, as we clear the folder before restoring appDep, after that we xcopy
2015-11-18 17:03:28 -08:00
Andrew Stanton-Nurse
04624ff5d1 add script executor
also added a postcompile script to each project to place the outputs in the right folder

fixes #237
2015-11-18 14:28:07 -08:00
Bryan
1952e6d972 Dotnet compile include project dependencies 2015-11-17 20:38:04 -08:00
Bryan
1576ffeb15 Dotnet compile --native integration with rsp file 2015-11-17 20:38:04 -08:00
PiotrP
e839b4debb Update Copyright headers in all source files. 2015-11-16 19:47:43 -08:00
David Fowler
df3a5fba7a First pass at dotnet-pack
- Ported nuget package building code over from dnu. Moved that code to use NuGet v3 primitives.
- Simplified the package builder API
- Left out resources and schema detection for now
- This folder should remain self contained as the code will be copied into NuGet v3.
- Missing features include symbols packages
2015-11-15 09:12:48 -08:00
David Fowler
41516f5a37 Fix up some error handling
- Don't flood console with compilation errors
if the framework isn't installed.
- Split errors into unspecified reference assembly base path and uninstalled framework.
2015-11-07 23:53:05 -08:00
David Fowler
8ebc1bf9f5 Fixed argument parsing issues with resources 2015-11-07 01:52:59 -08:00
David Fowler
8eb933d827 Arg typo 2015-11-06 17:30:11 -08:00
David Fowler
5b59b69d70 Only attempt to compile to native if managed passed 2015-11-06 17:29:35 -08:00
David Fowler
25c35907b8 Copy the "copy to output" files on compile 2015-11-06 06:15:26 -08:00
David Fowler
b50ae8bbeb Resolve the full path to the key file 2015-11-06 05:24:13 -08:00
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