Commit graph

1221 commits

Author SHA1 Message Date
Troy Dai
cf2cf83ff3 Fix issue 1391 2016-02-15 21:36:35 -08:00
David Fowler
302a9e84f7 This change mimics the nuget lock file generation logic 2016-02-15 20:57:49 -08:00
Austin Wise
67b4012e45 Move the help command it it's own class.
Also fix the help command to work with intrinsic commands.
2016-02-15 20:11:02 -08:00
David Fowler
00e3c25bb3 Fix lock file check so that warnings don't keep popping up 2016-02-15 19:17:21 -08:00
David Fowler
129442923a Updated to a newer version of NuGet
- Update the newest nuget
- Filter out build dependencies from the project resolver based on hte lock file
- Fix more erroneous build dependencies
2016-02-15 18:39:29 -08:00
David Fowler
467cd19662 Fixed the build dependencies in project.json 2016-02-15 10:52:29 -08:00
David Fowler
078d6a8d5f Build and project cleanup 2016-02-15 09:43:18 -08:00
David Fowler
77dfbd8e43 Fixed the build
- csc kept crashing on stage 2 and it turned out to be a version mismatch with System.Reflection.Metadata.
- Silenced crossgen
- Made omnisharp see all of the projects
2016-02-15 09:03:40 -08:00
Senthil
ef00f0331e Include project.json dependencies for native 2016-02-14 17:20:23 -08:00
Piotr Puszkiewicz
e8ef94e93f Merge pull request #1212 from AustinWise/fixColors
Fix color printing and --verbose
2016-02-12 23:39:49 -08:00
Sridhar Periyasamy
2a94a1e384 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
Conflicts:
	Microsoft.DotNet.Cli.sln
	scripts/dockerbuild.sh
	scripts/test/setup/build-test-prerequisites.ps1
	test/dotnet-build.Tests/IncrementalTestBase.cs
	test/dotnet-publish.Tests/Microsoft.DotNet.Tools.Publish.Tests.cs
	test/dotnet-publish.Tests/project.json
2016-02-12 17:26:58 -08:00
Senthil
28f35c1cfa Remove DOTNET_HOME from the CoreCLR probe path 2016-02-12 17:03:09 -08:00
Sridhar Periyasamy
d7274af53a Address PR Feedback 2016-02-12 16:57:32 -08:00
Austin Wise
6957303a13 Fix build break on Windows. 2016-02-12 15:58:35 -08:00
Austin Wise
468a0f38a5 Fix color printing and verbosity.
Only apply the ANSI passthrough for child commands. Otherwise the
escape codes are printed to the console on Windows

Make Report.Write process escape codes so that forwarded output will have
its escape codes processed.

Also make verbose be inherited by all child processes.
2016-02-12 15:52:11 -08:00
Andrew Stanton-Nurse
d524732bbb working on build scripts 2016-02-12 15:26:35 -08:00
Sridhar Periyasamy
5fb1eaa9c6 Fix tests for unix. 2016-02-12 15:12:19 -08:00
David Fowler
6d4594a633 Disable server GC since it's OOMing 2016-02-12 13:38:49 -08:00
Bryan Thornbury
5c0eb19859 Merge pull request #1377 from dotnet/brthor/script_executor_and_arg_forwarding
ScriptExecutor and ArgumentEscaper Changes
2016-02-12 12:38:21 -08:00
Piotr Puszkiewicz
69c5f542e5 Merge pull request #1285 from enricosada/fix_dotnet_compile_fsc
Fix dotnet-compile-fsc
2016-02-12 12:14:59 -08:00
Bryan Thornbury
50ab680688 update compiler unit tests
fix rebase errors

PR Feedback

more PR feedback

fix

make new script file executable

Remove scripts from TestAppCompilationContext

add hashbang to echoscript
2016-02-12 11:37:15 -08:00
Bryan Thornbury
c1e28ae921 Refactor ScriptExecutor, add test cases for scriptexecutor.
Add TargetFramework and FullTargetFramework to compile and publish script
variables.

Add ProjectLocal Command Resolution Strategy.

Fixup ArgumentEscaper to not always quote things.

