Commit graph

512 commits

Author SHA1 Message Date
Sridhar Periyasamy
737ed67571 Delete temporary folder created by "dotnet restore".
Also create the temp folder in the OS temp path.

Fix - #811
2016-01-15 13:34:05 -08:00
Piotr Puszkiewicz
527e20acc6 Merge pull request #863 from Sridhar-MS/beta-fixes
Fix driver to remove double quotes from paths in %PATH% env
2016-01-15 13:15:37 -08:00
Brice Lambson
a0d087ac72 Update incorrect dependency in Microsoft.DotNet.Cli.Utils 2016-01-15 12:55:26 -08:00
Piotr Puszkiewicz
c90a35b80e Merge pull request #779 from noahfalk/issue_768
Allow ilcpath argument to include "ilc.exe"
2016-01-15 12:50:09 -08:00
Senthil
b86aa4d36b Link CRT into hostpolicy
Fixes #870
Fixes #871
2016-01-15 12:36:39 -08:00
Sridhar Periyasamy
82a81cae8d Fix double quotes in 'pathext' environment variable. 2016-01-15 10:15:26 -08:00
Sridhar Periyasamy
684d9b1d89 Fix driver to remove double quotes from paths in %PATH% env
Fixes - #827
2016-01-14 18:27:26 -08:00
Senthil
262274b968 Merge pull request #843 from schellap/master
Fix host name, debuggability and embed CRT
2016-01-14 17:09:07 -08:00
Piotr Puszkiewicz
a02f6c2246 Merge pull request #851 from piotrpMSFT/piotrpMSFT/issue850/DepsAppBase
When deps file path is provided, use it to resolve the app_dir.
fixes #850
2016-01-14 16:11:04 -08:00
Andrew Stanton-Nurse
e27c583443 allow use of compilationOptions.nowarn to suppress warnings.
fixes #576
2016-01-14 15:45:43 -08:00
Eric StJohn
1aacac6a72 Merge pull request #855 from dotnet/packNuspec
Add missing copyright header
2016-01-14 15:14:07 -08:00
Eric St. John
29e5a7090f Add missing copyright header 2016-01-14 15:13:41 -08:00
Pavel Krymets
dd1e50c5bd Generate config only on desktop 2016-01-14 14:26:55 -08:00
PiotrP
bd529c0afb When deps file path is provided, use it to resolve the app_dir. 2016-01-14 14:02:02 -08:00
Pavel Krymets
82013acbb2 Merge pull request #815 from dotnet/pakrym/dllconfig
Add support for .config file generation for test projects
2016-01-14 13:51:35 -08:00
Eric StJohn
b115569d71 Merge pull request #800 from dotnet/packNuspec
Add support for NuSpecs
2016-01-14 13:01:55 -08:00
Pavel Krymets
b02dbc45f4 Add support for .config file generation for test projects 2016-01-14 12:23:26 -08:00
schellap
b4b482006b Fix host name, debuggability and embed CRT 2016-01-14 12:06:18 -08:00
Troy Dai
ce3e719a06 Update ProjectModel server
1. Rebase on new LibraryExporter
2. Update dependency name to "fx/<name>" for reference assembly
3. Update framework friendly name
4. Fix dependency message regression
5. Update tests
2016-01-14 10:11:31 -08:00
Troy Dai
4344af3c1b Exit the lock after a process loop
Fix issue https://github.com/dotnet/cli/issues/801
2016-01-13 22:14:04 -08:00
Pavel Krymets
2456d83008 Switch dependency context back to dotnet5.4 2016-01-13 10:56:57 -08:00
Eric St. John
7087335d41 Port ManifestReader from NuGet.Core 2016-01-13 09:51:20 -08:00
Eric St. John
f3f6a2bf52 Port latest features from NuGet.Core 2.11 2016-01-13 09:51:20 -08:00
Eric St. John
6e1c39d764 Add support for NuSpecs
This brings over the NuGet.Core code that existed for
loading NuSpecs.  I also added the File list to the
manifest to support builing a package from a
nuspec, and the ability to save a nuspec.
2016-01-13 09:51:19 -08:00
Piotr Puszkiewicz
1e423d4f1b Merge pull request #798 from piotrpMSFT/piotrpMSFT/issue797/emptyNuget
Fix empty NuGets
2016-01-13 00:32:02 -08:00
Senthil
054aa54b91 Merge pull request #817 from schellap/host-svc
Change name for DOTNET_PACKAGES to NUGET_PACKAGES
2016-01-12 17:49:09 -08:00
Noah Falk
5cdf1e7ab6 Allow ilcpath argument to include "ilc.exe"
Allows the argument passed to dotnet compile --native --ilcpath to be
either end with ilc.exe, or with the directory that contains ilc.exe.

