Commit graph

147 commits

Author SHA1 Message Date
Sridhar Periyasamy
d2188cd95a Move the CLI corefx dependencies from RC2 to RC3 - rc3-24113-00.
- Disable crossgen for windows.Tracked by - https://github.com/dotnet/cli/issues/3059
- And also fix #2974
2016-05-23 17:04:29 -07:00
Sridhar Periyasamy
5dc1a14e39 Upgrade the "dotnet-test-xunit" version to "1.0.0-rc2-192208-24"
The earlier version "1.0.0-rc2-173361-36" is missing from the cli-deps feed.
2016-05-18 20:47:53 -05:00
Eric Erhardt
8013398def Merge pull request #2980 from eerhardt/FixTestCommandErrors
dotnet test and publish failing badly when the project isn't restored.
2016-05-11 11:27:52 -05:00
Eric Erhardt
652d0541ef dotnet test and publish failing badly when the project isn't restored.
Fixing this by checking for diagnostic errors before continuing.

Fix #2692
Fix #2942
2016-05-11 10:43:58 -05:00
Sridhar Periyasamy
1b2b83b6db Upgrade the RC2 branding to RC3.
The following packages are changing:

Microsoft.NetCore.App: 1.0.0-rc2-3002702 -> 1.0.0-rc3-002702
Microsoft.NETCore.DotNetHost: 1.0.1-rc2-002702-00 -> 1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostPolicy: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostResolver: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00

Also publishing the *deb file to teh debian repo feed is disabled -
https://github.com/dotnet/cli/issues/2973
2016-05-10 13:36:20 -07:00
Bryan Thornbury
f538c4f19f Move to P2P references all over the place 2016-05-05 17:21:27 -07:00
Bryan
d1cd3703ac update rc2-preview1 to preview1 2016-05-05 11:05:58 -07:00
Piotr Puszkiewicz
c3fe0d062f Fix package versions 2016-05-05 11:05:55 -07:00
Andrew Stanton-Nurse
08c4aae6a9 trim build dependencies from output 2016-05-02 19:51:12 -07:00
Pavel Krymets
dc249cb94b Move efs to shared runtime 2016-05-02 09:36:02 -07:00
Pranav K
2ddd3ca9a0 Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
Pranav K
1e753f7781 Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal 2016-04-29 16:06:23 -07:00
Eric Erhardt
e2dcb968eb Add tests for invoking dotnet XX project.json from in
a folder that contains the project.
2016-04-28 08:50:22 -05:00
Pavel Krymets
40b96398b8 Merge pull request #2684 from dotnet/pakrym/desktop-standalone
Fix desktop standalone scenario
2016-04-27 18:23:44 -07:00
Pavel Krymets
f3b47cabf1 Fix desktop standalone scenario 2016-04-27 12:16:40 -07:00
Ajay Bhargav Baaskaran
44fd8bc2de Updated ProjectModel
- Added PackOptions, RuntimeOptions, PublishOptions and updated CompilationOptions
 - Added IncludeFilesResolver to parse include, exclude patterns
 - Added compile, embed and copyToOutput to compilationOptions
 - Renamed compilationOptions to buildOptions
 - Moved compilerName into buildOptions
 - This change is backwards compatible
 - Added warnings to be shown when the old schema is used
 - Handled diagnostic messages in ProjectReader
 - Added unit and end to end tests
