Commit graph

2561 commits

Author SHA1 Message Date
Bryan Thornbury
709f7b7d14 Enable Cross Publishing and add tests
WIP

WIP

WIP

Test out not publishing runtimeAssets

WIP

WiP x-publish

update cross-publish-test

Update Cross Publish tests

remove --config from restore

fix build

update cross publish tests

fix test compilation error

test failure fix

fix test failure

update tests

tracing

fix desktop publishing

do publish with no build, call build manually

fix

Make host publish optional, fix faux libraries?

update

Cross Publish test working

try changing test to netcore.app

fallback to host from current platform

revert change to project.json to target Microsoft.NETCore.App

fallback to compilation build output

update kestrel standalone app project.json

Make project tools command resolver test more self-contained.

make Kestrel Standalone restore against N-1
2016-04-12 13:00:04 -07:00
Senthil
62239926a8 Fix servicing policies 2016-04-12 12:09:18 -07:00
Senthil
1a0b9bba98 Merge pull request #2422 from schellap/fxr-pol
CoreHost.exe hostpolicy should be picked sxs
2016-04-12 11:15:13 -07:00
Piotr Puszkiewicz
0128033afd Merge pull request #2340 from krwq/install_scripts_rename
rename install.ps1/sh to dotnet-install.ps1/sh to match documentation
2016-04-12 10:17:40 -07:00
schellap
351245bce3 CoreHost.exe hostpolicy should be picked sxs 2016-04-12 09:49:49 -07:00
Eric Erhardt
ed9309b90b Merge pull request #2399 from eerhardt/NewRoslyn
Update Roslyn to 1.3.0-beta1-20160410-01.
2016-04-12 08:57:54 -05:00
Senthil
5f2183489f Merge pull request #2392 from schellap/fxr-pol
Make hostfxr backward compatible with hostpolicy
2016-04-11 22:16:56 -07:00
Senthil
38be724c3b Make interface untyped 2016-04-11 19:58:14 -07:00
Senthil
49db7b246b Merge pull request #2409 from schellap/rcfg
Add runtimeconfig to corehost as well
2016-04-11 15:21:04 -07:00
Piotr Puszkiewicz
a7ae7b0091 Merge pull request #2328 from danquirk/MoveTelemetryToDotNet
Move telemetry dependency out of Utils and into dotnet
2016-04-11 15:17:19 -07:00
Bryan Thornbury
74a42de245 Merge pull request #2387 from dotnet/brthor/race
fix the race condition when generating deps.json, and add some covera…
2016-04-11 14:16:09 -07:00
Senthil
35380c3e77 Add runtimeconfig to corehost as well 2016-04-11 12:37:11 -07:00
Eric Erhardt
d0fe815ae9 Add pretemplates to UpdateFiles script.
The pretemplate files can still have CoreFX versions in them, which need to be updated.
2016-04-11 14:01:59 -05:00
Eric Erhardt
bdea82e7d5 Making Config values lazy loaded so UpdateFiles can be run without setting the GitHub env vars. 2016-04-11 13:51:35 -05:00
Sridhar Periyasamy
67bbca00c9 Update README.md
We have moved the Linux build definitions to mseng subscription. So updating the build status badges to reflect that.

@dotnet-bot skip ci please
2016-04-11 11:21:47 -07:00
Eric Erhardt
c41a0a0ceb Update Roslyn to 1.3.0-beta1-20160410-01. 2016-04-11 09:35:09 -05:00
Zlatko Knezevic
97effa6038 Merge branch 'rel/1.0.0' into blackdwarf-patch-2 2016-04-08 19:42:36 -07:00
Zlatko Knezevic
2be5e84f87 Update known-issues.md (#1862)
Add the section on Win7 timeout issue.
2016-04-08 19:42:16 -07:00
Bryan Thornbury
d3d64a4033 fix the race condition when generating deps.json, and add some coverage of this scenario
update reporter to verbose

fix

fix usings for test

update the test
2016-04-08 18:16:49 -07:00
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