Fix #768
2016-01-12 16:27:53 -08:00
Piotr Puszkiewicz
459e5bdeda Merge pull request #761 from cdmihai/buildCommandSelfhostIncremental
Building CLI is incremental
2016-01-12 15:33:46 -08:00
Senthil
e5a9249418 Name change for DOTNET_PACKAGES to NUGET_PACKAGES 2016-01-12 15:21:47 -08:00
Senthil
a1555075e6 Merge pull request #808 from schellap/host-svc
Prioritize secondary cache over app local
2016-01-12 15:21:03 -08:00
piotrp
2ef4f6f0bf Fixing clashing dependencies that only exhibited once we started publishing nupkg-only projects. 2016-01-12 14:32:54 -08:00
piotrp
d750b8a259 Move dependencymodel to dnxcore50 until the solution gets migrated to a newer TFM. 2016-01-12 14:32:53 -08:00
Senthil
0c65dca290 Prioritize secondary cache over app local 2016-01-12 13:35:34 -08:00
Andy Gocke
e114bbf367 Merge pull request #795 from agocke/upgrade-roslyn
Upgrade all Roslyn references to -20160108-01
2016-01-12 13:28:03 -08:00
Aleksandar Milicevic
1444815285 removed all invocations of the place-binary script from postcompile scripts, since it does not seem to be necessary 2016-01-12 13:16:52 -08:00
PiotrP
8274f5285b Enable resolving command paths from AppBase 2016-01-12 13:16:52 -08:00
Mihai Codoban
bedeaaf2dc Compile incrementally
- Clone the args in the CompileContext constructor to bring uniformity
to the way args are accessed

- Compute IO for a project and have it shared between build and compile

- Extract dependency logic into facade

- Add tests for incremental build

- Add precondition checks for compiler IO