2016-04-27 11:49:44 -07:00
eerhardt
f8a155a4e6 Updating CoreFx to rc2-24027 2016-04-27 05:41:53 +00:00
Bryan Thornbury
498bd3b40f remove test skips introduced to workaround #2536 2016-04-25 17:25:21 -07:00
Andrew Stanton-Nurse
a729b97b35 align code in dotnet-run (#2679)
we used to use different code when --framework was specified than when it was not specified, this synchronizes them to use the same code path which removes a hidden NullRef

also adds tests to cover both cases
2016-04-25 13:53:02 -07:00
Pranav K
4e496c3523 Modify dotnet-test to run testRunner for all tfms
Fixes #2506
2016-04-22 16:40:03 -07:00
Eric Erhardt
e420515c2b Updating CoreFX to rc2-24022 2016-04-22 10:58:43 -05:00
Eric Erhardt
a567bb8697 Fix test project imports to be consistent.
- Every project.json needs portable-net451+win8 and dotnet5.4 imports (required by dotnet-test-xunit).
- If a test references NuGet, it also needs "netstandardapp1.5", because that the TFM NuGet uses currently.
2016-04-21 11:42:30 -05:00
Bryan Thornbury
83d78129db t Convert Test Assets to Microsoft.NETCore.App
fix dotnet-compile-fsc failures

fix test failures
2016-04-19 11:08:27 -07:00
Jonathan Miller
18ae4d4791 Merge pull request #2538 from sokket/nrefix
Fixing #2480 to produce an InvalidProjectException for invalid projects
2016-04-18 13:57:57 -07:00
Jonathan Miller
a71e4a5128 Fixing #2480 to produce an InvalidProjectException when attempting to publish a
project folder that does not contain a project.json file
2016-04-18 11:25:54 -07:00
eerhardt
eb4952df27 Updating CoreFx to rc2-24018 2016-04-18 05:23:16 +00:00
Andrew Stanton-Nurse
852446e859 Improve resource file support (#2511)
* Add satellite assemblies to deps file with locale data
* Publish satellite assemblies to output during publish
* Copy satellite assemblies from project-to-project dependencies on
build and publish
2016-04-15 14:45:51 -07:00
eerhardt
070650ebac Updating CoreFx to rc2-24015 2016-04-15 05:25:53 +00:00
Eric Erhardt
deef7f867f Fix PublishTestAppWithContentPackage test to work on all platforms. 2016-04-13 18:38:15 -05:00
Eric Erhardt
f6f1a52ec4 Add publish test for an app with a dependency with contents. 2016-04-13 17:25:34 -05:00
Andrew Stanton-Nurse
a48596ff23 make 'platform' flag dependent upon CLI bitness
this will make net451 deployment work for x86 apps
2016-04-12 16:11:00 -07:00
Andrew Stanton-Nurse
f2bf60d06f add separate test for publish layout 2016-04-12 16:09:53 -07:00
Pavel Krymets
af53b02c13 Fix project.json merge issue 2016-04-12 16:09:53 -07:00
Andrew Stanton-Nurse
14770ae5ba Add tests for "half-portable" scenario 2016-04-12 16:09:53 -07:00
Pavel Krymets
2d3a1fd177 Make desktop publishing "half-portable" by default 2016-04-12 16:09:53 -07:00
Pavel Krymets
6184943910 Merge pull request #2437 from dotnet/pakrym/publish-base-path
Fix publish when build was ran using build-base-path
2016-04-12 15:42:58 -07:00
Pavel Krymets
cf0673333d Fix publish when build was ran using build-base-path 2016-04-12 13:30:18 -07:00
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
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
Matt Ellis
d0ac16129d Update package dependencies to rc2-24008 2016-04-08 04:05:26 -07:00
Pavel Krymets
8831bb4a8b Do not trim refs 2016-04-05 08:06:17 -07:00
eerhardt
3afd85068a Updating dependencies from last known good builds 2016-03-31 11:57:21 -05:00
Mihai Codoban
ded82caccd Publish can skip Build 2016-03-30 19:24:43 -07:00
Eric Erhardt
8816664062 Merge pull request #2136 from eerhardt/UpdateDependencies20160330021008
Updating CoreFX from rc2-23929 to rc2-23930
2016-03-30 18:32:17 -05:00
Pavel Krymets
c8a632bac1 Remove csv deps 2016-03-30 14:39:36 -07:00
Livar Cunha
f9bbdca531 Adding a runtimeconfig.dev.json containing the additionalProbePaths when doing dotnet build. 2016-03-30 12:36:48 -07:00
eerhardt
ea984c50c7 Updating dependencies from last known good builds 2016-03-30 11:49:37 -05:00
Livar Cunha
c1189925df Updating dotnet-test-xunit to the lastest version in hopes that it will fix the inconsistent build break we are seeing in Jenkins and VSO. 2016-03-29 21:50:29 -07:00
eerhardt
7eb9d07fb5 Updating dependencies from last known good builds 2016-03-29 15:59:19 +00:00
Pavel Krymets
e06a479748 Merge pull request #2036 from dotnet/pakrym/portable-cli
Make dotnet cli sdk portable
2016-03-28 20:35:22 -07:00
Pavel Krymets
18436e325e Make dotnet cli portable 2016-03-28 19:16:02 -07:00
Andrew Stanton-Nurse
62b7740c95 add trimming of published output based on sharedfx
Any dependencies which **exactly** match the version requested in the
graph originating at the `type: platform` dependency (if any) are
trimmed from the publish output
2016-03-28 18:50:17 -07:00
eerhardt
cefed77ca9 Updating dependencies from last known good builds 2016-03-28 17:27:54 +00:00
eerhardt
ed887d183a Updating dependencies from last known good builds 2016-03-25 16:48:25 -05:00
Eric Erhardt
1febe48d71 Updating CoreFX version to rc2-23924 2016-03-24 16:05:24 -05:00
Eric Erhardt
a5813791d5 Updating CoreFX version to rc2-23923 2016-03-24 16:04:37 -05:00
Eric Erhardt
3186432ebd Fix up the project.json files for CoreFX build rc2-23922.
- ProjectModel uses AssemblyLoadContext which is only available in netstandard1.5. Moving ProjectModel and all its dependencies up to netstandard1.5.
- Work around our dependencies still being on old CoreFX builds by hoisting System.Runtime.Serialization.Primitives, System.Private.DataContractSerialization, System.Linq.Expressions, and System.Xml.XmlSerializer references to the current version.
2016-03-24 16:03:19 -05:00
eerhardt
9bc478660a Updating dependencies from last known good builds 2016-03-24 16:02:33 -05:00
Sridhar Periyasamy
850e02a1ce Pin down version for xunit.netcore.extensions. 2016-03-23 15:58:50 -07:00
moozzyk
621d8376c3 Fixing publish to create executable with the outputName if specified 2016-03-21 12:42:32 -07:00
Eric Erhardt
964318b291 Revert "Update the .xproj files to reference the "DotNet" targets and props instead of "DNX"."
This reverts commit 4304ca9848.
2016-03-16 11:44:09 -05:00
Eric Erhardt
4304ca9848 Update the .xproj files to reference the "DotNet" targets and props instead of "DNX". 2016-03-15 13:59:00 -05:00
Eric Erhardt
ce3c594880 Removing project.json dependency workarounds that were needed for CoreFX 23901 build. 2016-03-15 12:34:32 -05:00
eerhardt
8953400eee Updating dependencies from last known good builds 2016-03-14 17:58:13 -05:00
Andrew Stanton-Nurse
d08e83d5db add support for portable application layout 2016-03-12 11:52:29 -08:00
Pavel Krymets
9631ba8927 Generate actual deps.json file 2016-03-09 14:11:43 -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
Livar Cunha
6705585a67 Updating test projects to the lastest version of dotnet-test-xunit runner. 2016-03-07 14:55:39 -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
Livar Cunha
4108920510 Updating tests to use the latest version of dotnet-test-xunit, which supports debugging from VS. Also updating our xproj files so that we can build the CLI from VS using the CLI. 2016-03-01 16:28:10 -08:00
Pavel Krymets
62284943fc Add support for reading DepedencyContext from deps file 2016-02-23 18:16:40 -08:00
Sridhar Periyasamy
ab455e6bb9 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx 2016-02-16 09:58:20 -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
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
Sridhar Periyasamy
d7274af53a Address PR Feedback 2016-02-12 16:57:32 -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
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
9695fbfeda Refactor 'publish' and 'build' tests to use the TestFramework 2016-02-11 14:17:20 -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
Eric Erhardt
74d8051f79 Bump CoreFx to rc2-23810 2016-02-10 13:50:28 -06: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
48797ea80a Bump CoreFx to rc2-23808
Workaround for issue 1294

Improve crossgen notifications
2016-02-09 15:49:45 -08:00
Eric Erhardt
3d14caceff Test directory refactoring step 1.
Moving TestProjects and TestPackages under root 'TestAssets' folder.

Partial fix #1250
2016-02-08 20:35:22 -06:00
Eric Erhardt
a7e9ee52c9 Update to .Net Core rc2-23805 2016-02-05 15:53:23 -06:00
Livar Cunha
42222e50a3 Updating to last version of dotnet-test-xunit 2016-02-03 17:09:52 -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
David Fowler
ec10a1d6be Upgrade stdlib and enable crossgen 2016-02-01 20:48:34 -08:00
Bryan Thornbury
7172cea49c add back assert for deps file 2016-01-30 00:21:17 -08:00
Bryan
1a1e755dd2 add back assertion for deps file not existing 2016-01-30 00:21:16 -08:00
Bryan
b8d54e5a0f Fix Binding Redirect Test and other fixes 2016-01-29 17:37:08 -08:00
Pavel Krymets
35d6fc4477 Copy refs only on publish 2016-01-29 10:20:28 -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
PiotrP
e792387d7a Adjust imports to portable45 2016-01-28 10:55:22 -08:00
piotrp
5e72c88104 Rename test projects 2016-01-28 10:53:30 -08:00