Commit graph

652 commits

Author SHA1 Message Date
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
Manish Jayaswal
8b3ac13b31 fixes couple of bugs while passing project context to repl 2015-12-31 11:32:19 -08:00
Piotr Puszkiewicz
7481f10e45 Merge pull request #662 from tannergooding/ReplSeedProjectContext
Adding support for seeding the repl with a project context.
2015-12-30 11:35:43 -08:00
Tanner Gooding
8b9190ed35 Responding to more feedback to PR #662 and adding some comments to detail how/why the code functions. 2015-12-30 09:41:45 -08:00
Piotr Puszkiewicz
1f30eccbca Merge pull request #636 from dotnet/blackdwarf-patch-1
Update dotnet-publish README.md
2015-12-30 01:49:40 -08:00
Piotr Puszkiewicz
fd2bb64ced Merge pull request #469 from brthor/publish_subdirs
Opt-In Enable Subdirectories from native assets of dependency packages in Publish Output
2015-12-30 00:40:00 -08:00
Piotr Puszkiewicz
63abe9ce1d Merge pull request #661 from blackdwarf/manpages
Add manual pages for current commands
2015-12-29 23:08:51 -08:00
Senthil
edba297d0d Merge pull request #666 from dotnet/nosrv1
Fix bug as getenv returns true on empty env var
2015-12-29 22:38:04 -08:00
Gaurav Khanna
f1d9503a6e Merge pull request #665 from gkhanna79/FixILCSDK
Fix the trimming of terminating slashes when computing ILCSDKPath
2015-12-29 20:44:03 -08:00
Gaurav Khanna
23470368b2 Fix the trimming of terminating slashes when computing ILCSDKPath
Remove lxstubs.cpp from Linux JIT compile
2015-12-29 17:25:21 -08:00
Senthil
d9356b1ee5 Fix bug as getenv returns true on empty env var 2015-12-29 17:04:22 -08:00
Tanner Gooding
df6610166b Updating dotnet repl to provide better help text and support argument passthrough to the target REPL. 2015-12-29 16:00:12 -08:00
Tanner Gooding
0ecbc6ea9a Adding support to pass remaining arguments to the REPL environment. 2015-12-29 16:00:07 -08:00
Tanner Gooding
e03bc6f984 Updating PR#662 according to the feedback recieved. 2015-12-29 15:39:57 -08:00
Piotr Puszkiewicz
d461755c54 Merge pull request #650 from piotrpMSFT/Build-Script-Cleanup
Clean up build scripts
2015-12-29 14:53:14 -08:00
Tanner Gooding
db064fda35 Updating all Roslyn netcore packages to the same version (1.2.0-beta1-20151228-02) 2015-12-29 13:42:03 -08:00
Tanner Gooding
adc24fd301 Adding support for seeding the repl with a project context. 2015-12-29 13:40:47 -08:00
Zlatko Knezevic
2f51091785 Add manual pages for current commands
Convert the existing README.md from command directories into man pages. This
was done using pandoc. Some commands still don't have READMEs so they are not
present here.

Fix #3
2015-12-29 12:24:02 -08:00
Senthil
8bccd0b93b Merge pull request #658 from dotnet/nosrv
Disable Server GC for CLI
2015-12-29 10:58:42 -08:00
Mihai Codoban
6fe13b69fc Update README.md 2015-12-29 09:26:19 -08:00
Piotr Puszkiewicz
4b217db9c0 Clean up build scripts
Decompose into self-contained granular components
Provide reasonable defaults for cross cutting concerns, allowing for independent execution of steps
Start unifying Windows/Bash architecture

fix Bash CI scripts

dockerbuild.sh _common.sh path

Add missing restore-packages.sh

Copy/paste issues

Quote $SOURCE
fix .gitignore

PR Feedback

Merge in @SridarMS's work to avoid redownloading DNX

enabling build of dotnet-build

merge in @SridharMS's CentOS changes

Enable building FSC

enable restoring specific subdirectories

Fix dnx version check

Add missed dependency

Fix pathing to tests

Match Linux build version to Windows, fixing linux tests as a side effect.

workaround for coreclr#2215

fix pathing issue

disable building in docker

BUILD_IN_DOCKER was set, somehow...

