Commit graph

2176 commits

Author SHA1 Message Date
Pavel Krymets
dd3c0f50db Add reference assemblies and runtime targets support to dependency context builder. 2016-03-08 12:03:10 -08:00
Andrew Stanton-Nurse
7cc90d9ad1 Update dotnet-build to produce portable layout
dotnet-build will produce a deps file for portable builds, and will now
create "runnable" outputs for RID-less targets

the outputs won't actually be runnable today because we need corehost
changes and to generate a deps.json file for corehost to use.
2016-03-08 11:46:15 -08:00
Andrew Stanton-Nurse
444e4f9fd7 update version of nuget 2016-03-08 09:53:06 -08:00
Livar
5d78743324 Merge pull request #1740 from livarcocc/update_tests_to_lastest_runner
Updating test projects to the lastest version of dotnet-test-xunit runner.
2016-03-08 09:37:52 -08:00
Sridhar Periyasamy
d5748854fb Merge pull request #1667 from Sridhar-MS/rhel
Add support for building dotnet CLI on RHEL.
2016-03-08 09:35:30 -08:00
Pavel Krymets
a0db5086f6 Fix dependency context builder regression 2016-03-08 09:22:17 -08:00
Senthil
7789a42766 Merge branch 'rel/1.0.0' into hostpfiles 2016-03-08 02:20:54 -08:00
Sridhar Periyasamy
53fd607584 Fix EndToEnd tests for RHEL. 2016-03-07 20:23:41 -05:00
Bryan Thornbury
2b90a2f831 Merge pull request #1692 from dotnet/brthor/refactor-resolvers
Refactor Command Resolvers, Add Tests, and Fix #1649
2016-03-07 16:50:14 -08:00
Sridhar Periyasamy
c4cb1f2d53 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into rhel
Conflicts:
	TestAssets/TestProjects/OutputStandardOutputAndError/project.json
2016-03-07 19:30:35 -05:00
Livar Cunha
6705585a67 Updating test projects to the lastest version of dotnet-test-xunit runner. 2016-03-07 14:55:39 -08:00
Bryan Thornbury
e56cf84e43 Merge pull request #1691 from dotnet/brthor/fix-1689
Fix function error not found
2016-03-07 14:49:22 -08:00
Bryan Thornbury
9f58651b6c PR Feedback and nearly full test coverage for resolvers
fix

resolve rebase issues
2016-03-07 14:45:16 -08:00
N. Taylor Mullen
2f2b3df35b Merge pull request #1738 from dotnet/nimullen/createloadcontextfix
Add ability to specify `outputPath` when creating a `ProjectContext`s `AssemblyLoadContext`.
2016-03-07 14:38:35 -08:00
Bryan Thornbury
b813e2b849 Fixes #1649
make things work again

fix

Tests Passing

cleanup

fix

fix
2016-03-07 14:35:41 -08:00
Bryan
42cc39252e Refactor CommandResolver into individual CommandResolver Implementation
classes.

Write Unit Tests covering Composite DefaultCommandResolver and
ScriptCommandResolver.

baseline

Baseline2
2016-03-07 14:34:23 -08:00
Sridhar Periyasamy
0f679e68bf Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into build-refactor1 2016-03-07 14:22:02 -08:00
Livar
1fccdbd6ec Merge pull request #1697 from livarcocc/tests_to_run_in_message
Modified the protocol to send a the list of tests to run in a message
2016-03-07 14:01:45 -08:00
Sridhar Periyasamy
d4a3190bfc Refactor the build scripts
- Bifurcate Package and Publish targets to enable signing.
- Move publish from bash/ps into c#.
- Create multiple targets to create MSIs and Bundles.
2016-03-07 12:20:50 -08:00
N. Taylor Mullen
2ea26645e6 Add ability to specify outputPath when creating a ProjectContexts AssemblyLoadContext.
- Prior to this change `outputPath` would always default to `null` which didn't work well with `VisualStudio` tooling. The tooling enables the user to specify a project's `outputPath` but more importantly defaults the project's `outputPath` to the root directory (instead of the project directory).
2016-03-07 12:01:07 -08:00
Pavel Krymets
781678de92 Merge pull request #1703 from dotnet/pakrym/deps-json
Add support for new `deps.json` format without some features.
2016-03-07 11:32:32 -08:00
Andrew Stanton-Nurse
8e78083913 Merge pull request #1636 from dotnet/anurse/update-config-spec
Update runtime config spec
2016-03-07 09:25:24 -08:00
Livar Cunha
e498f1dc9d Modified the protocol to send a the list of tests to run and to invoke the test runner with the wait command flag so that the runner waits for this list.
Modified the reporting channel factory to have a create for the adapter and a create for the runner channel. Also added an event to the create runner channel that people can listen and be notified when a test runner channel was created. I use this event to give the message handler access to the runner channel.