Fixes #1216
Fixes #1016
Fixes #982
2016-02-12 11:04:30 -08:00
Piotr Puszkiewicz
82bbd22d46 Merge pull request #1272 from cdmihai/cdmihai/noDependencies
Add --no-dependency flag to build
2016-02-12 10:59:54 -08:00
Tanner Gooding
5f5a59a136 Merge pull request #1209 from tannergooding/rel/1.0.0
Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02
2016-02-12 10:59:11 -08:00
Enrico Sada
7dd4bdf268 fix build of target framework net46 2016-02-12 19:14:50 +01:00
Enrico Sada
57ae360c23 use DNXCORE50 define to check if target framework is Desktop
Best is to use NuGetFramework.IsDesktop method, but i cannot parse the assemblyInfoOptions.TargetFramework as NuGetFramework
2016-02-12 19:14:50 +01:00
Enrico Sada
a2a319c55a support project.json compilationOptions.additionalArguments 2016-02-12 19:14:49 +01:00
Enrico Sada
19a66849a4 always create a pdb, dotnet-build crash if not found
a `noPdb` options doesnt exists in project.json, a pdb is required as compile output
2016-02-12 19:14:49 +01:00
Enrico Sada
e8e3f7c78f fix invalid arguments, fsc has problems with quoted arguments ( quoted with " ) 2016-02-12 19:14:48 +01:00
Enrico Sada
2bd7a978cf add --targetprofile:netcore if target framework is not desktop 2016-02-12 19:14:47 +01:00
Tanner Gooding
4e2d4f4816 Explicitly referencing System.Reflection.Metadata v1.2.0-rc2-23805 in several project.json 2016-02-12 09:04:10 -08:00
Tanner Gooding
f994f09e11 Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02 2016-02-12 08:57:42 -08:00
Pranav K
59e87f497f Use ApplicationBasePath instead of entry assembly to locate reference
assemblies.
2016-02-11 22:29:20 -08:00
Sridhar Periyasamy
96e425f8bb Fix build breaks and some 'build' tests. 2016-02-11 15:55:37 -08:00
Pranav K
33f1b8551e Compile Microsoft.DotNet.Cli.Utils in net451 2016-02-11 15:46:43 -08:00
Pranav K
f5065c9425 Target net451 in ProjectModel
Fixes #876
2016-02-11 15:42:14 -08:00
Sridhar Periyasamy
f86952cf1d Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx 2016-02-11 14:22:24 -08:00
Sridhar Periyasamy
b239c548a4 Refactor TestFramework
Remove TestScenario and add TestAssetsManager which manages the TestAssets
folder.
2016-02-11 14:08:37 -08:00
Livar Cunha
e945361a76 Replacing the fixed rid in the dotnet compile unit test by one that respects the platform where the tests are running.
Removing trailing slashes for the paths passed to the scripts to avoid the double quotes escaped issue.
2016-02-11 12:44:27 -08:00
Livar Cunha
4e1ec4c159 Refactoring dotnet-compile to make adding the script variable testable. So far, moved it to have a compiler controller and two separate compilers: native and managed. Also moved the script runner to its own class so that we can mock it into the managed controller.
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
2016-02-11 12:42:02 -08:00
Andrew Stanton-Nurse
b5450cabc2 update version in 'dotnet new' template 2016-02-11 12:11:45 -08:00
Andrew Stanton-Nurse
236fcd8f95 update everyone to 23811
add a little hackiness to the build script to use 23811 in the stage 0 as well
2016-02-11 10:38:59 -08:00
Mihai Codoban
a0990a518c Add --no-dependency flag to build 2016-02-10 15:35:27 -08:00
Pavel Krymets
4462dc21f8 Do not search for runtime output in dependencies 2016-02-10 15:20:08 -08:00
Pavel Krymets
23b1b077dd Merge pull request #1347 from dotnet/pakrym/refasm
Add reference assembly support to DependencyModel
2016-02-10 13:55:25 -08:00
Eric Erhardt
74d8051f79 Bump CoreFx to rc2-23810 2016-02-10 13:50:28 -06:00
Pavel Krymets
a8ce4f2e3a Add reference assembly support 2016-02-10 11:40:23 -08:00
Sridhar Periyasamy
d1d14283a1 TestFramework with support for managing test projects.
The CLI tool's tests are run against sample test projects for validation.
TestFramework provides an easy way to manage these sample test projects.

Converted the publish test to use the TestFramework.
2016-02-10 00:21:19 -08:00
Piotr Puszkiewicz
b34dd22ca8 Merge pull request #1295 from dotnet/piotrpMSFT/CrossGen23808
crossgen 23808
2016-02-09 16:19:15 -08:00
Piotr Puszkiewicz
48797ea80a Bump CoreFx to rc2-23808
Workaround for issue 1294

Improve crossgen notifications
2016-02-09 15:49:45 -08:00
Pavel Krymets
2fe913ae8f Fix incremental build 2016-02-09 15:41:45 -08:00
Pranav K
b0470fdebb Merge pull request #1324 from dotnet/prkrishn/1305
Don't filter by TFM when building DependencyContext
2016-02-09 14:50:57 -08:00
Pranav K
f78a259cf1 Merge pull request #1300 from dotnet/prkrishn/dependencycontext
Fix the paths at which CompileContext locates resgen outputs.
2016-02-09 14:50:36 -08:00
Pavel Krymets
5c3bc7f340 Merge pull request #1321 from dotnet/pakrym/package-fix
Fix location for package signing
2016-02-09 14:38:31 -08:00
Bryan Thornbury
bed4c37beb Merge pull request #1325 from dotnet/brthor/1181/quickfix
hard code portable-net452+win81 to quickly unblock
2016-02-09 14:32:34 -08:00
Pranav K
1d25d2574d Fix the paths at which CompileContext locates resgen outputs.
Fixes #1136
2016-02-09 14:29:25 -08:00
Pavel Krymets
9c9c726d82 Fix location for package signing 2016-02-09 14:17:48 -08:00
Pranav K
c31b9fe5c1 Don't filter by TFM when building DependencyContext
Fixes #1305
2016-02-09 13:07:40 -08:00
Bryan Thornbury
a2d1d1b9e8 hard code portable-net452+win81 to quickly unblock 2016-02-09 13:06:38 -08:00
Pavel Krymets
2e71afc56d Fix build for full clr 2016-02-09 12:01:52 -08:00
Pavel Krymets
7baf0d61c6 Merge pull request #1313 from dotnet/pakrym/paths2
Fix tests on OS X and add diagnostic message
2016-02-09 11:59:38 -08:00
Pavel Krymets
3f058d4f32 Fix tests and add diagnostic message 2016-02-09 10:58:36 -08:00
Bryan Thornbury
0b27dba299 Merge pull request #1240 from dotnet/brthor/stream_forwarding_changes
Stream Forwarding Changes.
2016-02-09 10:45:35 -08:00
Pavel Krymets
0f82ae37f3 Refactor output directory code 2016-02-09 08:52:59 -08:00
Bryan Thornbury
b8e95a9568 Argument Fowarding Tests should account for newline added by StreamFowarder. Add an entry to developer guide so command developers will use Console.WriteLine. PR feedback and slight refactoring. 2016-02-08 14:19:03 -08:00
Bryan Thornbury
ccaaebf6e5 Stream Forwarding changes to not wait on buffer full before writing. Instead input streams will be read character by character as they Console.Write or Console.WriteLine. Upon finding a newline character, the line will be printed to the parent process's console. 2016-02-08 14:19:02 -08:00
Pavel Krymets
029de95d0f Fix dependency context bug and add load overload 2016-02-08 12:22:12 -08:00
Pranav K
03d112543b * Don't throw if Assembly.GetEntryAssembly is null
* Add a CompilationOptions.Default for convenient use when
  DependencyContext.Default is null.
2016-02-08 10:06:32 -08:00
Piotr Puszkiewicz
0863e02b52 Merge pull request #1253 from dotnet/piotrpMSFT/dotnet-testConfiguration
dotnet-test -c
2016-02-05 14:21:12 -08:00
Eric Erhardt
a7e9ee52c9 Update to .Net Core rc2-23805 2016-02-05 15:53:23 -06:00
Piotr Puszkiewicz
f51b9fb337 enable passing config to dotnet-test 2016-02-05 13:26:12 -08:00
David Fowler
c5100d3dd6 Added repl back to the list of intrinsic commands 2016-02-05 08:40:30 -08:00
Troy Dai
78a7f6d8d1 Fix the exception throw during logging.
The '{}' in the message causes formatter exception when it appears in
string interpolation.
2016-02-04 22:58:58 -08:00
David Fowler
1e799415cb Removed temporary folder for run 2016-02-04 19:12:02 -08:00
Piotr Puszkiewicz
65c026afbf Merge pull request #1052 from cdmihai/cdmihai/HFSTimeStampBug
Allow false positive rebuilds when timestamp collision occurs
2016-02-04 17:15:04 -08:00
Mihai Codoban
1376228e4c Merge pull request #1217 from cdmihai/cdmihai/updateBuildDocumentationReleaseTarget
Update build readme
2016-02-04 16:38:49 -08:00
Mihai Codoban
6d1ff3af8c Allow false positive rebuilds when timestamp collision occurs
Fixes #965
2016-02-04 16:35:04 -08:00
Mihai Codoban
897c0fa0f0 Rename --force-incremental-unsafe flag to --no-incremental 2016-02-04 15:57:10 -08:00
Senthil
ce3055d338 Merge pull request #1214 from schellap/relfix
Link pthread with corehost
2016-02-04 14:14:59 -08:00
David Fowler
d1b8eb9967 Merge pull request #1208 from AustinWise/intrinsicInvoke
Invoke intrinsic commands directly instead of creating a process.
2016-02-04 11:10:16 -08:00
Brice Lambson
ea3cef65a5 Fix directory separator in PopulateLegacyPortableDependencies 2016-02-04 10:10:41 -08:00
Austin Wise
413cf152ae Invoke intrinsic commands directly instead of creating a process. 2016-02-03 23:01:45 -08:00
Eric StJohn
0e8d52ee7f Merge pull request #1211 from dotnet/ericstj/fixNuspecDiffs
Fix diffs in generated nuspec with nuget.core
2016-02-03 22:53:29 -08:00
David Fowler
89ca48bd05 Remove project.json in template to avoid restore 2016-02-03 22:19:41 -08:00
David Fowler
a65054d947 Fixed version of FileSystemGlobbing 2016-02-03 21:41:13 -08:00
Senthil
02948f1675 Link pthread with host 2016-02-03 19:53:17 -08:00
Livar Cunha
42222e50a3 Updating to last version of dotnet-test-xunit 2016-02-03 17:09:52 -08:00
Livar Cunha
e618ff091f Making the test scripts work with dotnet test. 2016-02-03 17:07:55 -08:00
Livar Cunha
fd604355fe Introducing a new library to hold file system related abstractions. Making the E2E tests work with dotnet test 2016-02-03 17:07:40 -08:00
Livar Cunha
3048eb487c Making dotnet-compile run with dotnet test. Added a method to PathUtil to calculate target paths ignoring directory traversal characters.
Making dotnet-build.tests run with dotnet test

Making dotnet-publish.test work with dotnet test
2016-02-03 17:07:38 -08:00
Bryan Thornbury
7236a72917 Merge pull request #1192 from dotnet/brthor/dotnet-run-bug
coreclr path being set incorrectly when dotnet_home env var isn't present
2016-02-03 16:41:27 -08:00
Senthil
8cb1e93d78 Merge pull request #1207 from schellap/relfix
Port native fixes
2016-02-03 16:33:11 -08:00
Eric Erhardt
7573689a22 Removing www.myget.org in our tests.
We have a bunch of NuGet.Config files in our tests that were needed before because the tests were run out of a temp directory.  Now the tests are run out of the artifacts folder, which is a subdirectory of our repo root, so the root NuGet.Config will get picked up.

I also updated all the dotnet-core feeds from www.myget.org to dotnet.myget.org.
2016-02-03 17:39:50 -06:00
Senthil
102f11e65b Port native fixes 2016-02-03 14:49:31 -08:00
Eric St. John
b8d7697539 Fix diffs in generated nuspec with nuget.core
There was a typo in file list that used Source
value for target attribute.

The ordering of metadata was different than
nuget.core and nuget.core never added
DevelopmentDependency if it was set to
false.

There are still some differences between a
nuspec generated through Manifest.Save
in Nuget.Core and this, but all of those
make it more consistent with the nuspec
that is put in the actual package so I'm
leaving them.

The primary difference is that NuGet.Core
used string types to represent the TFM in
groupable items so it would just pass through
whatever you gave the API to the nuspec.
The downside of this is that you might have
an invalid string and you wouldn't know that
until you packed (and cracked open the nuspec).
The new implementation parses the TFM
and writes a normalized version to the nuspec.
This is more wysiwyg so I'm leaving it.

Contained in branches: master#gitext://gotobranch/master
Contained in no tag
2016-02-03 14:27:53 -08:00
David Fowler
656b59c508 Calculate the intermediate output path in CompileContext.NeedsRebuilding 2016-02-03 08:33:39 -08:00
David Fowler
2d04bdcd17 Merge pull request #1195 from dotnet/davidfowl/faster-restore
Pin versions and restore less
2016-02-03 00:42:26 -08:00
David Fowler
fe5f19765d Fixed versions that actually exist still 2016-02-02 23:24:22 -08:00
David Fowler
73f7550b98 Pin versions and restore less
- Should speed up the build
2016-02-02 23:03:12 -08:00
Troy Dai
b9f2d8fe3d Fix projectmodel-server regression
1. Address the null reference exception when a project dependency is
broken.
2. Address the duplicate key issues after the logic of redirecting
System pacage to reference assembly was added

Update projectmodel-server and tests

1. Fix test timeout caused by undisconnected socket;
2. Update project model server
2016-02-02 22:26:16 -08:00
Bryan Thornbury
c4b3925e46 Revert "Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02"
This reverts commit 1cbdc40464.
2016-02-02 17:55:08 -08:00
Bryan Thornbury
5db0198418 fix bug in dotnet-run 2016-02-02 15:26:23 -08:00
Tanner Gooding
1cbdc40464 Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02 2016-02-02 15:25:05 -08:00
Andy Gocke
5e0329f417 Merge pull request #1160 from agocke/infer-analyzer-lang-id
Infer the analyzer languageId from compilerName
2016-02-02 15:03:10 -08:00
Pranav K
7a03c91350 dotnet-resgen should use a file to accept argument values 2016-02-02 13:01:22 -08:00
Andy Gocke
7a203c02e1 Merge pull request #1158 from agocke/add-additional-arguments
Add "additionalArguments" compilation option
2016-02-02 12:22:03 -08:00
Andrew Stanton-Nurse
16c9d3ffa6 Merge pull request #1178 from dotnet/davidfowl/fix-versions-and-crossgen
Upgrade stdlib and enable crossgen
2016-02-02 12:00:21 -08:00
Pavel Krymets
2b5c7d06fb Merge pull request #1167 from dotnet/pakrym/notnull
Do not throw exception when DependencyModel does not exist
2016-02-02 09:51:26 -08:00
Andy Gocke
34f78994d1 Infer the analyzer languageId from compilerName
Simplifies using a different compiler since you only have
to set one value if the the compiler is known to dotnet-compile
2016-02-01 22:58:47 -08:00
Andy Gocke
6ba581fc17 Add support for 'additionalArguments' in compilationOptions
Rather than keep a map that will have to be constantly updated every time
a new argument gets added to a compiler, the 'additionalArguments' option
will allow users to directly add arguments to the underlying compiler.
2016-02-01 22:48:12 -08:00
David Fowler
ec10a1d6be Upgrade stdlib and enable crossgen 2016-02-01 20:48:34 -08:00
Piotr Puszkiewicz
44ac20a4ce Merge pull request #1175 from dotnet/pakrym/1096
Fix NRE in restore
2016-02-01 20:11:32 -08:00
piotrp
b4b0e612ed Fixes issue #1174 2016-02-01 17:33:47 -08:00
Pavel Krymets
10038ceb77 Fix NRE in restore 2016-02-01 17:30:41 -08:00
David Fowler
d886cc7195 Added pack command 2016-02-01 14:56:32 -08:00
David Fowler
dfc59eb20e Everything in the same project
- Build in intrinsic commands as part of dotnet
2016-02-01 14:56:32 -08:00
Bryan Thornbury
31c718d5d3 Merge pull request #1117 from dotnet/brthor/refactor_test_scripts
Refactor test scripts
2016-02-01 14:15:36 -08:00
Pavel Krymets
a6bfc67e8a Do not throw exception when DependencyModel does not exist 2016-02-01 12:13:48 -08:00
Andrew Stanton-Nurse
0951d424be Merge pull request #1100 from dotnet/anurse/1093-fix-shared-source-packages
suppress adding project output to export when there is no output
2016-02-01 10:28:14 -08:00
Livar Cunha
35ef45306a Copying project dependencies when the project is a test project. Without this, dotnet test will fail to find the P2P dependencies and crash.
Refactoring the MakeCompilationOutputRunnable code so that it is easier to move it to build. Making build stop passing runtime to compile. Moving the MakeCompilationOutputRunnable from compile to build.

Making WriteDepsFile create its directory if it does not exist.
2016-01-31 01:01:32 -08:00
David Fowler
b16ecff0e9 Make publish do less work
- Added a runtime switch to build and compile
- Flow the runtime from publish through build and compile
2016-01-30 10:33:36 -08:00
Bryan
39682cd14b dotnet-restore fix
add rid to all restores in test

Add Rid to appdep script, fix common

more script fixes!

fixes

script fix

script fix

Fix up the Runtests script

more fixes :)
2016-01-30 00:21:15 -08:00
Pranav K
be18ee31be Switch to using File.LastWriteTimeUtc 2016-01-29 19:22:31 -08:00
Andrew Stanton-Nurse
be29bb2968 suppress adding project output to export when there is no output 2016-01-29 12:27:04 -08:00
Pavel Krymets
35d6fc4477 Copy refs only on publish 2016-01-29 10:20:28 -08:00
piotrp
7f937d03bb fixes #1112 2016-01-28 22:34:09 -08:00
Andrew Stanton-Nurse
1a6d5c9f5e go to rel, do not pass go, do not collect $200 2016-01-28 22:33:19 -08:00
Piotr Puszkiewicz
1796586280 Merge pull request #1107 from livarcocc/fix_dotnet_test
Fix the way we pass the deps file to the host
2016-01-28 21:36:38 -08:00
N. Taylor Mullen
8ecef6b20d Compare AssemblyNames correctly.
- Calling `AssemblyLoadContext.LoadFromAssemblyName(new AssemblyName("foo"))` would not work prior to this because the assembly path lookup was a dictionary where the key was `AssemblyName` without a proper `AssemblyName` comparer.

