Commit graph

2592 commits

Author SHA1 Message Date
Zlatko Knezevic
cbf5e241e3 Merge branch 'rel/1.0.0' into blackdwarf-patch-2 2016-04-08 17:53:48 -07:00
Zlatko Knezevic
b3c77054bd [WIP]: New version of the installation spec (#1831)
* New version of the installation spec

Added things around the installation process, upgrades and removals. Also added more parameters for the install script.

* Responding to PR feedback'
2016-04-08 17:49:46 -07:00
Andrew Stanton-Nurse
803fef6a8b fix equality issue in DependencyContextLoader (#2379)
When checking if the provided assembly is the Entry Point Assembly, we
previously just checked if the AssemblyNames were equal, but it turns
out AssemblyName doesn't implement Equals, so it was using Reference
Equality, which fails. This change uses Assembly.Equals, which has an
Equals implementation that works.

Also adds some tests to ensure it's working.

This unblocks scenarios where the EntityFramework `dotnet-ef` command
was trying to read DependencyContext.Default but receiving a null
reference.
2016-04-08 15:33:32 -07:00
Troy Dai
3d157d0ec8 Merge pull request #2363 from dotnet/troy/2344
Stop adding default desktop assembly reference repeatedly.
2016-04-08 15:25:39 -07:00
Sridhar Periyasamy
3af38bf0fe Merge pull request #2378 from Sridhar-MS/kestrel-fix
Increasing timeout to check Kestrel Server is up.
2016-04-08 14:30:08 -07:00
Pawel Kadluczka
44be0cb3c0 Merge pull request #2358 from dotnet/pawelka/outname_pack
Enabling creating packages with different names than target libraries
2016-04-08 14:24:29 -07:00
Troy Dai
449a05cb8e Update NETStandard.Library version in test samples 2016-04-08 14:20:39 -07:00
Troy Dai
a3e1664ddc Update test apps 2016-04-08 14:15:17 -07:00
Troy Dai
031862dc05 Avoid add default desktop references repeatedly 2016-04-08 14:15:17 -07:00
Troy Dai
6a678a0d05 Add unit test for duplicate system references 2016-04-08 14:15:17 -07:00
Troy Dai
c42c60c56b Add test for mscorlib duplication issue 2016-04-08 14:15:17 -07:00
Zlatko Knezevic
bcc3094e01 Add pre-reqs doc to the repo (#2219)
* Add pre-reqs doc to the repo 

This document outlines all of the native dependencies that are needed to run the CLI tools for Ubuntu, Windows, CentOS and OS X. 
As per chat with @leecow documentation does not need special approval to get merged. 

skip ci please

* Update cli-prerequisites.md

* Responding to PR feedback

I've changed the Ubuntu reqs to be the same as CentOS pre-reqs just with the correct package names. This seems like a more sane thing to do.

* Update cli-prerequisites.md
2016-04-08 13:55:26 -07:00
Senthil
95bcf436fa Merge pull request #2360 from schellap/rollfwd
Roll forward for FX and additional paths
2016-04-08 13:52:36 -07:00
Eric Erhardt
e45e4bd991 Merge pull request #2376 from eerhardt/NewRoslyn
Update Roslyn to 1.3.0-beta1-20160406-08
2016-04-08 15:34:47 -05:00
Eric Erhardt
eb793c5cf8 Merge pull request #2331 from eerhardt/ConsumeNetCoreApp
Consume Microsoft.NETCore.App
2016-04-08 15:13:48 -05:00
Sridhar Periyasamy
95accc5f94 Increasing timeout to check Kestrel Server is up.
KestrelSample app compilation time on CI machines is 16-20s and the test timeouts even before the kestrel server is up, which I suspect is the reason why kestrel tests are flaky.
2016-04-08 12:42:43 -07:00
Eric Erhardt
661b9c7627 Update Roslyn to 1.3.0-beta1-20160406-08 2016-04-08 14:15:57 -05:00
Eric Erhardt
9f61ad51aa Check if runtimeConfigPath exists before reading the file in IsPortableApp.
If it doesn't exist, then it isn't a portable app.
2016-04-08 12:52:57 -05:00
Krzysztof Wicher
11e3fa36af rename install.ps1/sh to dotnet-install.ps1/sh to match documentation 2016-04-08 10:51:16 -07:00
Eric Erhardt
5684f9933d Fix dotnet-test.UnitTests now that ProjectWithTests has moved outside of TestAssets/TestProjects. 2016-04-08 11:35:13 -05:00
Eric Erhardt
e5e7ab1e47 Fixing dotnet.Tests to pass the correct TFM into the dependency-tool-invoker. 2016-04-08 10:30:26 -05:00
Eric Erhardt
7d6d74bba2 Fixing dotnet-test.Tests to use a portable test app - ProjectWithTests.
The ProjectWithTests needed to be moved outside of TestAssets\TestProjects because it can't be restored --infer-runtimes and it has to be built with netcoreapp1.0.
2016-04-08 09:35:06 -05:00
Eric Erhardt
8a9068efbf Fixing tests now they are portable.
2 tests needed to lift System.Diagnostics.TraceSource since it isn't in the shared framework.

The ArgumentReflector is now a portable app, so it needs to be invoked with "dotnet".
2016-04-08 09:34:00 -05:00
Eric Erhardt
4c704997c9 Remove infer-runtimes from EndToEnd tests. 2016-04-08 09:32:56 -05:00
Bryan Thornbury
0eb527a7c1 change ordering of the args when invoking dotnet exec for xunit. Fix a bug in the host logic 2016-04-08 09:32:55 -05:00
Eric Erhardt
e2e535d510 Fix x86 nuget package building. The non-runtime packages weren't being built on x86. The check looks for arch;. The semi-colon always needs to be after each architecture. 2016-04-08 09:32:54 -05:00
Bryan Thornbury
1f5116addf add --runtimeconfig to known opts 2016-04-08 09:32:54 -05:00
Bryan Thornbury
34d2445916 Add --runtimeconfig to the hostfxr, and use this option for the xunit scenario. 2016-04-08 09:32:53 -05:00
Eric Erhardt
6fa859a354 Fix ProjectDependenciesCommandResolver for portable test apps.
Update to dotnet-test-xunit to latest.
2016-04-08 09:32:52 -05:00
Eric Erhardt
6ae044e5e1 Fix non-windows builds of Microsoft.NETCore.App.
Fix all test project.jsons to be portable apps.
2016-04-08 09:31:55 -05:00
Eric Erhardt
99371436f3 Consume NETCore.App 2016-04-08 09:27:23 -05:00
Piotr Puszkiewicz
0747d31f86 Merge pull request #2368 from dotnet/piotrpMSFT/ellismg/Update-packages-to-rc2-24008
update packages to rc2 24008
2016-04-08 05:25:12 -07:00
Piotr Puszkiewicz
85608e42cc Merge branch 'rel/1.0.0' into pawelka/outname_pack 2016-04-08 04:27:58 -07:00
Matt Ellis
d0ac16129d Update package dependencies to rc2-24008 2016-04-08 04:05:26 -07:00
Matt Ellis
b184ba23e6 Remove extra reference 2016-04-08 04:05:26 -07:00
Matt Ellis
930b0f8093 Update paths based on repo refactoring 2016-04-08 04:05:26 -07:00
Piotr Puszkiewicz
0954049575 Merge pull request #2354 from dotnet/anurse/fix-nuget-config
remove unnecessary NuGet.Config that was causing problems
2016-04-08 04:04:18 -07:00
Piotr Puszkiewicz
933c63b2d5 Add delay between attempts to contact the server 2016-04-08 03:07:33 -07:00
Piotr Puszkiewicz
c2befefd2a Remove unnecessary dependency on Microsoft.Dnx.* 2016-04-08 01:55:41 -07:00
Pavel Krymets
ddff3a256e Merge pull request #2342 from dotnet/pakrym/run-core-app
Add netcoreapp as default tfm to run
2016-04-07 20:11:08 -07:00
Senthil
392e8fe47d Roll forward for FX and additional paths 2016-04-07 18:23:48 -07:00
moozzyk
6a571e5b2a Enabling creating packages with different names than target libraries
Addresses #2322
2016-04-07 16:06:59 -07:00
Andrew Stanton-Nurse
8e23d9a635 remove unnecessary NuGet.Config that was causing problems 2016-04-07 15:37:33 -07:00
Piotr Puszkiewicz
b9d6a0c911 Merge pull request #2325 from dotnet/piotrpMSFT/Issue2288/Beta2RC2
Moves version suffix from beta to rc2
2016-04-07 14:13:38 -07:00
Sridhar Periyasamy
5768f4c973 Merge pull request #2297 from Sridhar-MS/fix-2126
Execute project dependency command from output directory for Desktop.
2016-04-07 13:46:30 -07:00
Pavel Krymets
ed05e164fb Merge pull request #2337 from dotnet/pakrym/hasruntimeoutput
Bring `has runtime output` check back
2016-04-07 13:37:09 -07:00
Pavel Krymets
0bc7380bdb Add netcoreapp as default tfm to run 2016-04-07 11:51:41 -07:00
Pranav K
9efebf8ef9 Merge pull request #2296 from dotnet/prkrishn/update-more-packages
Update to the latest AspNet packages
2016-04-07 11:04:45 -07:00
Sridhar Periyasamy
4de28dc58b Fix windows x86 test failure.
Use the correct rid for windows x86 in the test.
2016-04-07 10:54:31 -07:00
Pavel Krymets
13aee118e9 Bring has runtime output back 2016-04-07 10:22:48 -07:00