fix headers
2015-12-29 01:59:02 -08:00
Senthil
3d6623c20c Use environment variable to disable Server GC 2015-12-28 20:50:03 -08:00
Piotr Puszkiewicz
d1a257bff7 Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Troy Dai
94c239f74e Update ProjectContextBuilder and FrameworkReferenceResolver 2015-12-25 20:10:26 -08:00
Troy Dai
7188f5b0a3 Update Microsoft.Net.Compilers.netcore to latest available 2015-12-25 14:18:36 -08:00
Troy Dai
935cd4e281 Add ProjectModel server 2015-12-25 13:23:29 -08:00
Enrico Sada
d52bc92155 add command dotnet-compile-fsc
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01: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
Mihai Codoban
197a02807f Command knows its command resolution strategy
A command may be resolved from a nuget package, from the executing
assembly directory, or from the path.
2015-12-23 17:02:10 -08:00
Sridhar Periyasamy
3363707704 Merge branch 'master' of https://github.com/dotnet/cli into centos-builds
Conflicts:
	scripts/compile.sh
	scripts/test/smoke-test.sh
2015-12-23 16:22:59 -08:00
Piotr Puszkiewicz
6886db6b63 Merge pull request #614 from livarcocc/strong_name_signing
Strong name signing.
2015-12-23 16:17:45 -05: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
Senthil
504e109947 Redesign corehost per spec 2015-12-23 00:40:49 -08:00
Bryan Thornbury
4580aab2e0 pipe through subdirectory support after rebase. 2015-12-21 12:33:33 -08:00
Zlatko Knezevic
f92bbd0390 Update dotnet-publish README.md
Update the README.md for dotnet-publish and add the information about the Microsoft.NETCore.Runtime dependency.

Fixes #289

/cc @brthor @Sridhar-MS
2015-12-21 12:23:46 -08:00
Bryan
477b8737db Change name of option to --native-subdirectory, Factor for less intrusive changes 2015-12-21 12:02:02 -08:00
Bryan
bcf9392c40 Opt in support for including subdirectories from nuget depdencies in
publish output.
2015-12-21 12:00:23 -08:00
Bryan
f8d79624c0 basic subdirectory support 2015-12-21 11:55:05 -08:00
Livar Cunha
7c40de57bf Removing strong name signing from utils, as it is not compiled 2015-12-20 11:32:19 -08:00
Gaurav Khanna
155b5221af Fix bug to correctly redefine ILCSdkPath if ILCPath is overridden but ILCSDKPath is not. 2015-12-20 07:59:09 -08:00
Livar Cunha
61e9f2f2a5 Adding a key to use for strong name signing of our assemblies and modifying the project.json of our projects to include that key. 2015-12-19 17:46:22 -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
Sridhar Periyasamy
3395b43bd9 Merge pull request #508 from Sridhar-MS/publish-tests2
Dotnet publish tests
2015-12-18 15:36:29 -08:00
Bryan Thornbury
6bd2da6b05 Merge pull request #617 from krwq/nugetconfig
Add nuget.config to dotnet-new template
2015-12-18 14:45:45 -08:00
Krzysztof Wicher
4c0458233d add nuget.config to dotnet-new template 2015-12-18 12:29:42 -08:00
Pavel Krymets
f05b208ad7 Add dependency model api 2015-12-18 12:09:39 -08:00
Sridhar Periyasamy
1db27b7ae3 Enable building dotnet-CLI for centos.
I had to patch up a redhat dnx package which supports NETStandard.Library package. It is currently uploaded to dotnet-cli blob storage. This hack will no longer be required when we move to xplat nuget to do 'dotnet restore'. Apart from this there are three issues that are tracked for centos.
- compile-native not yet supported - https://github.com/dotnet/cli/issues/453
- dnu restore crashes intermittently on centos. I need to investigate this a little bit more and file issues on dnx or coreclr. This will make our CI builds very flaky.
- Dotnet restore does not restore native shims when using “centos.7-x64” - https://github.com/dotnet/corefx/issues/5066
2015-12-18 11:32:20 -08:00
Livar Cunha
9d8f529590 Handling help and error manually to prevent a call to Environment.FailFast call in System.CommandLine 2015-12-18 10:30:04 -08:00
Sridhar Periyasamy
55b9697b74 Merge branch 'master' of https://github.com/dotnet/cli into publish-tests2 2015-12-17 18:16:33 -08:00
Livar Cunha
82cdb28970 System.CommandLine uses Environment.FailFast when help or ReportError is detected. This causes the debugger to get invoked in windows and is not desirable. The fix here is to handle error and help ourselves, but still use the getHelpText from System.CommandLine to generate the help content. 2015-12-17 14:56:08 -08:00
Gaurav Khanna
6f9f6f54e1 Add Mac RyuJIT support 2015-12-17 14:01:05 -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
Zlatko Knezevic
ee5cb05e35 Merge pull request #517 from blackdwarf/pkgosxfix
Fix the PKG permission issue and change the install location
2015-12-16 20:15:13 -08:00
Bryan Thornbury
3fd3daa51a Merge pull request #487 from brthor/project_validator
Multi Project Validation
2015-12-16 16:47:51 -08:00
Bryan Thornbury
0f6562df77 Merge pull request #497 from brthor/upgrade_stdlib
Upgrade StdLib References to rc2-23614, Upgrade Runtime Version
2015-12-16 15:38:51 -08:00
Krzysztof Wicher
568d343de9 Merge pull request #480 from krwq/little_refact_publish
Make dotnet-publish slightly more readable
2015-12-16 13:32:31 -08:00
Bryan
3c1c747d9d rc2-23616 to hopefully resolve crossgen issues 2015-12-16 11:48:33 -08:00
Bryan
d768b2a768 Change PAL::hresult_t to int 2015-12-16 11:48:05 -08:00
Bryan
fcad2bab83 Upgrade References in Project.json files to rc2-23614 2015-12-16 11:47:55 -08:00
Pavel Krymets
caf82a96ec Add target framework attribute 2015-12-16 10:54:57 -08:00
Pavel Krymets
ce2628d527 Add support for symbol packages 2015-12-16 10:49:15 -08:00
Pavel Krymets
bb94f6046b Escape assembly info properties 2015-12-16 09:00:42 -08:00
Krzysztof Wicher
d5791bfa1c Make dotnet-publish slightly more readable 2015-12-15 23:55:56 -08:00
Zlatko Knezevic
5ef832ee94 Fix the PKG permission issue and change the install location
A temporary fix for the PKG permission issue by using chmod -R 755 in the postinstall
script. Change the install location to remove the "cli" part of the path. Also
change the corehost to reflect this change.