#1084
#955
2016-01-28 20:01:35 -08:00
Livar Cunha
9c87983fdf When doing the argument escaping work, we changed the way we pass the depsfile to the host, this broke the dotnet test command. Moving the parameter back to its original and expected format. 2016-01-28 18:12:28 -08:00
PiotrP
8a36a61213 Fixing imports for dotnet5.4 2016-01-28 12:49:08 -08:00
PiotrP
462bee83bd revert dontet5.4 dependencies 2016-01-28 12:15:10 -08:00
PiotrP
e792387d7a Adjust imports to portable45 2016-01-28 10:55:22 -08:00
piotrp
f190fa0895 Move to latest System.CommandLine 2016-01-28 10:53:34 -08:00
piotrp
25a7be1b21 Remove 'name' property from PJs 2016-01-28 10:53:32 -08:00
piotrp
63d79b06b4 projectmodelserver 2016-01-28 10:53:31 -08:00
piotrp
9a7cab4cda build scripts and md 2016-01-28 10:53:31 -08:00
piotrp
47db1b91e2 Tools Projects rename 2016-01-28 10:53:29 -08:00
David Fowler
6edac85dce Fixed copying output assets to the publish directory 2016-01-27 20:35:43 -08:00
David Fowler
d4a8fa24db Oops, fixed the asset name for the main asset 2016-01-27 14:22:06 -08:00
David Fowler
b09b00f8a5 Added a way to get output assets
- Flow it through the project context so things end up
everywhere (mostly)
2016-01-27 13:07:26 -08:00
David Fowler
543783dae4 Use consistent version of logging 2016-01-27 11:39:25 -08:00
David Fowler
a35ae177ff - Make all of the code looking for built assets use the OutputPathCalculator
- Project dependencies are always built into their specific folders and the main project is the only one that uses the output path and intermediate output path variable.
- Publish respects the output path for publish only, not compile as part of publish. This means that publishing multiple runtimes will stomp on each other. So don't do that. We can throw if you specify and output location and you haven't specified a specific combination of RID and framework. Alternatively it should probably just pick the first TFM/RID pair from the lock file. This is similar to how `dotnet run` works.
- Cleaned up the incremental build output formatting
- Use a single stream (output stream) since interleaving them was causing formatting issues (like losing random characters in the middle of outputting things).
- Didn't change how pack works, it still preserves the output structure when passing `--output`, this one is worth discussing. We could leave the build output inplace and only move the package to the output location. That's more consistent with how everything else works and can be a follow up PR.
2016-01-27 11:13:45 -08:00
Piotr Puszkiewicz
788194e48e Merge pull request #1004 from piotrpMSFT/anurse/bootstrap-with-nuget-finally
Anurse/bootstrap with nuget finally
2016-01-27 11:03:19 -08:00
Piotr Puszkiewicz
c67ad6f8da Merge pull request #1056 from dotnet/appcontextbase
Set AppContext BaseDirectory
2016-01-27 09:15:10 -08:00
piotrp
60450bd94a Bump NETStandard.Library to 23727 2016-01-27 09:11:08 -08:00
piotrp
7b14149c8c Bad Merge 2016-01-26 23:25:42 -08:00
piotrp
a66546d8fb Maintain test artifacts
Improved test diagnostics
Providing diagnostics about failed process.
Workaround for https://github.com/NuGet/Home/issues/1977
get past crossgen errors!
2016-01-26 23:25:39 -08:00
Andrew Stanton-Nurse
066bebcc6c bootstrap using nuget instead of dnx 2016-01-26 23:25:37 -08:00
Piotr Puszkiewicz
90fad34d5a Merge pull request #1058 from piotrpMSFT/piotrpMSFT/Issue1057/NuGet-536
Bump NuGet dependency to -536
2016-01-26 21:40:07 -08:00
Piotr Puszkiewicz
55e838427f Merge pull request #927 from agocke/analyzer-support
Add analyzer support
2016-01-26 19:19:42 -08:00
Piotr Puszkiewicz
511015c331 Merge pull request #1027 from enricosada/teach_fsharp_to_dotnet_new_rel_1.0.0
teach fsharp to dotnet new
2016-01-26 19:18:12 -08:00
Piotr Puszkiewicz
b72975bf4c Merge pull request #1051 from dotnet/pawelka/strongname
Strong naming Microsoft.Dotnet.Cli.Utils
2016-01-26 19:16:41 -08:00
piotrp
bd109c1bf4 Bump NuGet dependency to -536 2016-01-26 18:47:03 -08:00
Senthil
5a01557501 Set AppContext BaseDirectory 2016-01-26 18:38:21 -08:00
Pranav K
ec73b1de23 Ignore framework assemblies when compiling for package based frameworks.
Fixes #1054
2016-01-26 17:41:11 -08:00
moozzyk
0d3f1bf5f2 Strong naming Microsoft.Dotnet.Cli.Utils 2016-01-26 16:18:38 -08:00
Andy Gocke
75859c5dc0 Merge branch 'rel/1.0.0' into analyzer-support 2016-01-26 10:43:34 -08:00
Piotr Puszkiewicz
e7053b5339 Merge pull request #1030 from dotnet/fixhelp
Fix the dotent help screen
2016-01-26 01:19:52 -08:00
piotrp
bfdf0a5fe1 Bump NuGet to -531 2016-01-25 22:58:54 -08:00
Zlatko Knezevic
cd1837d189 Fix the dotent help screen
Replace the compile verb with build.
2016-01-25 12:48:21 -08:00
Piotr Puszkiewicz
e40f860d12 Merge pull request #1025 from dotnet/pawelka/bug-1014
Fixing wrong output path passed to pre/post publish scripts
2016-01-25 11:20:29 -08:00
Enrico Sada
91b37f82b4 teach fsharp to dotnet new
- add --lang <LANG> [C#|F#] with alias (csharp/cs)
- renamed template directories, format "LANGUAGE-TEMPLATE"
- add --type <TYPE>

    default to first template of the language ( "Console" )

- show all avaiable types, if invalid argument --type

    ```
    Unrecognized type: notexists
    Avaiable types for F# :
    - Console
    ```
2016-01-25 19:52:52 +01:00
moozzyk
813979de0e Fixing wrong output path passed to pre/post publish scripts
Fixes #1014
2016-01-25 09:24:27 -08:00
Andy Gocke
c716ad6571 Add analyzer support
With this change, any referenced analyzer project will be parsed by the
project system and the assemblies will be passed down to the compiler.
By default, the analyzer language is considered to be "cs". If another
language is used, the "languageID" option should be specified inside the
"analyzerOptions" section of the project.json file.

Resolves #83
2016-01-24 21:38:42 -08:00
David Fowler
0bf95241be Remove unused list 2016-01-24 11:09:59 -08:00
David Fowler
2807db8044 Auto reference facades in the common cases
- There are 2 major cases to auto reference facades:
1. When using a netstandard/dotnet* based package on a platform where the System.* packages don't provide any compilation assemblies.
2. When referencing a PCL where no dependencies were specified in the nuspec.
- For 1, we handle it by replacing package references with reference assemblies if possible. For 2. We turn assembly references of PCL assemblies into package dependencies.
This should cover the 90% case where people had to manually reference facades anytime they wanted to use a PCL on Net4.x.

TODO: P2P PCL references

#164
2016-01-24 11:05:31 -08:00
Bryan
4c41c9699c Last necessary test changes
Fix the refactoring bugs

fix restore

downgrade version of package command test

Linux Test Script Fixes

use corehost instead of corerun for arg testing

don't copy corehost

fix scripts

Account for change in publish path, use corerun. Issue with AppContext.BaseDirectory in corehost.

Case Sensitive Reflector

wait for process exit

Fix bug in runtests.ps1

fix release build output path

fixup bug in runtests.sh
2016-01-23 14:32:50 -08:00
Bryan
cd9e5e2f08 Make the move off of * dependencies
move tests back to 23704

name changed, feedback
2016-01-23 13:01:37 -08:00
Bryan
c727c513dc Native fixes
project.json cleanup

Cleanup and Code Review Feedback
2016-01-23 13:01:36 -08:00
piotrp
f16f839019 Fixes system.runtime.extensions:4.1.0.0 issue 2016-01-23 13:01:35 -08:00
Bryan Thornbury
d1d23944df Changes to fix publish tests 2016-01-23 13:01:34 -08:00
piotrp
9c5e520285 various fixes 2016-01-23 13:01:33 -08:00
Bryan
8d0fada156 Product Changes to Work with new argument escaping 2016-01-23 13:01:31 -08:00
Bryan
e794ad6a10 Basic Argument Forwarding and Escaping Code Additions/Changes 2016-01-23 13:01:30 -08:00
schellap
45bee52522 Resolve sym links to probe paths on Unix 2016-01-22 16:51:04 -08:00
Livar Cunha
fdea0b87e0 Making some of the testbase methods protected.
Renaming variables according to code review comments. Adding the folder logic to the builder tests. Creating a separate compilation folder during the build.
2016-01-22 15:22:45 -08:00
Livar Cunha
ac2d0e36a9 Changing multiple dotnet commands to be aware of $configuration/$tfm folder structure under the --output path option.
Changing the build scripts to copy files over from debug\dnxcore and to check for the folders existence before trying that.
Making the build command aware of the subfolders and making E2E tests aware of subfolders.
Fixing compiler tests to look for the xml in the right plae taking into consideration the configuration and tfm.
Modifying publish tests to not take into consideration the runtime. This is a temporary change. will bring it back once the commands all understand rid.
Making the packaging step work by placing binaries where dotnet pack expects.
2016-01-22 15:22:44 -08:00
Andrew Stanton-Nurse
7b39d9ce85 remove unnecessary dependency (that isn't present anymore) 2016-01-22 15:17:04 -08:00
Piotr Puszkiewicz
ee247484f3 Merge pull request #971 from dotnet/anurse/970-correct-lock-file-check
adjust lock file check to handle NuGet-style lock file
2016-01-22 13:34:38 -08:00
Andrew Stanton-Nurse
29589f2503 Merge branch 'rel/1.0.0' into anurse/update-nuget 2016-01-22 11:45:50 -08:00
Andrew Stanton-Nurse
5db4684cb1 update to take NuGet build 3.4.0-beta-517 2016-01-22 10:40:01 -08:00
Andrew Stanton-Nurse
43d57e438e adjust lock file check to handle NuGet-style lock file
fixes #970
2016-01-22 10:22:53 -08:00
Bryan
e6a58df9ca fixup Additional references which bring in the new System.Runtime.Extensions 2016-01-21 17:37:06 -08:00
Bryan Thornbury
36a32c4ecc Update project.json 2016-01-21 16:20:15 -08:00
Bryan Thornbury
41693d6966 Update project.json 2016-01-21 16:18:35 -08:00
Piotr Puszkiewicz
fc9097459e Merge pull request #940 from dotnet/trdai/848.1
Add default warning suppresses to CommonCompilerOptions
2016-01-21 13:20:37 -08:00
Piotr Puszkiewicz
14f665eb30 Merge pull request #930 from cdmihai/cdmihai/buildCommandTestingReleasePR
Release PR: Incremental build tests and improvements
2016-01-21 12:31:25 -08:00
Sridhar Periyasamy
3a1f1d251c Merge pull request #926 from Sridhar-MS/restore-temp1
Create the temp folder for 'tools' restoration in the project directory.
2016-01-21 12:02:06 -08:00
Troy Dai
1b8f3a0025 Add default suppress to compiler options message 2016-01-21 11:03:10 -08:00
Andrew Stanton-Nurse
0ad75a758a prep for nuget bootstrapping 2016-01-21 10:24:07 -08:00
Sridhar Periyasamy
6a249f65ea Address PR feedback.
Restore the 'tools' into obj folder.
2016-01-20 17:20:38 -08:00
Mihai Codoban
b2f5bbeeb0 Add dotnet-compile to path probing watch
Since Build is heavily coupled to the logic in dotnet-compile, we're
checking against path probing for dotnet-compile
2016-01-20 16:07:24 -08:00
Mihai Codoban
68d46fefad Incremental output goes to stdout 2016-01-20 16:06:02 -08:00
Mihai Codoban
a7e57ae2ed Include XML and PDB as incremental outputs 2016-01-20 16:06:01 -08:00
Mihai Codoban
2dcf502946 Use lock file to find out when dependencies change
Faster to check one file than many
2016-01-20 16:06:01 -08:00
Mihai Codoban
0ddf493f1d ProjectContext provides access to Lockfile; Lockfile knows its path 2016-01-20 16:06:00 -08:00
Sridhar Periyasamy
6b01f1a644 Create the temp folder for 'tools' restoration in the project directory.
This is a fix for regression caused by #877. It is required to create the
temp folder in the project directory so that same nuget.config resolution
happens for both 'dependencies' and 'tools'. See #844.
2016-01-20 14:50:06 -08:00
David Fowler
7972586c31 Steps to boostrapping with NuGet
- Fixed a bunch of dependencies that was causing dotnet restore to fail on the CLI
- Added imports to `project.json` so that `dotnet-restore` works
- Fixed a bunch of dependency issues in different projects
- Ironically, running `dotnet restore` on the dotnet-restore project still fails (will fix in another commit). Looks like it might be a nuget issue
2016-01-20 18:15:07 +00:00
Andrew Stanton-Nurse
f532ce33b4 Merge pull request #899 from dotnet/anurse/fix-nuget
Work around NuGet packaging error
2016-01-19 15:57:13 -08:00
Andrew Stanton-Nurse
3b261afb47 workaround #901 by using corerun instead of corehost 2016-01-19 15:06:05 -08:00
Andrew Stanton-Nurse
bce4aacb13 work around NuGet packaging error 2016-01-19 14:49:14 -08:00
Andrew Stanton-Nurse
1579f0a809 fix nuget reference 2016-01-19 14:26:11 -08:00
Andrew Stanton-Nurse
3d493f7d9d switch from DNX to cross-plat NuGet! 2016-01-19 11:43:09 -08:00
Piotr Puszkiewicz
4e0d28db74 Merge pull request #874 from dotnet/bricelam-patch-1
Update incorrect dependency in Microsoft.DotNet.Cli.Utils
2016-01-16 14:05:07 -08:00
Troy Dai
479a81a576 Update message sequences of ProjectModel server
Send References ahead of Dependencies
2016-01-15 20:03:29 -08:00
Piotr Puszkiewicz
a64f8f6310 Merge pull request #877 from Sridhar-MS/restore-temp-remove
Delete temporary folder created by "dotnet restore".
2016-01-15 17:07:49 -08:00
Troy Dai
68c0edff17 Enable to initialize a project before restore
1. Check the lock file path first.
2. Update tests
2016-01-15 16:05:18 -08:00
Sridhar Periyasamy
7c5f505276 Merge pull request #873 from dotnet/hostpolcrt
Link CRT into hostpolicy
2016-01-15 14:54:31 -08:00
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
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
Bryan
f9dda0ca3a Corehost changes for linux/mac default installations 2015-11-19 18:03:35 -08:00
Andrew Stanton-Nurse
c14e512a03 wip 2015-11-19 17:24:01 -08:00
Andrew Stanton-Nurse
103aaa4d8e add default values for DOTNET_HOME in corehost
fixes #234
2015-11-19 17:24:01 -08:00
Senthil
28d0236bb0 Fix quotes in native CPP intermediate compilation
Continuation of path quote fixes from:
96c62d2d25

@livarcocc/@brthor, PTAL
2015-11-19 16:45:54 -08:00
schellap
96c62d2d25 Fix quotes around path containing spaces 2015-11-19 16:06:58 -08:00
Bryan Thornbury
7665e99edd Add -lrt to RyuJit mode, not cpp 2015-11-19 13:52:16 -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
cd97e2d8c6 Replacing TABs with SPACEs in WindowsLinkStep 2015-11-19 10:35:05 -08:00
Livar Cunha
fe110f4497 Fixing the path for the includes in windows for cpp native 2015-11-18 17:21:46 -08:00
Bryan
8b66db56c6 Link in msvcrt, Fix output path bug 2015-11-18 17:03:29 -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
Bryan Thornbury
9fbf7a7995 Add msvcrt library to link step 2015-11-18 17:02:30 -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
Andrew Stanton-Nurse
d415aa705b clean up the SLN and projects 2015-11-18 12:05:13 -08:00
David Fowler
8370a2b929 Fixed compilation error 2015-11-18 06:48:31 -08:00
Piotr Puszkiewicz
c284a7492a Merge pull request #217 from brthor/dotnet-compile-natives
dotnet-compile-native
Thanks for getting this in!
2015-11-18 02:11:11 -08:00
Bryan
325a5af4cf Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives 2015-11-18 01:54:28 -08:00
Bryan
1455d9151d Don't copy Appdeps on mac. Bump appdep package version number 2015-11-18 01:53:05 -08:00
Bryan Thornbury
bd9277e906 Merge pull request #1 from piotrpMSFT/brthor-dotnet-compile-natives
Brthor dotnet compile natives
2015-11-18 01:34:04 -08:00
Bryan
8768b873bd Fix Windows AppDep, bump ILCompiler Version to fix cache issue 2015-11-18 01:19:06 -08:00
Zlatko Knezevic
23e19d326a Fix READMEs in command folders
Some of the README.md files in the commands' folders weren't valid.
Changing them to better illustrate the current state.
2015-11-18 01:15:07 -08:00
piotrp
f382872c41 Adding Readme.md
Cleaning up some options
Renaming BuildType to BuildConfiguration
2015-11-18 00:34:09 -08:00
Andy Gocke
b011e7f8a4 Also set publicsign when not on windows 2015-11-18 00:00:31 -08:00
Andy Gocke
869b927350 Upgrade csc ref to latest
Provides a few benefits:

1) The new package has the correct dependencies listed, so I removed the
-MissingDependenciesOK flag from the crossgen scripts.

2) The new compiler supports -publicSign (formerly called "OSS sign"),
which I patched through dotnet-compile-csc .
2015-11-17 23:37:39 -08:00
piotrp
42e557408a Adding to sln 2015-11-17 23:01:48 -08:00
Piotr Puszkiewicz
380eda370c Merge pull request #209 from dotnet/anurse/202-duplicated-help
fix #202 by exiting on invalid option
2015-11-17 22:04:05 -08:00
Bryan
56d4e15040 Adding missing files 2015-11-17 20:39:08 -08:00
Bryan
5db8ae5e6d Code Review Feedback 2015-11-17 20:39:07 -08:00
Bryan
fd471025dc Linux CPP Mode Working. 2015-11-17 20:38:59 -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
Bryan
4141e1ec5b Pin Dependencies in project.json, fix version of ObjectWriter 2015-11-17 20:38:03 -08:00
Bryan
c32b262eef ILC Path in settings 2015-11-17 20:36:29 -08:00
Bryan
3c0b0ce73c Change ILToNative Path to ilcpath 2015-11-17 20:36:29 -08:00
Bryan
17232e836d Code Review Feedback. Refactor Config Class Name 2015-11-17 20:36:28 -08:00
Bryan
22b3b497e0 Fixes for Windows. 2015-11-17 20:36:27 -08:00
Bryan
da8bd2a6f6 dotnet-compile-native
Supports IL to Native compilation on Windows using CPP and RyuJit Code
Generators. Supports RyuJit Code generation on Linux.
2015-11-17 20:36:26 -08:00
Krzysztof Wicher
427101e36c simplify template project.json 2015-11-17 12:26:14 -08:00
Krzysztof Wicher
872f842522 use reporter and c#6 features 2015-11-17 12:09:10 -08:00
Krzysztof Wicher
5d1c908d49 change Dictionary<string, string> to var 2015-11-17 11:46:47 -08:00
Krzysztof Wicher
b566be5de8 Add dotnet-init 2015-11-17 11:46:46 -08:00
Livar Cunha
1e357a2e03 ResourceWriter requires that AddResource be called at least one before generate. However, when we have an empty resx, AddResource does not get called which causes resgen to crash when ResourceWriter.Generate gets called. 2015-11-17 09:56:35 -08:00
Piotr Puszkiewicz
92857c7298 Merge pull request #197 from blackdwarf/master
Add MD files per command and documentation directory
2015-11-16 22:12:17 -08:00
Andrew Stanton-Nurse
8c5a0490b5 remove unnecessary argument on PrintHelp 2015-11-16 20:26:52 -08:00
Zlatko Knezevic
5156afa505 Add MD files per command and documentation directory
Add README.md files with the contents of the "man pages" per directory that
implements all or part of the command. This way, we will enable easier
perusal of our repo as well as have an initial set of documentation published.
Add "documentation" directory as well for future work.
2015-11-16 20:11:21 -08:00
PiotrP
e839b4debb Update Copyright headers in all source files. 2015-11-16 19:47:43 -08:00
David Fowler
98390d50e0 Don't require all dotnet tools to be on the path
- Try resolving full path to executable in the local directory first.
2015-11-16 18:21:15 -08:00
Andrew Stanton-Nurse
1dbc62866d fix #202 by exiting on invalid option 2015-11-16 17:39:03 -08:00
Andrew Stanton-Nurse
4cc15b1246 restructure the output layout
also reorganize the scripts folder
2015-11-16 09:44:00 -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
Andrew Stanton-Nurse
9718a4818c update NuGet.Packaging reference 2015-11-12 10:38:57 -08:00
Andy Gocke
5bfb626799 Upgrade compiler version and fix crossgen
The latest compiler nugets have missing dependencies, so
this temporarily turns on -MissingDependenciesOK for crossgen
2015-11-11 16:33:06 -08:00
Charles Stoner
a4164dbf11 Merge pull request #170 from cston/version
Update Microsoft.Net.Compilers.netcore version
2015-11-09 12:11:27 -08:00
David Fowler
df8ac0c7ce Added initial workspace implementation for project.json 2015-11-09 11:37:16 -08:00
Charles Stoner
3b8b7b6cb0 Update Microsoft.Net.CSharp.Interactive.netcore version 2015-11-09 10:27:01 -08:00
David Fowler
215b53c6ab Added a basic workspace implementation
- This is a port of a simple project.json workspace I wrote a while back. It's been updating to use the new APIs (which actually made it much easier to implement).
2015-11-09 00:23:46 -08:00
David Fowler
5711d1764d Rename strongName: true to useOssSigning 2015-11-09 00:19:39 -08:00
David Fowler
cb471485a9 Change the line number for version conflcits
- Use the project.json that caused the conflict
2015-11-08 10:22:09 -08:00
David Fowler
b343d121a3 Show more dependency warnings
- Show version conflicts
- Fixed the formatting of version ranges
- Fixed conflicts found in the cli
2015-11-08 09:52:28 -08:00
David Fowler
82f3b22308 Removed extra space 2015-11-08 07:39:23 -08:00
David Fowler
1470ab60d2 Fix dependency issues
- Normal behaviors things were being shown as warnings. Cousin dependencies
always get version bumped.
2015-11-08 07:38:42 -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
b334c8f28c Fixed a few issues with lock file check
- Normalize version for comparison
- Change dnu restore to dotnet restore in
error message
2015-11-07 02:24:53 -08:00
David Fowler
8ebc1bf9f5 Fixed argument parsing issues with resources 2015-11-07 01:52:59 -08:00
Charles Stoner
d244b07dc5 Merge pull request #162 from cston/repl
Rename 'dotnet interactive' to 'dotnet repl'
2015-11-06 19:31:14 -08:00
Charles Stoner
73ae3e8afb Rename 'dotnet interactive' to 'dotnet repl' 2015-11-06 19:07:38 -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
Charles Stoner
1ef48cc094 Revert change to 'dotnet run --project' argument 2015-11-06 08:18:36 -08:00
David Fowler
25c35907b8 Copy the "copy to output" files on compile 2015-11-06 06:15:26 -08:00
David Fowler
f1f1db0d8e Support language version based on schema 2015-11-06 05:53:16 -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
Sridhar Periyasamy
54847cf032 Merge pull request #150 from Sridhar-MS/upgrade-refs
Upgrade references to 23504.
2015-11-04 13:09:49 -08:00
Andy Gocke
7a0ded7654 Merge pull request #92 from agocke/MoveOptionsToCsc
Create (de)serializer for CompilerOptions
2015-11-04 12:58:56 -08:00
Andy Gocke
da8f254cb4 PR comments 2015-11-04 12:04:51 -08:00
Andrew Stanton-Nurse
d55f9a6e89 boo tabs 2015-11-04 10:49:45 -08:00
Sridhar Periyasamy
f211414d6e Upgrade references to 23504. It has the fix in System.Diagnotics.Process
for the Ubuntu hang.
2015-11-04 10:31:40 -08:00
Andy Gocke
a60a030bca Fixup merge 2015-11-03 15:36:06 -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
Andy Gocke
b1d3ef4b75 Merge pull request #143 from agocke/ChangeCMakeIdToGNU
Fix the Cmake GCC identifier
2015-11-03 11:26:16 -08:00
Andy Gocke
a5a19be253 Fix the Cmake GCC identifier
GCC is 'GNU', not 'GCC'.
2015-11-03 10:56:33 -08:00
Piotr Puszkiewicz
f176ae9387 Merge pull request #142 from dotnet/anurse/fix-ubuntu-cmake
Fix cmake dependency on Ubuntu