Added the new message handler to DotnetTest.
2016-03-04 17:14:56 -08:00
Livar
840bccd796 Merge pull request #1712 from jaredpar/rpdb
Revert to full PDB on Windows as a default
2016-03-04 17:14:43 -08:00
Jared Parsons
fa143c4d1c Revert to full PDB on Windows as a default
The change to default to Portable PDB by default has broken a number of downstream consumers.  Moving back to full PDBs by default on Windows.

This leaves the option for portable PDB in place.  Hence you can still enable it via the following entry in project.json:

``` json
"compilationOptions": {
    "debugType": "portable"
}
```
2016-03-04 15:33:06 -08:00
Pavel Krymets
f73e447cfc Actually fix tests 2016-03-04 15:09:21 -08:00
Pavel Krymets
1658a40806 Fix tests 2016-03-04 15:05:29 -08:00
Pavel Krymets
1d7cff48d4 PR 2016-03-04 14:12:16 -08:00
Pavel Krymets
304127ec0d Fix wrapped project export 2016-03-04 12:16:23 -08:00
Andrew Stanton-Nurse
8f4ab7ded7 Update runtime-configuration-file.md 2016-03-04 12:08:16 -08:00
Bryan Thornbury
42a17b5d98 Merge pull request #1684 from dotnet/brthor/fix-bold-bleed
fix bold bleed
2016-03-04 11:10:43 -08:00
Pavel Krymets
25d70c07c3 PR 2016-03-04 11:06:12 -08:00
Pavel Krymets
7df754be36 Finish builder tests 2016-03-04 11:01:15 -08:00
Pavel Krymets
0a0c4a830e Even more tests 2016-03-04 11:01:15 -08:00
Pavel Krymets
dcaea8c7ca More work and tests 2016-03-04 11:01:15 -08:00
Pavel Krymets
9bd9ca1512 Add more tests and some reading logic 2016-03-04 11:01:15 -08:00
Pavel Krymets
3f4c263670 Add support for json deps file 2016-03-04 11:01:15 -08:00
David Fowler
3ed9361763 Merge pull request #1699 from dotnet/davidfowl/error-handling
Tweak error handling a little bit
2016-03-04 07:54:19 -08:00
David Fowler
25b5ce9c77 Tweak error handling a little bit
- Handle unresolved projects better in build
- Move unresolved package marking to the resolver
- Added ToString to LibraryKey for easy diagnosis of errors
2016-03-04 01:17:37 -08:00
Livar
049bd17ed2 Merge pull request #1696 from livarcocc/test_abstractions_tests_in_message
Adding a new SendWaitingCommand message to the test sinks
2016-03-03 21:31:30 -08:00
Eric Erhardt
a709f772f1 Merge pull request #1645 from eerhardt/NewCorefx
Move to CoreFX build rc2-23901
2016-03-03 23:21:52 -06:00
Livar Cunha
59033ba1e7 Adding a new SendWaitingCommand message to the test sinks so that they can tell dotnet test that the runner is ready to receive commands. 2016-03-03 19:53:33 -08:00
Eric Erhardt
8e06989c8f Add a workaround for a Sockets issue on Unix.
Adding an explicit reference to System.Net.NameResolution in our dotnet-projectmodel-server.Tests.  The current build of Roslyn references an old version of System.Net.NameResolution which is the version that gets used during the test.  Explicitly referencing the current CoreFX version for now.  This should be reverted when the underlying bug gets fixed, or Roslyn moves to a newer CoreFX version.
2016-03-03 21:41:00 -06:00
Senthil
5cf680d2f0 Merge pull request #1678 from schellap/master
Fix host case comparison
2016-03-03 18:01:47 -08:00
Bryan Thornbury
d7bb28dd68 Update run-build.sh 2016-03-03 17:39:04 -08:00
Jared Parsons
d7cabe152f Merge pull request #1392 from jaredpar/pdb
Make Portable PDB the default on Windows
2016-03-03 17:14:51 -08:00
Eric Erhardt
6468b14e1d Move to CoreFX build rc2-23901
Update .exe's project.json Target Framework from dnxcore50 to netstandardapp1.5.
Update .dll's project.json Target Framework from dnxcore50 to netstandard1.3.

Adding workaround for DataContractSerialization to src\dotnet\project.json to fix crossgen issue.
Build 23901 has a dependency issue that doesn't allow the runtime.any.System.Private.DataContractSerialization
package to be restored. When we move to a new build of CoreFX we should take this workaround out.
2016-03-03 16:41:55 -06:00
Troy Dai
496d9fd141 Add test case for scenario in 1665 2016-03-03 13:13:15 -08:00
Troy Dai
81baacd641 Fix issue 1665: prevent sending null error message 2016-03-03 13:13:06 -08:00
Livar
d918d527bd Merge pull request #1676 from livarcocc/unbound_test_collection
TestMessagesCollection with unbound BlockingQueue
2016-03-03 12:36:43 -08:00