Fixes #492 and #390
2015-12-15 15:24:50 -08:00
Sridhar Periyasamy
53382b02c8 Fix build breaks due to automatic upgrade of Rosyln
"Microsoft.CodeAnalysis.Compilers" package. So upgrading
"Microsoft.Net.Compilers.netcore" to work with the newer verisons.
2015-12-15 12:15:24 -08:00
Sridhar Periyasamy
771b0b1eb1 Fix build break 2015-12-15 10:04:16 -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
David Fowler
aebc89683e Clean up whitespace 2015-12-13 22:40:11 -08:00
David Fowler
2f64f62e67 Move the temp folder under the project root
- Makes it easier to find it
- Works for .NET Framework when changing the app base
- There seems to be a problem when quitting the child process with Ctrl + C
2015-12-13 22:07:32 -08:00
Bryan
6ff7404a48 Multi Project Validator
A tool which searches recursively for project.json files,
runs a set of analyses and reports on the result.

For CLI we have only one rule currently, that Dependencies
between projects must be equivalent to avoid stomping.
2015-12-11 14:24:05 -08:00
Pavel Krymets
91acc03a13 Read original app.config and add to it 2015-12-10 15:54:11 -08:00
Krzysztof Wicher
1115fc22fa Merge pull request #449 from krwq/ci_build_add_packaging
Fix versions bug when creating NuPkg
2015-12-10 15:34:52 -08:00
Andrew Stanton-Nurse
b25c2743ca fix a bug in the default TFM define generation 2015-12-10 12:19:24 -08:00
Bryan Thornbury
8b12fa9ffe Merge pull request #445 from brthor/stdlib
Move references to StdLib, Update other versions to "-rc2-23608"
2015-12-10 11:14:32 -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
Bryan
2ba6dbd630 Downgrade runtime version to get unblocked on CoreCLR bug. Fix some other dependency versions 2015-12-09 21:23:02 -08:00
Bryan
1d764f1c64 download dnx during the build 2015-12-09 21:23:01 -08:00
Charles Stoner
ac017ea3ee Forward output unbuffered 2015-12-09 15:20:58 -08:00
Bryan
16fa836215 Upgrade references to use NETStandard.Library, or up to rc2-23608 where applicable 2015-12-09 14:52:56 -08:00
Pavel Krymets
d09137f8d5 Generate binding redirect for Desktop CLR 2015-12-09 10:47:16 -08:00
Krzysztof Wicher
c701a1a430 fix version of ProjectModel.Loader 2015-12-09 01:07:52 -08:00
Krzysztof Wicher
7fb0a92d5e Workaround Microsoft.Extensions.testing.Abstractions project.json bug 2015-12-09 01:03:47 -08:00
Krzysztof Wicher
df1b42dd10 apply review feedback 2015-12-09 00:47:57 -08:00
Krzysztof Wicher
ba6b0e5d9b fix dependency version bug 2015-12-09 00:20:39 -08:00
Krzysztof Wicher
344a730607 enable debugging on Start button in dotnet-pack in VS 2015-12-09 00:20:39 -08:00
Piotr Puszkiewicz
1a26013455 Merge pull request #400 from piotrpMSFT/piotrpMSFT/issue374/dotnet-new
dotnet-init --> dotnet new
2015-12-08 21:48:16 -08:00
Sridhar Periyasamy
37e3523d0b Merge pull request #410 from Sridhar-MS/driver-fix
Fix dotnet driver on windows to deal with spaces
2015-12-08 17:50:42 -08:00
Senthil
4bbc59483b Merge pull request #430 from schellap/split-test
Fix project.json dependencies and System.Private.CoreLib casing
2015-12-08 16:36:02 -08:00
Piotr Puszkiewicz
68216b80cf Merge pull request #434 from dotnet/anurse/401-loader
Add ProjectAssemblyLoadContext
2015-12-08 16:30:33 -08:00
David Fowler
02217b695f Fixed resgen 2015-12-08 14:52:07 -08:00
Andrew Stanton-Nurse
2f5465fea3 even more pr feedback 2015-12-08 12:03:03 -08:00
Andrew Stanton-Nurse
38a7836a52 more pr feedback 2015-12-08 12:00:59 -08:00
Andrew Stanton-Nurse
069092ff41 pr feedback 2015-12-08 11:50:33 -08:00
Andrew Stanton-Nurse
0553b7c67e minor clean-up 2015-12-08 11:32:52 -08:00
Andrew Stanton-Nurse
4e6244d8a8 add ProjectAssemblyLoadContext
allows the loading of assemblies in the context of an existing project
2015-12-08 11:30:25 -08:00
PiotrP
8fa642d424 PR Feedback 2015-12-08 10:54:03 -08:00
piotrp
568eb3aae7 dotnet-init --> dotnet new
Fixes issue #374
2015-12-08 10:37:31 -08:00
Senthil
8023ec22d2 Fix project.json dependencies and System.Private.CoreLib reference 2015-12-07 19:20:00 -08:00
David Fowler
fa52d02b9a WIP 2015-12-07 12:48:11 -08:00
Piotr Puszkiewicz
88806eb7de Merge pull request #378 from krwq/ci_build_add_packaging
Step 1 to enable automatic nuget package upload
2015-12-07 10:04:30 -08:00
Krzysztof Wicher
413488f502 Create NuGet packages as part of the build 2015-12-04 18:03:57 -08:00
Sridhar Periyasamy
cd357cb273 Fix dotnet driver on windows to deal with spaces
dotnet driver fails running dotnet-restore.cmd if this file is in a path
containing spaces. Use the magic "/S" switch in cmd to fix this.
2015-12-04 16:26:07 -08:00
Zlatko Knezevic
f9a553c93f Merge pull request #380 from LeeCampbell/patch-1
Update formatting on Publish/Readme.md
2015-12-04 06:18:03 -08:00
Sridhar Periyasamy
84deb9ef89 Fix compilation error. 2015-12-03 13:17:17 -08:00
Sridhar Periyasamy
71d55a5596 Address PR feddback
Create a new method called ProjectContext.CreateContextForEachTarget instead of directly consuming LockFile Apis in the publish command.
2015-12-03 12:13:59 -08:00
Lee Campbell
80b6e94f1d Removing redundant bullet point 2015-12-03 19:13:18 +00:00
Sridhar Periyasamy
76d381b75f Address PR feedback. 2015-12-03 09:49:44 -08:00
Sridhar Periyasamy
86296b6d2d dotnet-publish '--framework' and '--runtime' options are made to be optional.
When no 'runtime' and 'framework' are specified then publish for all 'framework/runtime' targets found in project.lock.json. But currently when 'runtime' is not specified then current OS runtime identifier is assumed. This will go away when xplat publish is enabled.
Example - 'dotnet publish /home/sridhar/foo/project.json' -> Publish for all targets in project.lock.json.

