Eric Erhardt
f25f047376
Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions.
2016-06-14 03:14:53 -05:00
Livar
9f2bb66198
Merge pull request #3485 from livarcocc/offline
...
Offline feature work
2016-06-12 00:58:26 -07:00
Eric Erhardt
c1c7ca06c2
Update NuGet to 3.5.0-beta2-1480
2016-06-11 12:23:24 -05:00
Eric Erhardt
8e83ccb659
Merge pull request #3518 from eerhardt/UpdateDependencies20160611042958
...
Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
2016-06-11 11:33:21 -05:00
Zlatko Knezevic
79bbfafc51
Fix the project.json for C# library and add tests ( #3507 )
...
* Fix the project.json for C# library and add tests
This commit fixes the bug introduced in project.json for the C# Library
template. It also adds two simple tests for the library template that
drop the class library and then restore and another that also builds.
Fixes #3496
2016-06-11 06:43:56 -07:00
eerhardt
2aa3dd0843
Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
2016-06-11 04:29:58 +00:00
Andrew Stanton-Nurse
762a259e9f
fix #3469 by correcting overflow and enabling tests ( #3471 )
...
* fix #3469 by correcting overflow and enabling tests
* pr feedback
2016-06-10 17:28:23 -07:00
Livar Cunha
105e5ab051
Introducing a in progress sentinel that gets verified before running the first time experience. If we can get a handle for this sentinel, we proceed with the first time run, otherwise, it means there is a first time experience running already, in which case we continue running dotnet normally, even though the final (real) sentinel is not present yet. This prevents multiple dotnet commands from running the first time experience in parallel and prevents us from running into parallel nuget restores.
2016-06-10 16:54:39 -07:00
Livar Cunha
ed7e583ab6
Addressing code review comments and adding a DOTNET_SKIP_FIRST_TIME_EXPERIENCE env variable to have a way to turn off the feature.
2016-06-10 16:54:37 -07:00
Livar Cunha
69f43beccd
Adding the code to extract the archive in the first use of dotnet an
...
d added the first time use welcome text as well as some E2E tests.
2016-06-10 16:54:16 -07:00
Livar Cunha
4c5f097d67
Adding the configurer to dotnet.
2016-06-10 16:54:11 -07:00
Livar Cunha
461c26b78d
Adding a create method to the sentinel and invoking it from the Primer when appropriate.
2016-06-10 16:54:09 -07:00
Livar Cunha
ac2e21452f
Adding a separate abstraction for the NuGet sentinel.
2016-06-10 16:54:06 -07:00
Livar Cunha
84f63029fe
Almost all of the code to prime the NuGet cache from the archive.
...
- Created a Configurer class that is responsible for deciding when to run the dotnet first time use
experience and invoke the NuGetCachePrimer.
- Added the NuGetCachePrimer which extract the archive and primes the cache.
-- This is just missing creating the sentinel once restore succeeds.
- Added a shell for the NugetPackagesArchiver, which will be responsible for expanding the archive (likely
replaced in the future by an abstraction from Eric's code or its implementation will simply call Eric's code).
- Added a TemporaryFolder abstration to Internal Abstractions that handles deleting the temporary folder once
we are done with it.
2016-06-10 16:53:55 -07:00
eerhardt
7b51f28c7f
Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively
2016-06-10 15:05:30 +00:00
Eric Erhardt
ef4a8e85ef
Updating CoreSetup to rc3-004443-00.
2016-06-10 01:09:46 -05:00
eerhardt
cd9bcd40b3
Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively
2016-06-09 21:14:15 -05:00
Zhi Li
9a9864bf68
Update NuGet Version to 3.5.0-beta2-1451
2016-06-09 07:52:00 -05:00
Eric Erhardt
f43aad780c
Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively
2016-06-08 22:56:25 -05:00
Pranav K
a2d4f6fed0
Remove use of Microsoft.Extensions.PlatformAbstractions
2016-06-08 16:28:52 -07:00
Eric Erhardt
d2f1fa0300
Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively.
2016-06-07 18:24:30 -05:00
Jonathan Miller
cff4f37456
Merge pull request #3411 from sokket/json
...
Bumping JSON.NET to 9.0.1
2016-06-07 16:17:00 -07:00
Jonathan Miller
30ba1a1a61
Merge pull request #3413 from sokket/cycle
...
Adding check for self-referencing projects
2016-06-07 16:16:54 -07:00
Jonathan Miller
cdf4407419
Bumping JSON.NET to 9.0.1
2016-06-07 15:04:17 -07:00
Eric Erhardt
2e7c467aad
Merge pull request #3407 from dotnet/dev-ragrawal-updatenuget
...
update nuget to 3.5.0-beta2-1392
2016-06-07 15:50:13 -05:00
Jonathan Miller
dc5fbc1a91
Adding basic cycle detection in the dependency walker
2016-06-07 13:21:13 -07:00
Eric Erhardt
334b079995
Updating CoreSetup, Roslyn, DiaSymReader to rc3-004408, beta1-20160606-02, 1.0.8-rc2-60606-01 respectively.
2016-06-06 18:56:24 -05:00
Andrew Stanton-Nurse
dd51836aac
fix #2289 by integrating EF's version of project load context ( #3402 )
2016-06-06 15:08:46 -07:00
Rohit Agrawal
5378f5a697
update nuget to 3.5.0-beta2-1392
2016-06-06 14:14:20 -07:00
Todd Moscinski
d3b935489f
Fixing schema version number, tweaking a string, and making test call pass a bool instead of a string to enable serviceable.
2016-06-06 11:00:47 -07:00
Todd Moscinski
391675c5b9
Changing schema version to 8 to match NuGet internal value and adding a pack test for the --serviceable option.
2016-06-06 11:00:33 -07:00
Eric Erhardt
42938f180f
Updating CoreSetup to rc3-004406
2016-06-06 11:15:07 -05:00
Josh Free
b422e7fde3
Merge pull request #3393 from eerhardt/UpdateDependencies20160606022451
...
Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively
2016-06-06 08:26:49 -07:00
eerhardt
354b1d38d5
Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively
2016-06-06 14:24:51 +00:00
Troy Dai
7adf70d297
Expand timeout setting for project model server
2016-06-05 20:30:21 -07:00
Eric Erhardt
3e77d1a2d8
Moving TestAsset project from netstandard1.5 to 1.6.
2016-06-04 19:56:42 -05:00
eerhardt
ea8ae8d1c7
Updating CoreFx, CoreSetup to rc3-24204-00, rc3-004400 respectively
2016-06-04 18:32:34 +00:00
Eric Erhardt
4f95bc0010
Update CoreSetup to rc3-004397
2016-06-04 00:00:28 -05:00
Eric Erhardt
8162f89996
Fixing PortableAppWithRuntimeTargetsIsPublishedCorrectly now that libuv is contained in the Shared Framework.
2016-06-03 11:16:52 -05:00
Eric Erhardt
f16f2e64eb
Updating CoreFx, CoreSetup, Roslyn to rc3-24201-00, rc3-004391, beta1-20160602-01
2016-06-03 07:27:42 -05:00
Eric Erhardt
0577337cdc
Merge pull request #3351 from dotnet/preview2
...
Updating CoreSetup to rc3-004373
2016-06-02 15:47:00 -05:00
Eric Erhardt
351255dda1
Updating CoreSetup to rc3-004373
2016-06-02 14:45:00 -05:00
Bryan Thornbury
64508f08ab
fixes #2408 stop using corehost to activate projectdependencycommands
2016-06-02 10:50:38 -07:00
Livar Cunha
7652335195
Addressing code review comments and adding opensuse 13.2
2016-05-31 15:15:57 -07:00
Matt Ellis
29bd8be092
Remove some rids from cross plublish tests
...
Until all the packages are published for these RIDs (which requires the
work in core-setup to land) we can't cross publish for the new distros.
2016-05-31 15:15:57 -07:00
Matt Ellis
3e9a3d2d95
Fix syntax error
2016-05-31 15:15:08 -07:00
Livar Cunha
e634fedae8
Adding Fedora 23
2016-05-31 15:15:08 -07:00
Livar Cunha
84d1b60ffe
Adding docker files, modifying scripts and code to handle ubuntu 16.04
2016-05-31 15:15:08 -07:00
Eric Erhardt
71b5e40060
Merge pull request #3305 from eerhardt/UpdateDependencies20160531082746
...
Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively
2016-05-31 16:45:39 -05:00
Eric Erhardt
b1b7caac3d
Merge pull request #3303 from eerhardt/ReEnableTests
...
Re-enable tests disabled for crossgen enabling
2016-05-31 16:16:05 -05:00
eerhardt
657c03b625
Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively
2016-05-31 20:27:46 +00:00
Eric Erhardt
32b6204fda
Re-enable tests disabled for crossgen enabling
...
Fix #3269
2016-05-31 13:26:39 -05:00
Eric Erhardt
d50068a5e4
Updating CoreFx, CoreSetup to rc3-24128-00, rc3-004338 respectively
2016-05-31 12:55:36 -05:00
eerhardt
a087de2f87
Updating CoreFx, CoreSetup to rc3-24127-01, rc3-004336 respectively
2016-05-28 00:48:49 +00:00
eerhardt
80820a638b
Updating CoreFx, CoreSetup to rc3-24127-00, rc3-004324 respectively
2016-05-27 18:12:45 +00:00
Eric Erhardt
3fd06948fb
Merge pull request #3264 from eerhardt/UpdateDependencies20160527080508
...
Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively
2016-05-27 13:04:01 -05:00
Andrew Stanton-Nurse
d5b1ee138f
Add version suffix to build cache to ensure incremental builds are reset when it changes ( #3246 )
...
* add test for #2687
* fix #2687 by writing version suffix to build cache
2016-05-27 10:49:50 -07:00
Eric Erhardt
63a786b334
Disable tests for crossgen re-enable.
2016-05-27 11:56:27 -05:00
eerhardt
ef76efa02c
Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively
2016-05-27 08:05:08 +00:00
Eric Erhardt
cc178d425f
Update CoreFx, SharedFx to rc3-24126-00, rc3-004312
2016-05-26 13:11:22 -05:00
Piotr Puszkiewicz
b303afb9bb
Remove optimizationdata subdirectory from optimizationdata path ( #3242 )
...
PR #3208 moved optimizationdata to a new root directory called optimizationdata. The leaf-node directory optimizationdata is therefore redundant.
2016-05-25 20:41:10 -07:00
Eric Erhardt
e27ef0f18c
Merge pull request #3230 from dotnet/brthor/host-out
...
Remove host + sharedfx build from CLI Repo
2016-05-25 20:02:44 -05:00
Eric Erhardt
203a9be510
Merge pull request #3229 from billwert/nuget-verbosity
...
Reduce nuget output
2016-05-25 17:16:22 -05:00
Bryan
aa01110c33
Remove The host build, consume the host build from core-setup
2016-05-25 14:49:12 -07:00
Daniel Podder
651e8c2524
perf tests: add fallback feed to dotnet restore ( #3160 )
...
The perf tests use `dotnet restore` to download test dependencies. The
perf tests' project.json may sometimes refer to a version of the
framework that is not yet published, which can cause the restore command
to fail. This change addresses the issue by adding a fallback nuget feed
that contains not-yet-published version of the framework.
2016-05-25 11:26:46 -07:00
Bill Wert
785cab3072
Reduce nuget output
...
This addresses part of #1623 . Unfortunately, because the CLI takes Nuget
as a binary, it is hard to get to where I think we should really be.
This change makes default verbosity "minimal", which is the first level
where you get any status output. Unfortunately, things like package
downgrade warnings and the like still appear there. This does hide all
the "info" and "trace" messages by default.
I also removed the now useless (and previously undocumented)
--quiet.
2016-05-24 21:34:11 -07:00
Livar
fe7b519722
Merge pull request #3215 from eerhardt/netcore-rc3
...
Upgrade to CoreFX rc3
2016-05-24 10:33:59 -07:00
Bryan Thornbury
2feda51952
Merge pull request #3208 from dotnet/brthor/3083
...
change optimization data path
2016-05-24 10:26:24 -07:00
schellap
3953a85a63
Add test for standalone resource dependency
2016-05-23 19:14:46 -07:00
Livar Cunha
a9e12e0336
Updating core packages to rc3-24123-01
2016-05-23 17:19:11 -07:00
Sridhar Periyasamy
0c463c281f
Remove '--infer-runtimes' option for 'dotnet restore' when restoring
...
TestAssets.
2016-05-23 17:04:32 -07:00
Sridhar Periyasamy
a2ef88cf86
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-23 17:04:31 -07:00
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
Pavel Krymets
40a2b495ba
Merge pull request #3204 from dotnet/pakrym/dc-fixes
...
Fix dependency context merge and msbuildproject resolution
2016-05-23 16:29:58 -07:00
Bryan Thornbury
cbc4f58249
change optimization data path
2016-05-23 16:13:30 -07:00
Troy Dai
e93485916b
Eliminate response waiting period ( #3142 )
2016-05-23 14:57:33 -07:00
Pavel Krymets
79a07266c9
Fix dependency context merge and msbuildproject resolution
2016-05-23 12:26:53 -07:00
Eric Erhardt
ed7c79bb48
Merge pull request #3132 from vcsjones/fix-3084
...
Move command line parsing into try/catch for test.
2016-05-20 19:03:32 -05:00
Kevin Jones
f149fe0e47
Test cleanup. Fixes #3084 .
...
Cleanup tests.
2016-05-20 10:45:01 -04:00
Kevin Jones
99d8853ef0
Move command line parsing into try/catch for test.
...
If invalid parameters are specified in `dotnet test`, the CLI does not
catch exceptions that can be thrown such as when specifying `-r` without
a runtime.
Fixes 3084.
2016-05-20 10:00:41 -04:00
Erik Schierboom
81e9b2fe10
Add 'dotnet restore' instruction when lock file is missing
2016-05-20 09:19:05 +02:00
Bill Wert
ed3bd312cf
Fix warnings in project.json
...
PR #2493 introduced the new project.json schema. The tree has 118 files
with the old schema, which added several hundred warnings.
This change can't go in until PR #2864 does - it relies on those bug
fixes.
2016-05-19 11:51:49 -07:00
Eric Erhardt
00eb662107
Merge pull request #3122 from eerhardt/FixCITests
...
Upgrade the "dotnet-test-xunit" version to "1.0.0-rc2-192208-24"
2016-05-19 08:58:53 -05: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
Ajay Bhargav Baaskaran
b6e3224387
[ Fixes #2829 #2861 ] Maintain folder structure in mappings
2016-05-18 17:25:23 -07:00
Pavel Krymets
670dbca45b
Fix bug preventing MakeRunnable on dependent project when using globbing build
2016-05-17 08:22:43 -07:00
Eric Erhardt
eb7054c90d
Merge pull request #3013 from eerhardt/StreamForwarder
...
Console.Write() doesn't show output until a newline
2016-05-13 22:09:55 -05:00
Eric Erhardt
c84f41e749
Use Moq framework instead of a concrete class to mock ICommandFactory in dotnet-run.UnitTests.
2016-05-13 20:24:22 -05:00
Eric Erhardt
ecdb10591c
Project.json schema warnings don't get displayed
...
When building a project.json that has schema warnings (and other warnings), we are not writing the warnings to the console. This is a regression.
The fix is to add all diagnostic messages to the LibraryManager, which is responsible to hold all the diagnostic messages.
Fix 3021
2016-05-13 13:10:39 -05:00
Eric Erhardt
6bf59ffde6
Console.Write() doesn't show output until a newline
...
When running an app with `dotnet run`, we are redirecting the standard out and error just to print it out to our standard out and error. However, we are batching the output until we hit a newline, which isn't ideal for console apps.
To fix this, `dotnet run` no longer redirects the standard out and error.
Fix #2777
2016-05-13 09:03:35 -05:00
Sridhar Periyasamy
a6cc2b07dd
Update nuget version to 3.5.0-rc-1285
...
This is required to update the corefx dependencies from RC2 to RC3. Some
of the corefx libs have 'netstandard1.6' as TFM and this version of Nuget
supports that TFM.
Also the 'VersionRange.IncludePrerelease' has been removed from nuget and by
default 'VersionRange.Satisfies' returns true for any prerelease version.
2016-05-12 21:56:56 -07:00
Pavel Krymets
b8dff69cc1
Revert "Revert "Add performance tests"" ( #2820 )
2016-05-12 10:33:32 -07:00
Eric Erhardt
17175864cf
dotnet crashes with an unresolved 'platform' dependency.
...
Fixed by calling TryGetValue instead of a dictionary indexer when looking up platform dependencies in ProjectContextBuilder.
Fix #2693
2016-05-11 17:32:42 -05:00
Eric Erhardt
eec782a6d1
Merge pull request #2870 from dpodder/perf-test-guide
...
Add README howto for perf tests
2016-05-11 12:57:28 -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
Eric Erhardt
728575bc42
Merge pull request #2981 from eerhardt/FixBuiltInTests
...
Fix BuiltInCommandTests.
2016-05-10 22:22:20 -05:00
Eric Erhardt
d51c920da8
Fix BuiltInCommandTests.
...
I forgot to mock out the environment on one of the builtin command tests.
2016-05-10 18:46:47 -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
Daniel Podder
2be785c253
Add README howto for perf tests
2016-05-10 08:38:07 -07:00
Bryan Thornbury
0336f6bb34
Throw Command Unknown for dependency tools in libraries. ( #2933 )
...
* Throw Command Unknown for dependency tools in libraries.
* Add testProjects to test tools command for libraries.
* update failing tests
* Add tests verifying that dependency tools are not available in libraries
2016-05-08 14:20:34 -07:00
Peter Marcu
e53acd9bba
Merge pull request #2941 from Sridhar-MS/version-suffix
...
Pass the correct version suffix in the build scripts
2016-05-08 11:31:32 -07:00
Sridhar Periyasamy
566a76e5d3
Pass the correct version suffix in the build scripts
2016-05-07 23:23:31 -07:00
Eric Erhardt
a76fea647e
Merge pull request #2930 from eerhardt/MvcNet46
...
dotnet build raises errors MVC apps target net46.
2016-05-06 17:12:25 -05:00
Eric Erhardt
d98c1f8724
dotnet build raises errors MVC apps target net46.
...
The issue is when the ProjectContextBuilder sees a CompileTimePlaceholder "_._" file on a full framework, it assumes that dependency has to come from the "Reference Assemblies" directory. If it can't be found there, an error is raised. However, there are other reasons "_._" placeholders are created (when a NuGet package doesn't want its dependencies to be exposed in the Compile dependencies of its consumers). And these placeholders can exist for assemblies that aren't in the full framework - in this case System.Diagnostics.FileVersionInfo and others.
To fix this, if the reference can't be resolved from the "Reference Assemblies" folder, it is just skipped. If the compiler really needs that assembly, it will raise an error to the user. Dotnet build shouldn't raise the error.
Fix #2906
2016-05-06 14:32:50 -05: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
Eric Erhardt
c0aeb91d61
Merge pull request #2878 from rrelyea/rrelyea/updateNugetVersions
...
Update version number of Nuget binaries to 3.5.0-beta
2016-05-04 18:04:31 -05:00
Eric Erhardt
ece4ae52b2
Merge pull request #2851 from dasMulli/bugfix/schema-upgrade-new-project-template
...
Update dotnet-new templates to new project.json schema
2016-05-04 15:51:17 -05:00
Rob Relyea
804b0eea97
Update version number of Nuget binaries to 3.5.0-beta (now w/o buildnumbers)
2016-05-04 13:14:02 -07:00
Alex Panov
0d6b3c8482
Update NuGet to 3.5.0-beta-1246
2016-05-03 17:34:46 -07:00
Piotr Puszkiewicz
3e96a05f9c
Merge pull request #2781 from dotnet/brthor/2760
...
fixes #2760
2016-05-03 15:15:42 -07:00
Piotr Puszkiewicz
99193a3a91
Merge pull request #2724 from adamgorMSFT/adamgor/telemetry-perf-improvements
...
Improving Telemetry performance
2016-05-03 15:14:58 -07:00
dasMulli
d2cedd318f
Added a test to ensure that C# projects created by dotnet-new are built without warnings.
2016-05-03 23:38:09 +02:00
Piotr Puszkiewicz
69a32cc010
Merge pull request #2653 from dotnet/piotrpMSFT/issue2584/multicoreJIT
...
Piotrp msft/issue2584/multicore jit
2016-05-03 14:15:25 -07:00
Sridhar Periyasamy
3b48b6b4e9
Merge pull request #2560 from Sridhar-MS/crossgen-tests
...
Add crossgen tests
2016-05-03 14:09:55 -07:00
Piotr Puszkiewicz
a2139324f0
Merge pull request #2822 from dotnet/ajbaaska/default-builtin-fix
...
Fix: builtIn defaults are not used when builtIn is not specified
2016-05-03 13:46:38 -07:00
Bryan Thornbury
25335d20fe
PR Feedback
2016-05-03 13:30:59 -07:00
Eric Erhardt
adbf30c192
Fixing GivenThatWeWantToUseDotnetTestE2EInDesignTimeForMultipleTFms to give separate paths to the TestAssetsManager.CreateTestInstance by passing in a callingMethod name.
2016-05-03 15:09:27 -05:00
Sridhar Periyasamy
51b20e89d2
Update xunit references in crossgen.Tests
2016-05-03 11:49:00 -07:00
Piotr Puszkiewicz
9f0dab1a08
PR Feedback
2016-05-03 11:38:55 -07:00
Sridhar Periyasamy
25b1f627c2
Fix 32 bit crossgen tests.
2016-05-03 11:35:17 -07:00
Sridhar Periyasamy
b567bc82c3
Add crossgen tests
...
Simple tests which does static analysis of managed assemblies metadata to
make sure that they are crossgened. Currently it verifies that all the
assemblies in CLI SDK and SharedFx directroty are crossgened.
2016-05-03 11:35:16 -07:00
Bryan
a25e92208e
fixes #2760
...
Verify coreclr absence/presence depending on app type during dotnet build.
2016-05-03 11:34:56 -07:00
PiotrP
44f6642116
Rebase Conflicts
2016-05-03 10:37:29 -07:00
Piotr Puszkiewicz
304434433b
Feature Complete
...
- Add remaining test scenarios
- Refactor implementation
- Add gitignore entry for optimization profiles
2016-05-03 10:36:48 -07:00
Piotr Puszkiewicz
94e620088e
Test Infrastructure Updates
...
Creates a TestDirectory abstraction under TestInstance to manage creation of test-specific working directories
Enables TestAssetManager to create TestDirectory instances
Enables fluent addition of Environment Variables to TestCommand
Adds PathUtility support for ensuring a directory exists
2016-05-03 10:36:05 -07:00
PiotrP
6c1ef959cc
WiP
2016-05-03 10:36:05 -07:00
Pavel Krymets
eb32a40ea2
Deduplicate libraries
2016-05-03 09:54:50 -07:00
Eric Erhardt
4f1dbeba0e
Merge pull request #2769 from eerhardt/FixBuiltInCommandTests
...
Fixing BuiltInCommandTests so it doesn't fail sporatically.
2016-05-03 10:31:52 -05:00
David Fowler
90bc89ed67
Fix placeholder resolution logic
2016-05-03 02:00:12 -07:00
Andrew Stanton-Nurse
08c4aae6a9
trim build dependencies from output
2016-05-02 19:51:12 -07:00
Daniel Podder
afa471cde3
Add script to run and compare CLI perf tests ( #2746 )
...
* Add script to run and compare CLI perf tests
tests/Performance/run-perftests.py is a Python3 script that fetches all
of the dependencies needed to run the perf tests in test/Performance
locally. It can run the perf tests for a single dotnet.exe, or run two
dotnet.exe instances sequentially and compare the results between them.
Basic usage for a single test:
run-perftests.py --name "runid" ...\dotnet.exe
Usage for a comparison run:
run-perftests.py --name "runid" ...\dotnet.exe --base ...\dotnet.exe
For more detailed usage:
run-perftests.py -h
* run-perftests: fix publish xunit.perf.runner.cli
The code that builds xunit-performance would skip publishing
Microsoft.DotNet.xunit.performance.runner.cli due to a bug in the
condition to check whether it was published already or not. To fix the
issue and simplify the logic, I'm making it always publish when
building the project, instead of building and publishing separately.
* run-perftests: add support for python2
* run-perftests.py: fix framework version issue
The perf test harness was failing with "stage 0" binaries due to an issue
finding the correct installed framework version. The fix is to delete the
project.lock.json followed by a dotnet restore before each run, using the
dotnet.exe that is about to be tested. (Kudos to @brianrob for the debugging
help and suggested fix!)
2016-05-02 17:07:10 -07:00
Eric Erhardt
16b996f25b
Fixing the BuiltInCommandTests to not mutate global shared state.
...
The BuiltInCommandTests sets the current Console.Out and Console.Error, which causes the test to fail if some other test is running and writes to the console at the same time.
Fix #2768
2016-05-02 19:02:22 -05:00
Eric Erhardt
9a85205781
Merge pull request #2792 from eerhardt/Relative
...
Execute 'csc' with working directory set to the project directory.
2016-05-02 18:53:57 -05:00
Ajay Bhargav Baaskaran
d6d103262d
Fix: builtIn defaults are not used when builtIn is not specified
2016-05-02 14:21:02 -07:00
Ajay Bhargav Baaskaran
a4487db949
Added missed warnings for deprecated schema
2016-05-02 13:22:42 -07:00
Eric Erhardt
d52ea07934
Fixing dotnet-compile and dotnet-test unit tests. Also, fixing a potential NullRef in ProjectContext.
...
The compile unit test needed to be updated to mock out a new call to ICommand.WorkingDirectory.
The test unit test needed to account for build-base-path getting fully qualified.
2016-05-02 14:39:09 -05:00
Piotr Puszkiewicz
c907d52451
Merge pull request #2809 from eerhardt/UpdateNuGet
...
Updating NuGet references from beta to rc.
2016-05-02 11:40:10 -07:00
Troy Dai
f32683cbab
refactor WorkspaceContext ( #2736 )
...
this removes a regression in ProjectModelServer behavior
also added a test to cover target framework change in DTH
2016-05-02 11:32:24 -07:00
Pavel Krymets
dc249cb94b
Move
efs to shared runtime
2016-05-02 09:36:02 -07:00
Eric Erhardt
9d1d937ced
Updating NuGet references from beta to rc.
2016-05-02 09:29:51 -05:00
Eric Erhardt
f2d917ed2e
Execute 'csc' with working directory set to the project directory.
...
When using a ruleset with a relative path in buildOptions, csc can't
find the file because it is not working in the same directory as the
project.
Fix #2710
2016-05-01 22:46:03 -05:00
Pranav K
2ddd3ca9a0
Updating to latest dotnet-test-xunit
2016-04-30 18:25:11 -07:00
Pranav K
9e768d9cad
Merge pull request #2767 from dotnet/prkrishn/filesystemglobber
...
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 19:57:47 -07:00
Justin Emgarten
69f1bc9937
Merge pull request #2778 from rohit21agrawal/rel/1.0.0
...
Update nuget version to 3.5.0-beta-1233
2016-04-29 19:53:48 -07:00
Pranav K
734c9fc43b
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 17:55:06 -07:00
Pranav K
f8631fa4b7
Merge pull request #2747 from dotnet/prkrishn/remove-platformabstractions
...
Replaces references to Microsoft.Extensions.PlatformAbstractions
2016-04-29 17:54:22 -07:00
Piotr Puszkiewicz
ce3eed0306
Revert "Add performance tests"
2016-04-29 16:35:27 -07:00
Pranav K
1e753f7781
Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal
2016-04-29 16:06:23 -07:00
Rohit Agrawal
e0567e976f
Updating NuGet to version 3.5.0-beta-1233
2016-04-29 15:04:54 -07:00
Pavel Krymets
dfa071de21
Merge pull request #2663 from dotnet/pakrym/perf-tests
...
Add performance tests
2016-04-29 11:18:50 -07:00
Pranav K
944d4e543a
Merge pull request #2732 from dotnet/prkrishn/remove-cycles
...
Remove references to Microsoft.Extensions.Logging
2016-04-29 10:40:24 -07:00
Pavel Krymets
cf6fdc6dac
Merge pull request #2733 from dotnet/anurse/perf-tracing
...
Add performance tracing to dotnet cli
2016-04-29 09:45:48 -07:00
Pavel Krymets
1104e56895
Rebase
2016-04-29 09:09:23 -07:00
Andrew Stanton-Nurse
36e56e9d00
Add performance tracing
2016-04-29 08:16:37 -07:00
Pranav K
54cfe01869
Remove references to Microsoft.Extensions.Logging
2016-04-28 13:07:34 -07:00
Eric Erhardt
38d0c28a1e
Merge pull request #2700 from eerhardt/FixFilePath
...
"dotnet test project.json" fails in a directory with a test project.json in it
2016-04-28 12:32:51 -05:00
Andrew Stanton-Nurse
b98bc1289d
abort build when an unresolved dependency is found ( #2696 )
2016-04-28 10:02:05 -07:00
Pavel Krymets
f8300f8747
Merge pull request #2721 from dotnet/pakry/no-deps-yes-deps
...
Fix --no-dependencies incremental check regression
2016-04-28 08:43:59 -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
Eric Erhardt
a9621eb469
Merge pull request #2717 from eerhardt/Spaces
...
dotnet build fails with xmlDoc = true and spaces in the path.
2016-04-27 20:36:36 -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
9ffa4ad399
Fix --no-dependencies incremental check regression
2016-04-27 15:29:12 -07:00
Eric Erhardt
5c6bf47e10
Address PR feedback.
2016-04-27 17:23:28 -05:00
Eric Erhardt
2ed81240fa
dotnet build fails with xmlDoc = true and spaces in the path.
...
Need to quote the xmlDoc argument to the csc compiler.
Fix #2600
2016-04-27 15:43:12 -05: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
Pavel Krymets
cdb75966eb
Remove test script
2016-04-27 08:41:22 -07:00
Pavel Krymets
0401935d31
Use performance test
2016-04-27 08:41:22 -07:00
Pavel Krymets
366bad99ac
Add performance tests
2016-04-27 08:41:22 -07:00
eerhardt
f8a155a4e6
Updating CoreFx to rc2-24027
2016-04-27 05:41:53 +00:00
Eric Erhardt
5d2da26e74
Adding dotnet run tests for passing arguments to the app.
2016-04-26 19:58:41 -05:00
Brian Robbins
705a48940f
Build-Time Hello World Performance Test ( #2681 )
...
Hello world build performance benchmark.
2016-04-26 17:52:34 -07:00
Eric Erhardt
7dbf525e48
Merge pull request #2680 from eerhardt/CliEncoding
...
dotnet build fails if the directory contains unicode characters
2016-04-26 15:11:44 -05:00
Eric Erhardt
c60abb0d0a
Adding a dotnet run test that outputs unicode characters.
2016-04-26 09:36:26 -05:00
Bryan Thornbury
7a7b524b34
add tests for a test app with unicode characters in the path
2016-04-26 09:36:25 -05:00
Bryan Thornbury
498bd3b40f
remove test skips introduced to workaround #2536
2016-04-25 17:25:21 -07:00
Piotr Puszkiewicz
7e0714d781
Merge pull request #2586 from Sridhar-MS/binding-redirects
...
Generate binding redirects for all executable package dependencies.
2016-04-25 17:04:19 -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
Sridhar Periyasamy
beb27a28fc
Address PR feedback
...
Add new tests to invokde executable dependency via a tool command.
2016-04-25 12:02:07 -07:00
Sridhar Periyasamy
c1fbf18059
Disable test due to issue - https://github.com/dotnet/cli/issues/2632
...
Also fix code where the tests were not getting run.
2016-04-25 11:06:14 -07:00
Sridhar Periyasamy
c82d3cc08d
Add Binding redirects tests
2016-04-25 11:06:13 -07:00
Mihai Codoban
91fb67835d
Merge pull request #2619 from cdmihai/cdmihai/globChangeDetectionRelMerge
...
Cache inputs for globbing change detection
2016-04-25 09:32:24 -07:00
Pranav K
4974df41ee
Merge pull request #2527 from dotnet/prkrishn/run-all-the-tests
...
Modify dotnet-test to run testRunner for all tfms
2016-04-24 21:51:57 -07:00
Pranav K
4e496c3523
Modify dotnet-test to run testRunner for all tfms
...
Fixes #2506
2016-04-22 16:40:03 -07:00
Mihai Codoban
a3b7c85451
Add input caching for glob change detection
2016-04-22 16:05:50 -07:00
Rohit Agrawal
7509e4d175
Update nuget version to 3.5.0-beta-1199
2016-04-22 15:27:00 -07:00
Andrew Stanton-Nurse
ef0ca39da1
Memory usage improvements in build ( #2626 )
...
* Use a WorkspaceContext in dotnet-build to cache project data across
multiple compilations in a single build action
* Dramatically reduce string and object duplication by introducing a
"Symbol Table" that shares instances of NuGetVersion, NuGetFramework,
VersionRange and string across multiple lock-file parses
Test Results:
* Testing was done by compiling Microsoft.AspNetCore.Mvc (and it's
dependencies) and taking memory snapshots after each compilation in
dotMemory
* We used to allocate ~3MB and deallocate ~2.5MB on EACH compilation in
a single build action. This has been reduced to ~120KB
allocated/deallocated
* After introducing WorkspaceContext, total memory usage spiked from 6MB
across the whole build action to about 13MB, introducing the symbol
table dropped it back to about 5-6MB.
2016-04-22 15:01:56 -07:00
Eric Erhardt
e420515c2b
Updating CoreFX to rc2-24022
2016-04-22 10:58:43 -05:00
Eric Erhardt
1a8d393b9b
Merge pull request #2415 from eerhardt/FixTestProjects
...
Fix test project imports to be consistent.
2016-04-22 07:48:23 -05:00
Pawel Kadluczka
deb3367753
Merge pull request #2620 from dotnet/pawelka/tools
...
Fixing ProjectDependenciesCommandFactory to resolve tools
2016-04-21 22:26:58 -07:00
Pavel Krymets
c8fb6c26c3
Fixed netcore50 package based frameworks ( #2630 )
2016-04-21 21:47:20 -07:00
moozzyk
1aac8fb643
Fixing ProjectDependenciesCommandFactory to resolve tools
...
if the package name is different from the dll name
Addresses #2592
2016-04-21 19:15:54 -07: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
David Fowler
4af795b9e8
Fix duplicate dependency issue ( #2597 )
...
* Fix duplicate dependency issue
If a package has the same name as a framework assembly in the dependency
graph, we usually replace it with the framework assembly if the package
provides no assets. If the framework assembly wasn't resolved, it would
skip this logic and end up adding dupes to the list, which blows up later on.
This is a tactical fix to solve the issue, we need to do some more thinking
to determine how we want to resolve conflicts between framework assemblies,
packages and dlls with the same name.
2016-04-21 09:05:55 -07:00
Eric Erhardt
44483ddc98
Remove System.CommandLine dependency.
...
Also removed the dependency on Microsoft.Extensions.CommandLineUtils.Sources NuGet package and instead just checking the source files into our repo as internal classes.
Fix #2526
2016-04-20 18:47:37 -05:00
Eric Erhardt
d06418509d
Merge pull request #2606 from eerhardt/UpdateAspDeps
...
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
2016-04-20 18:37:16 -05:00
Pavel Krymets
88ffa548ba
Merge pull request #2574 from dotnet/pakrym/graph
...
Add multiple input project support
2016-04-20 16:12:23 -07:00
Pavel Krymets
3472aee5c9
Remove native compilation, add multiple project files and globbing
2016-04-20 11:54:16 -07:00
Eric Erhardt
bc619cb9be
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
...
The places where I removed a dependency is because a lower package (InternalAbstrations) was already bringing in that dependency.
Fix #2567
2016-04-20 13:50:34 -05:00
Bryan Thornbury
a202cbef68
Reduce size of test names to fix long path issues on VSO buildds
2016-04-20 10:47:50 -07:00
Bryan
f4f05656a1
Take into account Code Review Feedback
2016-04-19 14:38:24 -07:00
Bryan
56194a8e12
Add a test case for a desktop app using Command.CreateDotnet, expecting to fail
2016-04-19 13:38:37 -07:00
Piotr Puszkiewicz
bc8b0c065f
Merge pull request #2548 from dotnet/piotrpMSFT/issue2499/importDnxcore50
...
import dnxcore50
2016-04-19 13:09:33 -07:00
Piotr Puszkiewicz
c231910e7d
Remove netstandardapp1.5 import
2016-04-19 11:23:16 -07:00
Piotr Puszkiewicz
496ec6b474
dotnet-new template imports dnxcore50. Tests Green.
2016-04-19 11:22:45 -07:00
Piotr Puszkiewicz
d45032c9d7
Unit test added and Red
2016-04-19 11:22:45 -07: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
Andrew Stanton-Nurse
b682ab1d4f
make all packages serviceable by default ( #2575 )
...
fixes https://github.com/dotnet/cli/issues/2569
2016-04-19 08:34:42 -07:00
Bryan Thornbury
08ee6dedd9
Merge pull request #2559 from dotnet/brthor/2512
...
Fixes #2512
2016-04-18 16:33:46 -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
Bryan Thornbury
3fa70112da
Fixes #2512
...
add tests for the projectdependenciescommandfactor
Add a test variation to test overriding the configuration provided in the constructor
update test asset name
2016-04-18 13:47:50 -07:00
Eric Erhardt
c9bee8a64f
Merge pull request #2550 from eerhardt/UpdateDependencies20160418052316
...
Updating CoreFx to rc2-24018
2016-04-18 15:12:57 -05: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
Eric Erhardt
6afc2ca813
Invoke compile-csc in-proc
...
Since processes are expensive, suppress spawning a new process when dotnet-compile is invoking dotnet-compile-csc.
2016-04-16 00:28:57 -05: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
Joel Verhagen
fbe5a23318
Take the latest NuGet build
2016-04-15 12:37:45 -07:00
eerhardt
070650ebac
Updating CoreFx to rc2-24015
2016-04-15 05:25:53 +00:00
Eric Erhardt
880dcf2fc8
Merge pull request #2345 from dotnet/anurse/update-nuget
...
update nuget to 1160
2016-04-13 21:47:26 -05:00
Andrew Stanton-Nurse
71d5738fff
re-restore test projects at their destination
...
since NuGet now stores the relative path to dependent projects in the lock file, projects need to be restored when they are moved
2016-04-13 17:56:51 -07:00
Andrew Stanton-Nurse
2956446864
update nuget to 1160
2016-04-13 17:56:50 -07: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
Pavel Krymets
bde7d72b8f
Merge pull request #2401 from dotnet/pakrym/lib-runtime-config
...
Do not generate and pack runtime config for libraries
2016-04-12 21:01:03 -07:00
Pavel Krymets
f4b1a400f6
Do not generate and pack runtime config for libraries
2016-04-12 19:18:58 -07:00
Pavel Krymets
482f36d26b
Merge pull request #2371 from dotnet/pakrym/low-fat
...
Make desktop publishing "half-portable" by default
2016-04-12 19:13:34 -07:00
Troy Dai
065e8352fc
Merge pull request #2441 from dotnet/troy/2420
...
Send DependencyDiagnostics after Dependencies message
2016-04-12 16:30:27 -07: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
Troy Dai
20c24a0b36
Send DependencyDiagnostics after Dependencies message
2016-04-12 14:32:45 -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
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
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
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
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
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
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
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
Piotr Puszkiewicz
933c63b2d5
Add delay between attempts to contact the server
2016-04-08 03:07:33 -07:00
moozzyk
6a571e5b2a
Enabling creating packages with different names than target libraries
...
Addresses #2322
2016-04-07 16:06:59 -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
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
a1d4641b8e
Merge pull request #2329 from natemcmaster/namc/dep-context
...
Fix bug in dependency context adding assets to wrong groups
2016-04-07 09:57:33 -07:00
Peter Marcu
aa88de1e6c
Merge pull request #2198 from dotnet/Petermarcu-update-netcoreapp
...
Update project.json template to be netcoreapp1.0
2016-04-07 09:07:37 -07:00
Bryan Thornbury
3e903438b3
Merge pull request #2319 from dotnet/brthor/remove-nuget-config
...
Remove NuGet.config from the default dotnet new drop.
2016-04-06 22:35:12 -07:00
Nate McMaster
bfdedfd75c
Fix #2327 - fix bug in dependency context adding assets to wrong groups
2016-04-06 20:35:56 -07:00
Krzysztof Wicher
0fcb3c9079
Fix dotnet run test
2016-04-06 15:37:43 -07:00
Bryan Thornbury
939366165f
Remove NuGet.config from the default dotnet new drop. Patch the tests to cover this gap until corefx is on nuget.org
2016-04-06 14:34:39 -07:00
Sridhar Periyasamy
b772db9b29
Merge pull request #2269 from Sridhar-MS/kestrel-tests2
...
Add kestrel tests.
2016-04-06 14:25:15 -07:00
Sridhar Periyasamy
71680d30aa
Add tests to check the dependency tool load location.
2016-04-06 11:52:48 -07:00
Eric Erhardt
965547bd8a
Merge pull request #2145 from dotnet/lakshanf/issue2066/telemetry
...
Lakshanf/issue2066/telemetry
2016-04-05 19:37:58 -05:00
Livar
95a7d5607f
Merge pull request #2284 from livarcocc/tests_with_same_name
...
Changing the name of two tests that conflict with each other and fail…
2016-04-05 14:43:54 -07:00
Sridhar Periyasamy
91adaa2b8c
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into kestrel-tests2
2016-04-05 14:40:07 -07:00
Sridhar Periyasamy
dbb25d8fb3
Get free port starting from 8001 instead of using TcpListener.
...
Enable kestrel tests to run in parallel.
2016-04-05 14:16:12 -07:00
Eric Erhardt
5e617bbb43
Merge pull request #2283 from eerhardt/NewNuGet
...
Update NuGet to 3.5.0-beta-1130
2016-04-05 15:29:10 -05:00
Livar Cunha
a07c396129
Changing the name of two tests that conflict with each other and fail inconsistently when the tests run in parallel because they stomp on each other.
2016-04-05 12:06:30 -07:00
Eric Erhardt
ed82fd2e66
Update NuGet to 3.5.0-beta-1130
2016-04-05 13:42:16 -05:00
Troy Dai
cb14076b38
Merge pull request #2249 from dotnet/troy/2200
...
Use default version for unresolved MSBuild reference
2016-04-05 09:05:18 -07:00
Pavel Krymets
87ee62c282
Merge pull request #2226 from dotnet/pakrym/no-trim-refs
...
Do not trim refs
2016-04-05 08:55:41 -07:00
Troy Dai
e63c0f82c9
Use default version for unresolved MSBuild reference
2016-04-05 08:32:58 -07:00
Troy Dai
c6eb0fa59a
Add test cover adding MSBuild reference scenario
2016-04-05 08:32:58 -07:00
Troy Dai
16bd0dd10d
Merge pull request #2247 from dotnet/troy/dth.tests
...
Add two tests for project model server
2016-04-05 08:30:55 -07:00
Pavel Krymets
8831bb4a8b
Do not trim refs
2016-04-05 08:06:17 -07:00
Dan Quirk
0d067be964
Use static member
2016-04-04 18:58:22 -07:00
Sridhar Periyasamy
17b7d34bb9
Disable running Kestrel tests in parallel.
2016-04-04 18:45:08 -07:00
Sridhar Periyasamy
8f00b95783
Add kestrel tests.
...
Tests will 'build', 'run', 'publish' and 'execute' a Kestrel Hello World server as a PortableFatApp and as a Standalone app.
2016-04-04 17:57:12 -07:00
Lakshan Fernando
e077b60382
add test dependency
2016-04-04 15:26:06 -07:00
Lakshan Fernando
a506a25c18
using typo
2016-04-04 15:26:06 -07:00
Lakshan Fernando
25745d9d4e
Implemented Telemetry class via an interface for test ease
2016-04-04 15:26:06 -07:00
Peter Marcu
d8858e4d6b
Update project.json template to be netcoreapp1.0
...
It should be time, now that RID inference is off, to update dotnet new to finally use netcoreapp1.0.
2016-04-04 14:43:50 -07:00
Livar Cunha
7b209e5603
Moved ProjectModel to json.net for GlobalSettings and Project.json. Kept LockFileReader using the old API as I don't have the cycles to add the tests for it at the moment.
...
Added unit tests covering parsing of Json for all the pieces of the project.json
Added a RawRuntimeOptions to Project and made Executable deserialize that into the runtimeOptions of runtimeconfig.json
Added tests to cover copying runtimeoptions during dotnet build.
2016-04-04 12:11:27 -07:00
Troy Dai
9cec3e3152
Add two tests for project model server
2016-04-03 19:29:23 -07:00
Justin Emgarten
9c31501deb
Updating nuget to beta-1123
2016-04-01 21:09:05 -07:00
Justin Emgarten
219a0539b0
Updating to NuGet 1105
2016-03-31 18:13:25 -07:00
Troy Dai
9f23b7adf5
Merge branch 'troy/xp' into rel/1.0.0
2016-03-31 17:16:41 -07:00
Troy Dai
32ed90afb2
Add test case for LockFilePatcher under design time
2016-03-31 14:20:52 -07:00
Bryan
0fd81e0a2d
Extract dotnet-compile-fsc into a standalone command
...
Add basic Tests for dotnet-compile-fsc
Package Targets execute before TestTargets. Use Generated Nuget Packages in TestTargets. Generate Nuget packages on all platforms, and in C#
Fix bug in dotnet-restore, change fsharp new template, add support for native assets in DependencyContextCsvReader
copy fsc.exe to temp directory instead of package cache
fix rebase error
fix issue
fixes
fixes
fix
temporarily disable debian package e2e testing
fixes
bump fsc version
update fsc version
fix rebase errors
WIP update fsc tool
WIP, rebased and working again, need to solve issues with System.CommandLine
Working state for packaged, command, fsc.exe bugging out with dlopen(, 1): no suitable image found.
execute fsc like a unpublished standalone app
fixup after rebase
working? internet is out
working
cleanup
More cleanup, and run the debian package tests during the Test phase of the build.
update FSharp Test Projects NetStandard Library Version
Update Version Suffix when packing TestPackages. This will enable packing with the right dependency versions on Windows.
update dotnet-test version
Undo the reordering of the build
fix test package project pathsj
ignore net451 build failures for test packages which we need to build on non-windows
update dependency of desktop test app
add dotnetcli feed to nuget config for fsharp dotnet new
update deps after rebase
update dependency of dotnet-compile-fsc
pass args before commandPath when using muxer for tools
adjust testpackage cleaning not to clean packages which are also generated as part of the product from the nuget cache.
undo
Pass projectJson to pack instead of using WorkingDirectory
fix path separators using depsjsoncommandresolver on windows, fix building only specific frameworks for testpackages on non-windows.
PR Feedback
rebase
overwrite fsc runtimeconfig
2016-03-31 14:01:08 -07:00
Troy Dai
e176c1d3b9
Remove fragment file's involvement in design time scenarios
2016-03-31 13:57:36 -07:00
Pavel Krymets
429eb93cd9
Merge pull request #2160 from dotnet/pakrym/no-arg-net451
...
Pass no additional arguments to net451 app in dotnet run
2016-03-31 11:23:31 -07:00
Pavel Krymets
7e73e5c379
Pass no additional arguments to net451 app
2016-03-31 10:35:42 -07:00
eerhardt
3afd85068a
Updating dependencies from last known good builds
2016-03-31 11:57:21 -05:00
Troy Dai
8a3ddc9c8a
Remove MSBuildProjectPath property
2016-03-30 19:24:43 -07:00
Troy Dai
52cabf9cbf
Remove unnecessary assertion in DthTests
...
The count of file references is different on different platform. It is
not essential to the test since there are assertion to test required
references' existence.
2016-03-30 19:24:43 -07:00
Mihai Codoban
ec5f88e994
Split test in two
2016-03-30 19:24:43 -07:00
Mihai Codoban
45ef209ac4
Patching test does not depend on target library ordering
2016-03-30 19:24:43 -07:00
Troy Dai
a293c438ff
Change variable name in DthTests
2016-03-30 19:24:43 -07:00
Mihai Codoban
0767f13d49
Rename lock file samples
2016-03-30 19:24:43 -07:00
Troy Dai
90baecdd51
Rename BasicCase01 -> ValieCase01
2016-03-30 19:24:43 -07:00
Mihai Codoban
d20e0d74f2
LockFilePatcher should only patch when lock file has holes in it
...
If not, the export file is stale
2016-03-30 19:24:43 -07:00
Troy Dai
385a3d65da
Fix MSBuildReferenceTest
2016-03-30 19:24:43 -07:00
Mihai Codoban
ded82caccd
Publish can skip Build
2016-03-30 19:24:43 -07:00
Mihai Codoban
090336d785
Make pm server tests pass on windows
2016-03-30 19:24:43 -07:00
Troy Dai
e23f08e7ac
Update projectmodel server
...
Reflecting the xproj reference changes in ProjectModel
2016-03-30 19:24:43 -07:00
Mihai Codoban
b2aae7546a
Add lock file patching tests
2016-03-30 19:24:43 -07:00
Pavel Krymets
a21e0ea6b4
Merge pull request #2148 from dotnet/pakrym/remove-inference
...
Remove rid inference
2016-03-30 17:36:45 -07:00
Pavel Krymets
9b9725ac38
Remove rid inference
2016-03-30 16:58:02 -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
dc4bec0307
Merge pull request #2118 from dotnet/pakrym/no-csv-deps
...
Remove csv deps file generation
2016-03-30 16:09:34 -07:00
Pavel Krymets
d3289d916f
Merge pull request #2137 from dotnet/pakrym/redirects
...
Handle duplicated assemblies in binding redirects
2016-03-30 15:35:15 -07: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
Pavel Krymets
e844355d7a
Handle duplicated assemblies in binding redirects
2016-03-30 09:34:31 -07: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
Eric Erhardt
ad5b01d1c2
Merge pull request #2114 from eerhardt/UpdateDependencies20160329035919
...
Updating dependencies from last known good builds
2016-03-29 14:29:14 -05:00
Pavel Krymets
9497ee8f66
Add more overloads for assembly resolution in dependency model
2016-03-29 10:03:25 -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
Andrew Stanton-Nurse
cf193ad301
Merge pull request #2097 from dotnet/anurse/publish-trimming
...
add trimming of published output based on sharedfx
2016-03-28 20:27:01 -07:00
Piotr Puszkiewicz
5572326e0a
Merge pull request #2087 from dotnet/piotrpMSFT/Issue2020/DesktopCommands
...
Enable execution of Target-specific commands
2016-03-28 20:07:09 -07:00
Pavel Krymets
18436e325e
Make dotnet cli portable
2016-03-28 19:16:02 -07:00
Livar
b0e457559d
Merge pull request #1847 from cdmihai/cdmihai/recompileWhenCLIChanged
...
Trigger rebuild when the CLI changed
2016-03-28 19:02:06 -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
Piotr Puszkiewicz
14aa53eeff
Fix build break on Windows
2016-03-28 17:25:52 -07:00
piotrp
a23568b4e5
Fix build break on non-Windows
...
And PR Feedback
2016-03-28 17:25:52 -07:00
piotrp
1a42fa05a4
Add WorkingDirectory to TestCommand
2016-03-28 17:25:52 -07:00
piotrp
60bd88d261
Make test windows-only
2016-03-28 17:25:52 -07:00
piotrp
139911b8b3
Add functional test for dependency commands
2016-03-28 17:25:52 -07:00
piotrp
d85e516c23
Test Infra
2016-03-28 17:25:52 -07:00
eerhardt
cefed77ca9
Updating dependencies from last known good builds
2016-03-28 17:27:54 +00:00
Livar
1ff15e35bc
Merge pull request #2078 from livarcocc/dotnet_test_help
...
Added a Help property to DotnetTestParams that indicates when the par…
2016-03-28 09:31:09 -07:00
Sridhar Periyasamy
4e5fb96a50
Merge pull request #2048 from Sridhar-MS/msi-changes
...
Windows Installer changes
2016-03-27 20:49:46 -07:00
Livar Cunha
d07a1091a8
Added a Help property to DotnetTestParams that indicates when the parsed arguments included the help param. The TestCommand then uses this property of the params to decide whether to continue with the execution or just return. Also added unit tests around this as well as introduced a DotnetTestRunnerFactory to make these unit tests possible and also push the responsibility to figure out which runner to use to the factory.
2016-03-25 20:17:15 -07:00
Sridhar Periyasamy
4186aca998
Make the bundle to be uninstallable and fix MSI tests.
2016-03-25 16:38:35 -07:00
Justin Emgarten
86ee8a561b
Updating nuget to 3.5.0.1083
2016-03-25 16:37:12 -07:00
eerhardt
ed887d183a
Updating dependencies from last known good builds
2016-03-25 16:48:25 -05:00
Livar Cunha
85884c5e9a
Removed the DIA classes and the cod associated with it. Introduced a PdbReaderFactory that decides with PdbReader to use (full or portable). Introduced a PdbReader interface that abstracts the differences between full pdb (Uses ISymUnmanaged classes to read the pdb) and portable pdb (uses Reflection MetadataReader).
2016-03-25 10:58:05 -07:00
Mihai Codoban
f14b4cbd3d
Trigger rebuild when the CLI changed
...
- Stamp each project with the CLI version it was last compiled with
- Rebuild those projects with a local version file that does not match the one of the current CLI that is building it
2016-03-24 15:17:49 -07: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