add --force-incremental-unsafe flag
2016-01-12 13:16:52 -08:00
Senthil
28f01faae5 Merge pull request #780 from schellap/host-svc
Split corehost into serviceable DLL and EXE
2016-01-12 12:35:09 -08:00
moozzyk
0e4719ee95 Adding pre/post publish scripts
Fixes #742
2016-01-12 09:41:59 -08:00
Troy Dai
02827620f8 Including unresolved library in LibraryExporter.GetAllExports result 2016-01-11 21:36:43 -08:00
schellap
907cf00654 Split corehost into serviceable DLL and EXE 2016-01-11 18:06:18 -08:00
Piotr Puszkiewicz
2d70ffc508 Merge pull request #791 from livarcocc/empty_pack
Nuget package missing lib folder when doing dotnet pack --output
2016-01-11 17:52:24 -08:00
Andy Gocke
5e66b57ba5 Upgrade all Roslyn references to -20160108-01 2016-01-11 17:23:29 -08:00
Zlatko Knezevic
a90d28404e Merge pull request #770 from alexanderkozlenko/pr_dls
Fix library suffux usage for coreclr library name construction
2016-01-11 16:30:35 -08:00
Piotr Puszkiewicz
f90a171457 Merge pull request #706 from blackdwarf/fixmans
Fix README.md files to be like man pages
2016-01-11 15:23:32 -08:00
Piotr Puszkiewicz
b72835ab66 Merge pull request #690 from cdmihai/cdmihai/BuildFlagDocumentation
Add documentation for --build-profile warnings
2016-01-11 15:23:14 -08:00
Piotr Puszkiewicz
52c8f06a0c Merge pull request #782 from piotrpMSFT/piotrpMSFT/Issue781/CoreHostDepsPath
Piotrp msft/issue781/core host deps path
2016-01-11 15:20:32 -08:00
Livar Cunha
d07f3e3e25 This happened because we were adding the framework to the input path when the output was specified. But Build does not add the framework folders when output gets passed to it. 2016-01-11 14:53:22 -08:00
Senthil
7d64509c0d Merge pull request #776 from schellap/master
Enumerate dlls in AppDep and ILC SDK
2016-01-11 13:27:52 -08:00
PiotrP
9eed889217 PR Feedback 2016-01-11 13:10:55 -08:00
PiotrP
ec5a50dfe8 fix parameter name in CommandResolver.cs 2016-01-11 12:06:35 -08:00
Sridhar Periyasamy
44027c2969 Merge pull request #774 from factormystic/patch-1
Fix `environment` spelling
2016-01-11 11:08:30 -08:00
Victor Hurdugaci
fafa49845e Publish content files 2016-01-11 09:28:43 -08:00
piotrp
c5ce2eb753 Fixes issue #781 makes CommandResolver comply with new implementation of --depsFile 2016-01-11 02:36:21 -08:00
Senthil
e03713fcc7 Enumerate dlls in AppDep and ILC SDK 2016-01-09 20:49:23 -08:00
factormystic
2811483e7c Fix environment spelling 2016-01-09 22:49:58 -05:00
piotrp
096b7d21dc Fixing test script issues and addressing RID detection change 2016-01-09 18:04:13 -08:00
piotrp
5cd64066c4 Packaged Commands 2016-01-09 16:50:31 -08:00
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
Alexander Kozlenko
9fce07625d Fix library suffux usage for coreclr library name construction 2016-01-09 15:49:29 +02:00
David Fowler
67cdc1b755 Fixed Write -> WriteLine 2016-01-08 23:50:34 -08:00
Tanner Gooding
a9cf27c44d Merge pull request #758 from tannergooding/ReplSeedProjectContext
Fixing up 'dotnet repl csharp' to load the correct output assemblies on Linux/Mac.
2016-01-08 20:59:55 -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
78cef18e1c add support for generating xml documentation
fixes #312
2016-01-08 14:02:41 -08:00
Tanner Gooding
d68598a087 Fixing up 'dotnet repl csharp' to load the correct output assemblies on Linux/Mac. 2016-01-08 12:36:05 -08:00
Livar
770026eef7 Merge pull request #734 from livarcocc/pack_input_folder
Adding an input folder param to dotnet pack.
2016-01-08 12:13:04 -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
Tanner Gooding
592fef980c Merge pull request #751 from tannergooding/ReplSeedProjectContext
Fixing csiExe to use the proper extension (or lack-there-of) on Linux/Mac.
2016-01-08 08:46:15 -08:00
Livar Cunha
ae7ec0427c Changing the input parameter to basepath to match nuget pack 2016-01-07 23:09:37 -08:00
Senthil
6b52c90d4e Merge pull request #752 from dotnet/appdep
Update AppDep SDK
2016-01-07 21:26:42 -08:00
Pavel Krymets
0b31e1895c Fix target version 2016-01-07 16:53:23 -08:00
Pavel Krymets
0e41c93ca7 Split library type, add path resolution 2016-01-07 15:35:43 -08:00
Senthil
026400104c Update AppDep SDK
Included System.Reflection.* files
2016-01-07 15:12:53 -08:00
David Fowler
af06d781c8 Don't fail framework assembly resolution for version mismatches
- This allows a nice warning to appear if the version is floated
2016-01-07 14:33:29 -08:00
Tanner Gooding
6afed87965 Fixing csiExe to use the proper extension (or lack-there-of) on Linux/Mac. 2016-01-07 13:54:49 -08:00
Livar Cunha
d2e06f0ebf Adding an input folder param to dotnet pack. If this param is present, pack does not do a build and instead tries to get the contents of the package from the input folder. Also refactored a bunch, separating the concerns in different classes and making just program just handle the arguments and invokes the builders. 2016-01-07 10:24:07 -08:00
Senthil
697debb5d4 Merge pull request #681 from schellap/refac
Refactor and build library for corehost
2016-01-07 02:58:23 -08:00
Zlatko Knezevic
185b3d6011 Responding to PR feedback 2016-01-06 19:21:36 -08:00
blackdwarf
f4aae7cc38 Fix README.md files to be like man pages
Change the SYNOPSIS section. Add ENVIRONMENT section where needed.
Change the driver's man page to include all of the current commands.
The MD files now conform to the man pages outline. The manpages are updated as
well.