User can also specify either 'framework' or 'runtime'. In that case all the corresponding 'framework' or 'runtime' targets in project.lock.json are published.
Example - 'dotnet publish --framework dnxcore50 /home/sridhar/foo/project.json' -> Publish for all targets in project.lock.json with framework dnxcore50.
	   (or)
	  'dotnet publish --runtime win7-x64 /home/sridhar/foo/project.json' -> Publish for all targets in project.lock.json with runtime win7-x64.

I am also adding unit tests for publish in upcoming commits.

Fixes - #185
2015-12-03 09:49:43 -08:00
Lee Campbell
acae82fc6c Update formatting on Publish/Readme.md
Line breaks where they were missing (after headings and before lists).
Commands in `code` format.
Filenames and paths in _italics_
Indenting done with using the &gt; (as white space is ignored)
2015-12-02 22:37:37 +00:00
Zlatko Knezevic
7b1be8c917 Responding to PR feedback 2015-12-02 11:19:41 -08:00
Zlatko Knezevic
5bd2984fbc Add rest of the command to the driver
Currently, the driver just shows information about compile, publish and run. Add
info for init, pack and restore as well.
2015-12-02 10:26:10 -08:00
Piotr Puszkiewicz
f67a247252 Merge pull request #368 from piotrpMSFT/piotrpMSFT/issue362/dotnet-init-dependencies
Updates dotnet-init's dependencies to match the latest on NuGet.org
2015-12-02 01:04:31 -08:00
Piotr Puszkiewicz
4f132a14d2 Merge pull request #358 from krwq/nuget_packaging
Nuget packages generation script for each project under src/ and some bugfixes
2015-12-02 01:03:00 -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
piotrp
f21dde66e5 Updates dotnet-init's dependencies to match the latest on NuGet.org 2015-12-02 00:05:25 -08:00
Krzysztof Wicher
38a95de882 fix bug in pack command (acciddentally reverted prev fix during merge conflict) 2015-12-01 23:13:31 -08:00
Andrew Stanton-Nurse
8da5c7071f clarify error when no project.json in the path
also correct help information