Thanks @anurse!!
2015-11-03 10:42:51 -08:00
Andrew Stanton-Nurse
bf0b0c93cb this should fix cmake on Ubuntu 14.04 2015-11-03 10:08:59 -08:00
David Fowler
db6464356c Print the time for compilation without verbose 2015-11-03 01:08:57 -08:00
David Fowler
a887a984f5 Always use temp folder for run
- Both output and intermediate
2015-11-03 00:01:04 -08:00
Andy Gocke
e338f0415c Update everything to 23502 and add Tools.Run to sln 2015-11-02 21:47:18 -08:00
Andy Gocke
7dd429f047 Enable Roslyn crossgen on osx/linux
Also updates the runtime to 23502, which contains the crossgen
utility in the xplat runtime packages.
2015-11-02 16:44:03 -08:00
anurse
b35fba863b command line interface clean-up 2015-11-01 21:08:01 -08:00
David Fowler
d39f492300 Add the --debug argument to mono if in debug configuration 2015-11-01 20:41:58 -08:00
David Fowler
e372b32b61 Overwrite existing env vars 2015-11-01 06:24:31 -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
David Fowler
96dfcfa563 Make project dependencies work for dotnet run
- Copy project references to the output folder
2015-11-01 04:06:12 -08:00
David Fowler
da2925e920 Fix the name stripping logic 2015-11-01 03:39:56 -08:00
David Fowler
eaf05ea596 Fix namespace 2015-11-01 02:46:05 -08:00
David Fowler
81f4ebe412 Support mono for dotnet run 2015-11-01 02:30:34 -08:00
David Fowler
8a32f5ece9 Copy dependencies on compile for desktop targets 2015-11-01 02:04:26 -08:00
David Fowler
30f8e6fa4c Remove the message that reports compilation failed 2015-11-01 01:44:53 -07:00
David Fowler
d430ad35c4 Fixed bug resolving native search paths 2015-11-01 01:25:10 -07:00
David Fowler
05fae4d102 Fixed description of preserve-temporary 2015-10-31 23:49:41 -07:00
Andrew Stanton-Nurse
b7e6a0e6cd clean up copypasta 2015-10-31 22:07:41 -07:00
Andrew Stanton-Nurse
3ce7a84a04 dotnet-run command 2015-10-31 21:57:07 -07:00
Andrew Stanton-Nurse
fbedf48da2 fix windows build 2015-10-31 21:19:15 -07:00
Bryan Thornbury
67a17393f8 fix compilation error 2015-10-30 15:34:50 -07:00
Bryan Thornbury
82d538c43a fix compilation error 2015-10-30 15:20:14 -07:00
Bryan Thornbury
951e682070 remove constant 2015-10-30 15:17:43 -07:00
Bryan Thornbury
04e2212f45 clean up --native option 2015-10-30 15:13:53 -07:00
Bryan Thornbury
15cbb75e45 merge with master 2015-10-30 15:11:18 -07:00
Andrew Stanton-Nurse
e70a169b28 Add a shared runtime aware host
And use it in dotnet-compile
2015-10-30 15:03:29 -07:00
Bryan Thornbury
f8ebf66dfc catch clean failure 2015-10-30 14:56:10 -07:00
Bryan Thornbury
822f8100a9 clean things up 2015-10-30 14:48:09 -07:00
Bryan Thornbury
b86dbda57e --native compile option 2015-10-29 13:29:38 -07:00
Bryan Thornbury
4cb3b9569b Merge remote-tracking branch 'upstream/master' into compilenative 2015-10-29 12:04:02 -07:00
Bryan Thornbury
7fe32a93b1 --native first attempt 2015-10-29 12:03:01 -07:00
David Fowler
756080421d Use CoreConsole on *nix
- Changed publish to use CoreConsole instead of
CoreRun for *nix
- Locked pacakge versions for test projects
2015-10-29 02:23:09 -07:00
David Fowler
c83f58d566 Minor API cleanup
- Make ProjectContextBuilder a fluent API
- Rename ResolveRepositoryPath to ResolvePackagesPath
2015-10-29 01:35:23 -07:00
David Fowler
2a37430053 Updated the solution and project file 2015-10-29 00:21:35 -07:00
David Fowler
f98159b3bb Renamed ProjectModel project
- Microsoft.Extensions.ProjectModel -> Microsoft.DotNet.ProjectModel
2015-10-29 00:15:12 -07:00
David Fowler
0ff309d6d1 Skip exe step for desktop TFM publish 2015-10-28 17:19:10 -07:00
Andrew Stanton-Nurse
840b704bf5 pin versions 2015-10-28 15:55:43 -07:00
Andrew Stanton-Nurse
a715be1d59 switch to latest coreclr 2015-10-28 15:47:47 -07:00
Andrew Stanton-Nurse
1d76b2846c package up DNX in the tar.gz
includes a smoke test for verifying that the output can be used to build
also includes a checked-in CoreCLR in order to work around CoreCLR issue
2015-10-28 10:32:30 -07:00
David Fowler
94bafb17a3 Skip the packages folder in the default excludes 2015-10-28 02:59:44 -07:00
David Fowler
80beccdbdc Added support for relocating reference assemblies
- This enables building for mono by setting the DOTNET_REFERENCE_ASSEMBLIES_PATH env variable. We could add some smart defaults for mono later.
- Added a new diagnostic for reference assemblies when the framework itself isn't installed.
- Added new error codes for dotnet.
2015-10-28 02:21:00 -07:00
Andy Gocke
1564a48760 Merge pull request #102 from agocke/AddCompilerNameOption
Add a compilerName option to the project.json
2015-10-26 09:34:19 -07:00
Andy Gocke
953d934819 Add csc as default compilerName if one is not specified
Also remove csc from project.json files, since it is no longer
necessary.
2015-10-26 09:23:58 -07:00
Andy Gocke
72665a4f9f Remove compiler name autodetection
Also add compilerName: csc to every project.json to compensate.
2015-10-25 23:37:41 -07:00
David Fowler
8ea6607c92 Lock file parsing cleanup
- Handle Package vs package, NuGet puts Package in the lock file
- Handle null package lookups gracefully
2015-10-24 04:32:26 -07:00
David Fowler
3876d2e16a Changes to publish
- Return error for invalid runtime ids
- Change output to be rid specific
2015-10-24 03:59:39 -07:00
Andy Gocke
2ccecbf78e Add a compilerName option to the project.json
If compilerName is not specified in the project.json then
dotnet compile will attempt to detect a compiler based on
a hardcoded lookup table.
2015-10-23 15:21:49 -07:00