Fix #673
2016-01-06 19:04:58 -08:00
Senthil
b11ac0160f Refactoring for corehost servicing 2016-01-06 18:15:41 -08:00
Senthil
06ff1552ce Reference all available standard libraries 2016-01-06 16:15:18 -08:00
piotrp
08dd628172 create dotnet-restore.exe 2016-01-06 01:46:10 -08:00
Piotr Puszkiewicz
12edb9adb4 Merge pull request #717 from dotnet/pakrym/deps3
Rename Load() to Instance for DependencyContext
2016-01-06 01:14:22 -08:00
Piotr Puszkiewicz
6b1e11a1c9 Merge pull request #722 from Sridhar-MS/centos-tests
Enable running tests for CentOS
2016-01-06 01:14:04 -08:00
piotrp
47f79e4d99 Cli.Utils internal --> public 2016-01-06 00:44:41 -08:00
Sridhar Periyasamy
2ebb28819e Enable running tests for CentOS
CentOS tests were blocked due to issue https://github.com/dotnet/corefx/issues/5066.
It has been fixed with the latest NetStandardLibrary, hence upgrading from 1.0.0-rc2-23616 to 1.0.0-rc2-23704.
With this fix the native shims are correctly restored by dnx for RID centos.7-x64.
2016-01-05 18:11:38 -08:00
Pavel Krymets
10ecaeba65 Rename Load() to Instance for DependencyContext 2016-01-05 15:35:32 -08:00
Pavel Krymets
e39d30ba9c Add compilation options to dependency context 2016-01-05 15:13:14 -08:00
Bryan Thornbury
697e99ea6e Merge pull request #675 from brthor/native_subdirectory_support
Use subdirectories in publish for native
2016-01-05 11:55:58 -08:00
piotrp
e0303526f5 put back trailing slash approach. this diserves a second look... 2016-01-05 02:39:18 -08:00
piotrp
49007197e8 self-closing ifs 2016-01-05 01:49:31 -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
Bryan
89de0c2172 Use --native-subdirectory when publishing cli projects.
This gives support for files to publish in subdirectories
from dependency nuget packages.

Additionally Change Native Compilation to consume these paths.
2016-01-04 14:42:49 -08:00
Mihai Codoban
1e1a0a8644 Add documentation for incremental unsafe warnings 2016-01-04 10:48:51 -08:00
Manish Jayaswal
8b8496c828 Merge pull request #679 from ManishJayaswal/master
fixes couple of bugs for the scenario where we are passing project context to repl
2016-01-04 09:11:13 -08:00
David Fowler
162e50b112 Fix package id version checking during pack
- The logic wasn't in sync with nuget.exe
2016-01-03 09:49:14 -08:00
David Fowler
5dbb7ab44d Project model cleanup
- Use ProjectResolver in the ProjectDependencyProvider
- Remove environment variable reading in the project reader and moved it to dotnet-pack
2016-01-03 08:18:25 -08:00
David Fowler
4b07b2d034 Project model server cleanup
- Removed unused message types
- Removed intermediate ProjectInfo and ProjectState types
- Renamed Snapshot to ProjectSnapshot and ProjectSnapshot to ProjectContextSnapshot
- Exposed Project on ProjectContextCollection
- Removed AllDiagnostics message since it won't be used
- Renamed ProjectContextManager to ProjectManager
- Create project context snapshot in one pass
- Create project contexts lookup inline
- Consistent naming of payloads
2016-01-03 00:34:00 -08:00