fixes #356
2015-12-01 11:02:51 -08:00
Andrew Stanton-Nurse
6a2d6f7d30 code review feedback 2015-12-01 11:01:30 -08:00
shahid-pk
e02c8e6f81 rename resgen to dotnet-resgen 2015-12-01 22:12:04 +05:00
Piotr Puszkiewicz
95df133d7e Merge pull request #348 from dotnet/anurse/314-publish-library
allow dotnet-publish to publish a library
2015-12-01 00:34:04 -08:00
Troy Dai
bfae2ab470 Add WorkspaceContex
WorkspaceContext represets part of the original Design Time Host function:
1. Projects discovery and pooling
2. ProjectContexts pooling
3. Monitor project changes and keep ProjectContexts update to date
2015-11-30 22:39:27 -08:00
Piotr Puszkiewicz
d63bd8e50d Merge pull request #344 from piotrpMSFT/piotrpMSFT/issue342/dotnet-test
dotnet-test command
fixes issue #344 and #359 
@brthor, note issue #359. Powershell was interpreting particular Env Var names as patterns due to use of -Path. Changing this to -LiteralPath was required since use of patterns was unintended.
2015-11-30 22:19:52 -08:00
PiotrP
07bf895700 Merge Conflicts 2015-11-30 17:36:32 -08:00
PiotrP
a84a56a152 PR Feedback 2015-11-30 17:30:25 -08:00
piotrp
407c933480 add dotnet-test 2015-11-30 17:28:03 -08:00
Senthil
e0412f2e3d Let IlcArgs be an opaque string to dotnet native
IlcArgs are meant to be arguments to the ILCompiler and not path values

@brthor or @livarcocc PTAL

/Cc @gkhanna79
2015-11-30 15:29:59 -08:00
Bryan Thornbury
f7f1e072a0 Merge pull request #322 from brthor/e2etest
End to End Test First Pass
2015-11-30 15:04:56 -08:00
Victor Hurdugaci
7843f3ea91 dotnet pack returns the wrong exit code 2015-11-30 12:46:52 -08:00
Andrew Stanton-Nurse
caa2af2024 allow dotnet-publish to publish a library
fixes #314
2015-11-30 12:26:53 -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
Bryan Thornbury
939ba19fb6 Small Fix 2015-11-30 11:12:39 -08:00
Bryan
ef22c93c39 E2E Testing First pass. Test each command in a sequence to mock what a user might do. 2015-11-30 11:07:07 -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
8d2733e147 PR Feedback 2015-11-29 11:35:19 -08:00
piotrp
abff1f474c PR Feedback 2015-11-28 09:39:56 -08:00
piotrp
976393ab0a Enable commands to be shipped in packages 2015-11-28 01:18:42 -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
Krzysztof Wicher
159e6187ae Merge pull request #288 from krwq/switch_to_system_commandline
Switch dotnet-run to System.CommandLine
2015-11-26 06:20:46 -08:00
Senthil
f9ea343c62 Fix path to libSystem.Native.a on Linux 2015-11-25 18:13:51 -08:00
schellap
29cd999b51 Fix restore.cmd not recognizable command 2015-11-25 12:14:26 -08:00
Andrew Stanton-Nurse
90307bc71e fix dotnet-repl-csi 2015-11-25 11:19:31 -08:00
Gaurav Khanna
2d81eced8c 1) Adding support to invoke CLang/Linker for Mac
2) Expecting AppDep native libs to be under <AppDepRoot>\CPPSdk\<OS>\x64 folder instead of <AppDepRoot>
Update the references to Microsoft.DotNet.ILCompiler and Microsoft.DotNet.AppDep packages with Mac CPPCodegen support.
2015-11-25 07:40:10 -08:00
Krzysztof Wicher
3ed32a71e1 Merge pull request #284 from livarcocc/refactor_native_args
Refactor native args
2015-11-24 13:30:38 -08:00
Krzysztof Wicher
cc527abc7c fix error with project being erased and move getdefaults call to execute function 2015-11-23 19:58:11 -08:00
Krzysztof Wicher
db9f9dfa6e extract IsInteractive to separate method 2015-11-23 16:31:27 -08:00
Krzysztof Wicher
e8b9a44489 revert change to project.json in Microsoft.DotNet.Tools.Compiler 2015-11-23 15:20:15 -08:00
Senthil
c29d840424 Invoke corerun for ilc from --ilcpath 2015-11-23 15:03:25 -08:00
Krzysztof Wicher
0ecbc0d5fc Convert dotnet-run to System.CommandLine 2015-11-20 20:33:32 -08:00
Pranav K
6e465818c5 Copy of AnsiConsole from aspnet/dnx/dev/src/Microsoft.Extensions.CommandLineUtils.Sources 2015-11-20 19:01:03 -08:00
Bryan Thornbury
9067864afe Changes for corehost default path resolution on mac 2015-11-20 17:24:00 -08:00
Livar Cunha
39fd1ed5c5 Refactoring the arguments parser into a separate Parser and refactoring the creation of the NativeCompilerSettings into a method of ArgValues. 2015-11-20 17:23:50 -08:00
Livar Cunha
db3a9ffc20 Moving validation into NativeCompileSettings. Left argument requirement and argument to enum validation in the ArgumentSyntax delegate 2015-11-20 17:23:50 -08:00
Livar Cunha
0b6a084d1f Moving default values inside NativeCompileSettings 2015-11-20 17:23:49 -08:00
Andrew Stanton-Nurse
da70b047e9 add missing Pack xproj 2015-11-20 11:37:24 -08:00
Senthil
3a1cc24de3 Merge pull request #276 from schellap/master
Plumb ILC Path to DotNet Compile Native
2015-11-20 11:36:28 -08:00
schellap
31700a0ae9 Pass ILC Path to DotNet Native Compile 2015-11-20 11:19:28 -08:00
Bryan Thornbury
69d01ff168 Merge pull request #273 from brthor/brthor/corehost
CoreHost Changes for Linux
2015-11-20 10:52:17 -08:00