seancpeters
40c34f891a
Updating the Microsoft.Net.Sdk & Microsoft.Net.Sdk.Web versions ( #4585 )
...
* Updating the Microsoft.Net.Sdk & Microsoft.Net.Sdk.Web versions
* Fixed merge conflicts. Had to re-update the Sdk version in one place.
* re-migrate dotnet.dll
* Revert Performance Test Projects
* Fix test test
* Add missing WithRuntime
* Disable failing test test
2016-11-03 22:12:33 -07:00
Rob Relyea
f961fef8e0
update NuGet in CLI to 4.0.0.2048 ( #4614 )
...
* update NuGet in CLI to 4.0.0.2047
* update NuGet in CLI to 4.0.0.2048
2016-11-03 22:11:44 -07:00
Faizan Ahmad
5c5f593449
Merge branch 'rel/1.0.0' into enablevstest
2016-11-02 23:50:44 +05:30
Faizan Ahmad
111499899d
Reduced the test name to overcome 256 character file length limit in windows
2016-11-02 23:38:20 +05:30
Krzysztof Wicher
d520160ce3
Merge pull request #4554 from krwq/fix_lib_wo_netstandard
...
When Library add reference to NETStandardLib if not present
2016-11-01 16:50:47 -07:00
Krzysztof Wicher
e3bc102b06
When Library add reference to NETStandardLib if not present
2016-11-01 15:52:24 -07:00
Krzysztof Wicher
875e275e38
Revert "When Library add reference to NETStandardLib if not present"
...
This reverts commit 57d79bb2d3
.
2016-11-01 15:45:14 -07:00
Krzysztof Wicher
57d79bb2d3
When Library add reference to NETStandardLib if not present
2016-11-01 15:34:17 -07:00
Livar Cunha
82ff6397f5
Migrating unqualifing references as projects if we find a matching project. Without this, we have project references being migrated as package references.
2016-11-01 14:17:12 -07:00
Faizan Ahmad
dfea5b780f
Nitpick
2016-11-02 01:56:42 +05:30
Faizan Ahmad
0995daf83e
1) Added test to cover xunit scenario
...
2) Added log in multi tfm test to root cause the issue where it is failing for net46
2016-11-02 01:45:44 +05:30
Faizan Ahmad
5c5ce3d336
Enable test verb tests
2016-11-01 22:01:30 +05:30
Faizan Ahmad
1b5497afda
Enale disabled vstest test. It was failing in restore.
...
Going with increamental approach. In this commit i am trying to enable restore. In next commit will enable vstest
2016-11-01 16:18:33 +05:30
Livar Cunha
9139c4006b
Fixing full framework tests
2016-11-01 00:31:21 -07:00
Livar Cunha
c2f60cede4
Updating the SDK to the latest.
2016-11-01 00:29:54 -07:00
Piotr Puszkiewicz
d804502a8a
Remove deprecated test assets ( #4546 )
...
* Remove deprecated test assets
* Add missing nuget configs and fix poorly named test folder
* Test Cleanup
2016-10-31 16:16:07 -07:00
Piotr Puszkiewicz
f53c51fc07
[WiP] enable /m by default ( #4543 )
...
* MSBuild integration project + refactoring
* Feature Complete
* Change default target to an existing one
2016-10-29 12:08:52 -07:00
Piotr Puszkiewicz
5ede3b6367
post migration cleanup ( #4449 )
...
* Create tests
* Basic scenario working & tested
* Feature Complete
* prevent build of intentionally broken test asset
* Update migrate command backup
* PR Feedback
* Move negative test to negative test directory
* Fix tests
* make test output directories unique
* Merge Conflict
* make backup the default behavior
* Pass2Fail
* Remove tests' PJ dependency
2016-10-29 01:58:37 -07:00
Justin Emgarten
f34a870bf7
Merge pull request #4535 from dotnet/emgarten/nuget2037
...
Updating nuget to 4.0.0-rc-2037
2016-10-28 18:12:56 -07:00
Livar
4c321d4148
Merge pull request #4529 from piotrpMSFT/PiotrpMSFT/FixUnicode
...
Remove Unicdoe Path
2016-10-28 17:58:41 -07:00
Justin Emgarten
54cad0b7a6
Updating nuget to 4.0.0-rc-2037
2016-10-28 17:13:29 -07:00
Livar
cbed94dbef
Merge pull request #4517 from livarcocc/promote_project_dependencies
...
Promote project dependencies
2016-10-28 15:17:47 -07:00
Piotr Puszkiewicz
1a43d79b46
Remove Unicdoe Path
2016-10-28 13:40:19 -07:00
Faizan Ahmad
a09690d8df
1) Added diag support
...
2) Added log in test which are failing in windows machine for framework net46
2016-10-28 20:15:38 +05:30
Faizan Ahmad
63a14fd3ab
Merge from rel/1.0.0
2016-10-28 17:56:24 +05:30
Piotr Puszkiewicz
1dc0c57885
Remove duplicate test asset ( #4518 )
2016-10-27 21:57:17 -07:00
Livar Cunha
83350434bc
Adding a E2E test and a indirect dependency to TestAppDependencyGraph.
2016-10-27 20:08:53 -07:00
Livar Cunha
fa6aa749bd
Doing a tree traversal of all dependencies and creating a list that is then added to the project dependencies of the project.
2016-10-27 20:08:53 -07:00
Piotr Puszkiewicz
6fcbefa4f7
[WIP] Removes *3 verbs, making msbuild the driver ( #4456 )
...
Removes *3 verbs, making msbuild the driver
2016-10-27 18:46:43 -07:00
Livar
53dc665e9b
Merge pull request #4505 from livarcocc/assembly_info_migration
...
Assembly info migration
2016-10-26 17:00:22 -07:00
Justin Goshi
68afda8e4d
Handle "runtimes" section ( #4503 )
...
* Migrate "runtimes" section as a RuntimeIdentifiers property in the resulting csproj file. Also do not call restore3 from publish3 anymore.
* Fix up the publish3 tests to call restore3 first and the csproj files to have RuntimeIdentifiers
2016-10-26 22:23:40 +00:00
Livar Cunha
f863630fd8
Adding a rule that turns off assembly info generation for attributes already defined when migrating.
2016-10-26 13:55:15 -07:00
Faizan Ahmad
d6f4f5f606
Update the version of Microsoft.NET.Sdk in test project
2016-10-26 23:46:56 +05:30
Faizan Ahmad
c7200f1599
Merge branch 'rel/1.0.0' into test3formultipletfm
2016-10-26 23:42:53 +05:30
Livar
4aa1c1bfb4
Merge pull request #4499 from eerhardt/FixRun3Project
...
Fix dotnet run3 --project to pass the project to msbuild.
2016-10-26 10:57:06 -07:00
Faizan Ahmad
679ea57acf
Merge branch 'rel/1.0.0' into test3formultipletfm
2016-10-26 21:46:55 +05:30
Faizan Ahmad
aea25b1fc5
Addressed PR comment
2016-10-26 16:53:34 +05:30
Livar
8befd890d8
Merge pull request #4494 from livarcocc/migrate_target_package
...
When determining the P2P dependencies, only use dependencies of type project
2016-10-25 22:25:28 -07:00
Eric Erhardt
33ec55aee3
Fix dotnet run3 --project to pass the project to msbuild.
...
Also update Microsoft.NET.Sdk to 1.0.0-alpha-20161026-2 since this has the corresponding fix needed for https://github.com/dotnet/sdk/issues/301 .
2016-10-26 00:04:40 -05:00
Livar Cunha
175eaeb5c1
When determining the P2P dependencies, only use dependencies of type project. This prevents us from migrating a package dependency as a project dependency because of a project with the same name being present.
2016-10-25 13:09:06 -07:00
Faizan Ahmad
33caa408a1
1) Added support to run test from test3 verb for the project targeting multiple TFM
...
2) Added test to address above change
3) Crossgen were creating problem for full CLR built assemblies. Removed All those assembly from Crossgen list.
4) Removed the line of code which were deleting Extensions folder under sdk folder as this folder contain trx logger dlls
2016-10-25 20:10:18 +05:30
Livar
2cc007520d
Merge pull request #4479 from livarcocc/projectdependencies_full_framework
...
Making OutputPathCommandResolver work with MSBuild.
2016-10-24 16:18:15 -07:00
Livar Cunha
d61ebd3087
Making OutputPathCommandResolver work with MSBuild.
2016-10-24 12:41:27 -07:00
Livar Cunha
be419e3b70
Fixing project dependencies migration so that they are only conditioned when they where under a TFM in the project.json to begin with.
2016-10-21 18:00:17 -07:00
Bryan Thornbury
eeb4ec52bd
remove desktop from multi target test asset
2016-10-20 17:39:51 -07:00
Bryan Thornbury
16ff3734a3
fix the multi tfm test to not build net20
2016-10-20 15:33:47 -07:00
Bryan Thornbury
481aebd18a
turn on the web test
2016-10-20 15:04:53 -07:00
Livar Cunha
368d7a19af
Updating the SDK version to the latest.
2016-10-19 16:21:54 -07:00
Livar Cunha
e2e72a9662
Updating the msbuild templates in the CLI to use TargetFramework (singular).
2016-10-18 15:02:35 -07:00
Eric Erhardt
469f7be5c3
Add test for dotnet run with multiple frameworks.
2016-10-17 21:03:08 -05:00
Justin Goshi
71666cc9b5
Auto add referenced assemblies for desktop migration
...
* https://github.com/dotnet/cli/issues/4351
Auto add referenced assemblies for desktop migration. Adds the same ones
that the build for project.json does.
* Address PR comments
* Address CR comments
* Address CR comment
Use .ToList() instead of new List
* Fix a build break
Needed .noautobuild file in my test asset project
* Change the migrate test for desktop framework to windows only
* Reducing to 120 characters per line
2016-10-18 01:02:10 +00:00
Livar Cunha
391d04c67a
Adding net46 to some of our libraries back, so that we can run binding-redirect tests again. We need those tests for tool and we need to keep them running.
2016-10-16 18:44:07 -07:00
Livar Cunha
d8a10024e5
Addressing code review comments by removing unnecessary test artifacts.
2016-10-14 12:56:18 -07:00
Livar Cunha
d779ab3e3f
Fixing the tool used in the test that I changed when trying things out and fixing the code that sets environment variables in the command to check if the environment variable already exists before adding it.
2016-10-14 12:56:18 -07:00
Livar Cunha
318c9f3e44
Making ProjectDependenciesCommandResolver handle msbuild projects as well by using the ProjectFactory and IProject.
...
Moving the CommandResolution classes that depend on msbuild back into Cli.Utils.
Updating the src projects to a netstandard compatible with Cli.Utils moving to netstandard1.5
2016-10-14 12:56:18 -07:00
Piotr Puszkiewicz
02a19aff56
dotnet-new csproj templates ( #4382 )
...
Make csproj templates first-class in dotnet-new.
2016-10-14 00:06:35 -07:00
Faizan Ahmad
391fff1f20
Merge branch 'rel/1.0.0' into clitest3verb
2016-10-12 11:57:46 +05:30
Eric Erhardt
b5329995d8
Merge branch 'rel'
2016-10-11 17:01:33 -05:00
Eric Erhardt
00f543d089
Fix dotnet-tests to run tests on net46, since we only support netstandard1.3 in ProjectModel.
2016-10-11 16:59:58 -05:00
Eric Erhardt
7618cce420
Remove GivenADesktopAppWhichUsesCommandCreateDotnet, since Cli.Utils will only support netstandard1.5 going forward.
2016-10-11 16:16:44 -05:00
Eric Erhardt
38753d42b0
Fix the tests for targeting netstandard1.3.
2016-10-11 16:01:03 -05:00
Eric Erhardt
633b56e448
Update Microsoft.NETCore.Sdk => Microsoft.NET.Sdk.
2016-10-10 14:04:30 -05:00
Faizan Ahmad
23af21d7bb
Merge with rel/1.0.0
2016-10-10 15:29:35 +05:30
Livar Cunha
06aa54d16c
Fixing a test.
2016-10-06 19:29:20 -07:00
Livar Cunha
167470b1c9
Updating the SDK version, which we need to pick up the NuGetTargetMoniker fix.
2016-10-06 18:31:15 -07:00
Rohit Agrawal
28bd507f40
update nuget and sdk to 3.6.0-rc-1954 and 1.0.0-alpha-20161006-3 ( #4332 )
2016-10-06 09:35:58 -07:00
Faizan Ahmad
3f271e1215
Merge branch 'rel/1.0.0' into clitest3verb
2016-10-06 17:50:59 +05:30
Sridhar Periyasamy
1d85c241b1
Add support to migrate folders specified in global.json
2016-10-05 16:27:17 -07:00
Sridhar Periyasamy
a396630576
Fix P2P migration
...
Fixes #4269 by deep cloning the MsbuildTemplateProject for each P2P reference. Add test which migrates and builds P2P references.
2016-10-05 16:25:28 -07:00
Livar Cunha
bfc1f82d68
Fixing the tools item name in csproj. Nuget used a different one then was originally at the spec.
2016-10-05 15:27:30 -07:00
Livar
7a0dff8a96
Merge pull request #4300 from livarcocc/support_for_toolsref
...
Support for toolsref
2016-10-05 13:18:12 -07:00
Livar Cunha
1570e0fde4
Moving the ProjectToolsCommandResolver to dotnet out of Cli.Utils because of the dependency on Microsoft.Build. Also added a EndToEnd test for tools ref using the MSBuildTestApp.
2016-10-04 18:59:44 -07:00
Bryan Thornbury
49637d0fe9
pr feedback
2016-10-04 16:37:23 -07:00
Bryan Thornbury
46b16d2de0
fix signing migration
2016-10-04 16:06:45 -07:00
Bryan Thornbury
adff632929
green
2016-10-03 20:10:09 -07:00
Faizan Ahmad
b240b855c1
Update the new version of Microsoft.TestPlatform.cli which has fix related to testAdapterPath.
...
Updated the test project to reflect the same.
2016-10-04 00:17:35 +05:30
Livar Cunha
5f3da6428d
Testing out a theory that setting the output path will solve this problem.
2016-09-30 15:52:22 -07:00
Livar Cunha
27b5abfc36
Trying out with the latest SDK.
2016-09-30 12:03:03 -07:00
Livar Cunha
4173d19b3c
Pinning the SDK version for migrated apps.
2016-09-30 09:27:16 -07:00
Livar Cunha
29b197534c
Updating to a new SDK and adding a work around to set project.lock.json for migrated projects.
2016-09-30 09:27:15 -07:00
Livar Cunha
715f1f6a10
Addressing code review comments.
2016-09-30 09:27:15 -07:00
Livar Cunha
c41b35f06f
Updating tests to reflect msbuild projects running without project.json.
2016-09-30 09:25:11 -07:00
Livar Cunha
2bbef9328b
Removing project.json from msbuild template and msbuild test app.
2016-09-30 09:25:11 -07:00
Sridhar Periyasamy
a50708ac5c
Address PR feedback
2016-09-28 09:00:15 -07:00
Eric Erhardt
5434c7f392
Merge pull request #4237 from eerhardt/PublishCommand
...
Add `dotnet publish3` command
2016-09-26 11:51:19 -05:00
Sridhar Periyasamy
ec7aa87576
Add xproj tests to test migrate command.
2016-09-23 17:33:35 -07:00
Sridhar Periyasamy
46ab621422
Migrate P2P references
...
- Given a project migrate all the project references recursively.
- Add a boolean option '--skip-project-references' to skip migrating P2P references. By default P2P references are migrated.
- Remove the '--output' since it is not used heavily and makes migrating multiple projects easier.
- Add tests
2016-09-23 14:25:57 -07:00
Eric Erhardt
66fbd6f278
Update Microsoft.NETCore.Sdk to 1.0.0-alpha-20160923-4.
2016-09-23 16:14:03 -05:00
Livar Cunha
2ffe5233bd
Removed the roslyn-master-nightly feed. Web hook is being set there. For now, pushed the dependencies by hand to cli-deps. Also updated to a new package from Roslyn with a fix to a NRE that was happening on windows.
2016-09-23 10:16:44 -07:00
Livar Cunha
85d6f3ccce
Updating csc to 2.0.0-beta and replace Microsoft.Net.Compilers.Targets.NetCore package with Microsoft.CodeAnalysis.Build.Tasks
2016-09-23 10:16:44 -07:00
Eric Erhardt
d4f6144355
Update Microsoft.NETCore.Sdk to 1.0.0-alpha-20160921-4.
2016-09-23 12:12:55 -05:00
Eric Erhardt
5cfe3e9ff5
Merge pull request #4229 from eerhardt/NewCommands
...
Create a `dotnet msbuild` command and fill out the applicable command line arguments to `dotnet build3`.
2016-09-23 09:05:01 -05:00
Eric Erhardt
5bd310bbd5
Add dotnet msbuild
tests.
2016-09-22 15:56:36 -05:00
Bryan Thornbury
362f71a94a
Project Json mapping migration support
2016-09-20 21:18:11 -07:00
Bryan Thornbury
3a567e5957
Merge pull request #4185 from brthor/brthor/migrate-x-targetting
...
Migration X-Targeting
2016-09-19 16:01:04 -07:00
Bryan Thornbury
67f292947d
try again
2016-09-19 11:11:01 -07:00
Faizan2304
0ce597a147
Implemented vstest verb which will run the test from given container. ( #4115 )
...
* Implemented vstest verb which will run the test from given container.
* Fixed Nitpick.
* 1) Addressed PR comment
2) Added tests for vstest verb
* Using specific version of Microsoft.TestPlatform.
* Address PR comments.
Modified help text for the vstest command.
Removed unused function.
* Fixed package related issue.
--Taking reference of microsoft.testplatform.cli nuget package which has contentFolder in it so that sub folder of this nuget can also be added in cli package.
-- Removing vstest.console, vshost and datacollector from Bundletools as we dont want *.deps.json to be override
* Nitpick
* Making vstest.console arguments compatible for non windows platform
* Fix tests to run on linux machine
* Updated the microsoft.testplatform.cli nuget package version. This version has fix related to non windows machine.
* changed dapter path from bin/debug to bin/Debug
* updated nuget version of package Microsoft.TestPlatform.CLI.
* Revert "updated nuget version of package Microsoft.TestPlatform.CLI."
This reverts commit bcc26c21d11c2bd2e5259a74f9890b0fd75962c7.
* Updated version of nuget package Microsoft.TestPlatform.CLI
Added Test project in solution file
* Addressed PR comment.
* Removed unnecessary --platform argument from test
2016-09-19 10:59:26 -07:00
Bryan Thornbury
f295e16732
fix Script tests:
2016-09-16 16:12:11 -07:00
Eric Erhardt
f9953c1e68
Update Microsoft.NETCore.Sdk to 1.0.0-alpha-20160914-1.
2016-09-14 14:55:17 -05:00
Rohit Agrawal
194a850c71
update nuget and sdk to include msbuild pack target
2016-09-12 17:10:31 -07:00
Eric Erhardt
f084032af6
Ensure the project is built in dotnet run3
.
2016-09-09 08:53:57 -05:00
Eric Erhardt
ab8e1b707b
Merge pull request #4143 from eerhardt/NewSDK
...
Update Microsoft.NETCore.Sdk to 1.0.0-alpha-20160907-1
2016-09-07 15:44:23 -05:00
Eric Erhardt
8000c98103
Update Microsoft.NETCore.Sdk to 1.0.0-alpha-20160907-1
2016-09-07 14:49:18 -05:00
Livar Cunha
1767385aa1
Updating versions in a few places that did not exist in the preview2 branch.
2016-09-02 15:01:59 -07:00
Livar Cunha
27bc1c4f91
Merge branch 'rel/1.0.0-preview2' into merge_preview2_to_rel100
...
* rel/1.0.0-preview2:
Update versions of EF and scaffolding tools
Update Kestrel to 1.0.1
Update version of routing to 1.0.1
Add missing comma to F# lib project.json
Update cshtml wildcard in publishOptions
Don't print arguments in F# console app
Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
Update MVC version to 1.0.1
Upgrade Corefx and coreclr references
fix typo in dotnet-install file
Remove the VS2012 CRT dependency from docs (#3632 )
Fix README to use hostfxr download links (#3622 )
Fix Oracle Linux version in README.md
Use NugetCache Sentinel for Telemetry setting.
Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.
Remove showing firsttime eula for non verbs.
Adding Oracle Linux and Linux Mint to the titles
Moving Ubuntu 16.04 to be next to Ubuntu 14.04
Update README.md
2016-09-02 14:53:16 -07:00
Joel Verhagen
3619b7d767
Set the "hashPath" when building the .deps.json file
...
Update Microsoft.Extensions.DependencyModel to 1.0.1-beta-000933
Update Microsoft.DotNet.PlatformAbstraction to 1.0.1-beta-000933
Update NuGet to 3.6.0-beta.1.msbuild.4
Update dotnet-test-xunit to 1.0.0-rc2-350904-49
2016-09-02 10:02:54 -07:00
Eric Erhardt
0e4044b8bd
Update Microsoft.NETCore.Sdk to 1.0.0-alpha-20160831-1
2016-09-01 11:08:34 -05:00
Sridhar Periyasamy
8fcfc2af05
Upgrade Corefx and coreclr references
...
Microsoft.NetCore.App 1.0.0 => 1.0.1
Microsoft.NETCore.Runtime.CoreCLR 1.0.2 => 1.0.4
CLI Branding "Microsoft .NET Core 1.0.0 - SDK Preview" => "Microsoft .NET Core 1.0.1 - SDK 1.0.0 Preview 2-003122"
List of changes
- all project.jsons
- dotnet new templates
- and build projects files
- shared-build-targets-utils\DependencyVersions.cs
- CliDependencyVersions.cs
2016-08-31 10:41:47 -07:00
Bryan Thornbury
b0554d3ff3
PR Feedback
2016-08-30 12:00:56 -07:00
Bryan Thornbury
47cf8fbda6
Additional TestAssets
2016-08-30 12:00:11 -07:00
Bryan Thornbury
b900f0b327
Solution and project cleanup
2016-08-30 12:00:08 -07:00
Eric Erhardt
a543050c62
Update the Sdk version to the latest build.
2016-08-23 13:44:07 -05:00
Joel Verhagen
aacc30d5d8
Add "path" property the .deps.json file for libraries
...
Update DependencyModel and PlatformAbstractions packages to 1.0.1-beta-000917
Update dotnet-test-xunit to 1.0.0-rc2-330423-54
2016-08-18 15:57:03 -07:00
Piotr Puszkiewicz
3194ec1c3a
Shorten test asset names
2016-08-18 13:36:36 -07:00
Livar Cunha
90232486e5
Updating System.Reflection.Metadata to a newer version in some projects that I forgot to do so before.
2016-08-18 11:55:27 -07:00
Eric Erhardt
6cf2167992
Update the CLI to use the new Core SDK nuget package.
...
No need for build3 to set Platform properties and BaseNuGetRuntimeIdentifier. The SDK handles that.
Also, no need to set "runtimes" any more in the default project.json.
2016-08-11 12:05:28 -05:00
Livar Cunha
7b94fa7df2
Updating the xunit version to match the new version of dotnet-test-xunit.
2016-08-10 13:40:27 -07:00
Livar Cunha
dc7f1fdf84
Updating the xunit version to one that does not depend on internalabstractions.
2016-08-10 13:40:13 -07:00
Livar Cunha
b7b90175f4
Removing the public types from InternalAbstractions.
2016-08-10 13:39:49 -07:00
Livar Cunha
e900e23544
Updating dependencies to use the new dependencymodel and platformabstractions. Also updated the xunit template to add internalabstractions.
...
Conflicts:
src/Microsoft.DotNet.Cli.Utils/project.json
test/dotnet-build.Tests/BuildOutputTests.cs
2016-08-10 13:39:49 -07:00
Livar Cunha
ee1474c161
Removing dependency model from CLI repo.
...
Conflicts:
Microsoft.DotNet.Cli.sln
build_projects/dotnet-cli-build/PackageTargets.cs
build_projects/dotnet-cli-build/TestPackageProjects.cs
build_projects/dotnet-cli-build/TestTargets.cs
src/Microsoft.Extensions.DependencyModel/CompilationLibrary.cs
src/Microsoft.Extensions.DependencyModel/DependencyContext.cs
src/Microsoft.Extensions.DependencyModel/DependencyContextLoader.cs
src/Microsoft.Extensions.DependencyModel/DependencyContextPaths.cs
src/Microsoft.Extensions.DependencyModel/DependencyContextWriter.cs
src/Microsoft.Extensions.DependencyModel/Resolution/AppBaseCompilationAssemblyResolver.cs
src/Microsoft.Extensions.DependencyModel/Resolution/PackageCacheCompilationAssemblyResolver.cs
src/Microsoft.Extensions.DependencyModel/Resolution/ResolverUtils.cs
src/Microsoft.Extensions.DependencyModel/project.json
test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonWriterTests.cs
test/Microsoft.Extensions.DependencyModel.Tests/FunctionalTests.cs
test/Microsoft.Extensions.DependencyModel.Tests/PackageCacheResolverTest.cs
test/Microsoft.Extensions.DependencyModel.Tests/PackageResolverTest.cs
2016-08-10 13:39:49 -07:00
Eric Erhardt
a48def9ade
Fix package code for new NuGet.
...
The new NuGet uses tolower paths, and we need to react to it.
Port https://github.com/dotnet/cli/pull/2722
Port https://github.com/dotnet/cli/pull/3554
2016-07-26 20:53:20 -05:00
Eric Erhardt
e908ffec91
Fix build3 tests.
2016-07-21 18:29:35 -05:00
Eric Erhardt
72c59c4d05
Add test for MSBuild End to End.
2016-07-21 16:02:57 -05:00
Eric Erhardt
0eeb58f4eb
Clean up the temporary TestAsset changes.
2016-07-21 12:23:51 -05:00
Eric Erhardt
b068687413
Implement 'run3' command which will execute the MSBuild project.
...
Also create a 'dotnet new -t msbuild' template.
2016-07-21 11:57:20 -05:00
Eric Erhardt
30712966cc
Prototype round #1 of .NET Core MSBuild .props and .targets.
2016-07-21 11:57:18 -05:00
Eric Erhardt
d2db776d87
Merge rel/1.0.0 into feature/msbuild.
2016-07-18 14:44:06 -05:00
Ajay Bhargav Baaskaran
dbf7435c3c
[ Fixes #3502 ] Fix: publishOptions: [...] not respected
2016-07-13 15:09:22 -07:00
Ajay Bhargav Baaskaran
c748c81a4a
[ Fixes #3856 ] Allow mapping of the same file to multiple target paths
2016-07-13 14:56:22 -07:00
PiotrP
5ed1371cd9
Remove Project Model Server
2016-06-30 14:31:08 -07:00
Bryan Thornbury
400e1db3b9
dotnet-build3 Adding msbuild execution command to cli
2016-06-23 13:57:33 -07:00
Troy Dai
b3f67b5bef
Update parameter names
2016-06-15 23:25:06 -07:00
Troy Dai
3c91f436c4
Update test project
2016-06-15 23:24:03 -07:00
Bryan Thornbury
9e97d0400c
dotnet-compile-fsc bump to latest
2016-06-14 03:31:22 -07:00
Bryan Thornbury
9b1415d860
Update FSharp Test Assets to preview2
2016-06-14 02:19:32 -07:00
Eric Erhardt
f25f047376
Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions.
2016-06-14 03:14:53 -05: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
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
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
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
30ba1a1a61
Merge pull request #3413 from sokket/cycle
...
Adding check for self-referencing projects
2016-06-07 16:16:54 -07: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
Eric Erhardt
42938f180f
Updating CoreSetup to rc3-004406
2016-06-06 11:15:07 -05:00
eerhardt
354b1d38d5
Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively
2016-06-06 14:24:51 +00: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
9ffe91f367
Move dependency from Microsoft.NETCore.Runtime to Microsoft.NETCore.Runtime.CoreCLR.
2016-06-03 16:35:00 -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
351255dda1
Updating CoreSetup to rc3-004373
2016-06-02 14:45:00 -05:00
Livar Cunha
5c1f20b6e8
Adding the new OSes RIDs to a couple of test projects that were missed before.
2016-05-31 17:13:17 -07:00
Livar Cunha
7652335195
Addressing code review comments and adding opensuse 13.2
2016-05-31 15:15:57 -07:00
Livar Cunha
7963018d3d
Small changes that I noticed when diffing the files
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
eerhardt
657c03b625
Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively
2016-05-31 20:27:46 +00:00
Eric Erhardt
d50068a5e4
Updating CoreFx, CoreSetup to rc3-24128-00, rc3-004338 respectively
2016-05-31 12:55:36 -05:00
Eric Erhardt
fad7477ea5
Microsoft.NETCore.App no longer supports netstandard
...
Any project that references Microsoft.NETCore.App must target netcoreapp1.0.
Moving app projects to netcoreapp1.0; moving library projects to reference NETStandard.Library.
2016-05-31 09:54:28 -05:00
eerhardt
a087de2f87
Updating CoreFx, CoreSetup to rc3-24127-01, rc3-004336 respectively
2016-05-28 00:48:49 +00:00
Pavel Krymets
0f573ed04b
Merge pull request #3256 from dotnet/pakrym/filter-fullcrl-deps
...
Filter build dependencies from fullclr embedded deps file
2016-05-27 14:53:17 -07:00
eerhardt
80820a638b
Updating CoreFx, CoreSetup to rc3-24127-00, rc3-004324 respectively
2016-05-27 18:12:45 +00:00
eerhardt
ef76efa02c
Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively
2016-05-27 08:05:08 +00:00
Pavel Krymets
928283d531
Filter build dependencies from fullclr embedded deps file
2016-05-26 14:27:51 -07:00
Eric Erhardt
08a3ffe3aa
Move to netstandard1.6
...
This is needed because DependencyModel uses the AppContext.GetData API, which is only available in netstandard1.6 as of CoreFX build rc3-24126.
2016-05-26 15:42:30 -05:00
Eric Erhardt
369ec935c7
Update Roslyn to beta1-20160525-03.
2016-05-26 13:13:24 -05:00
Eric Erhardt
cc178d425f
Update CoreFx, SharedFx to rc3-24126-00, rc3-004312
2016-05-26 13:11:22 -05:00
Eric Erhardt
c97648e684
Add support to update-dependencies to not update the dependencies in a folder.
...
Folders can opt-in to not getting their dependencies updated by placing a '.noautoupdate' file in the folder of their project.json.
2016-05-25 22:05:06 -05:00
Bryan
aa01110c33
Remove The host build, consume the host build from core-setup
2016-05-25 14:49:12 -07:00
Livar
fe7b519722
Merge pull request #3215 from eerhardt/netcore-rc3
...
Upgrade to CoreFX rc3
2016-05-24 10:33:59 -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
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
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
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
Pavel Krymets
670dbca45b
Fix bug preventing MakeRunnable on dependent project when using globbing build
2016-05-17 08:22:43 -07: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
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
Sridhar Periyasamy
aa94c51271
Drop the 'preview2' suffix in test package projects.
2016-05-10 14:51:56 -07: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
Piotr Puszkiewicz
1033e61d57
preview1 --> preview2
...
Moves CLI version suffix from preview1 to preview2
Sets channel for preview2 to 1.0.0-preview2, abandoning the Beta channel to the 1.0.0-preview1 release. Once @sokket's publishing cleanup work is complete we can re-converge the channels if desired.
2016-05-09 02:41:11 -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
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
abc155e273
make versions consistent for PackCommand, add back * to test packages, remove --version-suffix from publish
2016-05-05 11:06:02 -07:00
Bryan
94840de4e1
fixup all references to the right version suffixes
2016-05-05 11:05:59 -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
Piotr Puszkiewicz
3e96a05f9c
Merge pull request #2781 from dotnet/brthor/2760
...
fixes #2760
2016-05-03 15:15:42 -07:00
Eric Erhardt
58fa6721b8
Merge pull request #2842 from eerhardt/UpdateRoslyn
...
Update Roslyn to 1.3.0-beta1-20160429-01
2016-05-03 15:57:33 -05: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
Bryan
a25e92208e
fixes #2760
...
Verify coreclr absence/presence depending on app type during dotnet build.
2016-05-03 11:34:56 -07:00
Eric Erhardt
ff06227e50
Update Roslyn to 1.3.0-beta1-20160429-01
2016-05-03 13:21:26 -05:00
Pavel Krymets
eb32a40ea2
Deduplicate libraries
2016-05-03 09:54:50 -07:00
Andrew Stanton-Nurse
08c4aae6a9
trim build dependencies from output
2016-05-02 19:51:12 -07: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
Pavel Krymets
dc249cb94b
Move
efs to shared runtime
2016-05-02 09:36:02 -07: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
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
Pavel Krymets
dfa071de21
Merge pull request #2663 from dotnet/pakrym/perf-tests
...
Add performance tests
2016-04-29 11:18:50 -07:00
Pavel Krymets
1104e56895
Rebase
2016-04-29 09:09:23 -07:00
Andrew Stanton-Nurse
b98bc1289d
abort build when an unresolved dependency is found ( #2696 )
2016-04-28 10:02:05 -07: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
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
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
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
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
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
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
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
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
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
Andrew Stanton-Nurse
7c688eea7f
fix framework assembly resolution for net35 ( #2557 )
2016-04-20 11:54:42 -07:00
Bryan Thornbury
ef0c3b2cee
Merge pull request #2580 from dotnet/brthor/2566
...
Fix Using Command.Create from a Desktop Application
2016-04-19 15:37:45 -07:00
Andrew Stanton-Nurse
a46be549d4
fix build numbers in ResourcesTests ( #2539 )
2016-04-19 14:58:45 -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
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
eerhardt
eb4952df27
Updating CoreFx to rc2-24018
2016-04-18 05:23:16 +00:00
Piotr Puszkiewicz
859a2220f1
Merge pull request #2472 from MichaelSimons/debianbuild
...
Add support for Debian CLI builds
2016-04-15 16:02:23 -07: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
MichaelSimons
08d3b41f8d
Updates per code review
2016-04-13 16:46:45 -05:00
MichaelSimons
5c0cf55623
Initial changes to support building on Debian
2016-04-13 13:49:32 -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
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
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
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
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
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
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
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
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
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
Andrew Stanton-Nurse
8e23d9a635
remove unnecessary NuGet.Config that was causing problems
2016-04-07 15:37:33 -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
0bc7380bdb
Add netcoreapp as default tfm to run
2016-04-07 11:51:41 -07:00
Sridhar Periyasamy
71680d30aa
Add tests to check the dependency tool load location.
2016-04-06 11:52:48 -07:00
Sridhar Periyasamy
b0a504e952
Addres PR feedback
...
Use 'Microsoft.AspNetCore.Hosting' instead of super old
'Microsoft.AspNet.Hosting'.
2016-04-06 09:58:01 -07:00
Sridhar Periyasamy
1db2c08fb5
Execute project dependency command from output directory for Desktop.
...
Created a new command resolver called OutputPathCommandResolver which
reolves a command from the project build output directory.
Made changes ProjectDependenciesCommandFactory to use
OutputPathCommandResolver if the target framework is Desktop.
Fixes - #2126
Still need to add tests.
2016-04-05 20:13:06 -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
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
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
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
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
Pavel Krymets
e4cdc250e9
Merge pull request #2177 from dotnet/pakrym/disable-json-message
...
Do not write json error message to stderr
2016-03-31 16:31:07 -07:00
Pavel Krymets
8d1ddcdf2d
Do not write json error message to stderr
2016-03-31 14:39:33 -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
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
fd3a7a0a5f
Rename xproj in ValidCase01
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
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
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
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
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
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
19e707448d
Update NETCore.App version for new projects
2016-03-28 18:18:38 -07:00
piotrp
a23568b4e5
Fix build break on non-Windows
...
And PR Feedback
2016-03-28 17:25:52 -07:00
piotrp
a3db242b9b
Add test assets
2016-03-28 17:25:52 -07:00
piotrp
6f37e87a42
Feature complete
2016-03-28 17:25:52 -07:00
piotrp
d85e516c23
Test Infra
2016-03-28 17:25:52 -07:00
Eric Erhardt
a6b82782dc
Fix *WithOutputAssemblyName test projects NetStandard reference.
2016-03-28 13:51:21 -05: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
Andrew Stanton-Nurse
43512b8973
add support for type: platform
...
also some refactoring of DependencyContext to properly handle
placeholders in 'runtimeTargets'.
2016-03-23 21:53:14 -07:00
moozzyk
03f5379165
Adding support for output file name for apps.
2016-03-21 12:42:31 -07:00
moozzyk
856fb8d6d9
Enable specifying output assembly name in compiler options
...
Addresses #1797
2016-03-21 12:42:31 -07:00
Livar
14d5dd80b0
Merge pull request #1853 from livarcocc/more_test_params
...
Added remaining params from https://github.com/dotnet/cli/issues/1376 and build before tests
2016-03-19 10:01:28 -07:00
Livar Cunha
8358ccb5e8
Added build before running the tests and the no-build option to opt out of it.
...
Added new tests to ProjectDependencyCommandResolver and new E2E tests for dotnet test.
2016-03-17 15:17:18 -07:00
Bryan Thornbury
51dcb6063f
Add Portable Test Package Asset
2016-03-17 13:44: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
Livar Cunha
8d39adbdbf
Modifying the reporting channels to make the AdapterChannel a client and leave the TestRunnerChannel a server. This will prevent port conflicts between dotnet test and the Adapter (VS) due to race conditions.
...
Added E2E tests for dotnet test interactions with an adapter (design time).
2016-03-15 15:13:54 -07: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
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
Troy Dai
76262b8b0a
Fix build break on osx.10.11
2016-03-10 12:47:00 -08:00
Jeremy Meng
ee4bbb43ff
Add support for building dotnet CLI on Debian.
2016-03-09 23:05:02 +00:00
Sridhar Periyasamy
c33c2ff127
Fix build breaks for RHEL and Windows x86.
2016-03-09 14:21:02 -08:00
Andrew Stanton-Nurse
7b84740e72
reremove net45 build from portable app test project
...
this somehow got restored during a bad merge, and is breaking the CI
2016-03-08 12:14:59 -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
Bryan Thornbury
b813e2b849
Fixes #1649
...
make things work again
fix
Tests Passing
cleanup
fix
fix
2016-03-07 14:35:41 -08:00
Pavel Krymets
1d7cff48d4
PR
2016-03-04 14:12:16 -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
b63705198c
Merge branch 'troy/1569' into rel/1.0.0
2016-03-02 09:31:36 -08:00
Livar
66a4554290
Merge pull request #1640 from livarcocc/update_xunit_runner
...
Updating tests to use the latest version of dotnet-test-xunit
2016-03-01 22:47:37 -08: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
Troy Dai
9f8906fdac
Update dotnet projectmodel tests
2016-03-01 12:58:30 -08:00
Troy Dai
78433197b3
Add tests to capture issue 1568
2016-03-01 12:58:30 -08:00
Troy Dai
f7e4714dc5
Integrate ProjectModel server tests
2016-02-29 20:40:04 -08:00
Troy Dai
268dd603cc
Ensure Microsoft.CSharp reference is not duplicated
2016-02-26 15:06:39 -08:00
David Fowler
6dc5efb0e2
Merge pull request #1513 from discostu105/rel/1.0.0
...
Fix net20 compatibility
2016-02-24 21:41:40 -08:00
Pavel Krymets
6aeed1f52d
Merge pull request #1563 from dotnet/pakrym/wrapped-project
...
Fix wrapped project path resolution
2016-02-24 18:21:14 -08:00
Pavel Krymets
1bfd7725b0
Fix wrapped project paht resolution
2016-02-24 16:40:22 -08:00
Pavel Krymets
334ee7829a
Merge pull request #1536 from dotnet/pakrym/fix-run-tests
...
Fix run tests
2016-02-24 14:03:23 -08:00
Pavel Krymets
acd581c376
Merge pull request #1502 from dotnet/pakrym/dc-deps
...
Add support for reading DepedencyContext from deps file
2016-02-24 14:03:15 -08:00
MichaelSimons
0149f0bc72
General cleanup of the solution. Removed non-existant projects, fixed paths, removed invalid projects, etc.
2016-02-24 09:02:42 -08:00
Pavel Krymets
89cf169a08
Fix run tests
2016-02-24 08:12:32 -08:00
Pavel Krymets
62284943fc
Add support for reading DepedencyContext from deps file
2016-02-23 18:16:40 -08:00
Pavel Krymets
a71112ce8f
Asset refactoring and content files
2016-02-23 08:34:38 -08:00
discostu105
d0d3a629a5
added unit test. made if condition easier to understand.
2016-02-23 15:53:51 +01:00
Pavel Krymets
6ca22e4a56
Fix run behaviour when only single target exists
2016-02-22 15:11:24 -08:00
Eric Erhardt
3da5ae70e2
Remove NuGet.Config files for test projects.
...
Fix #1316
2016-02-18 13:03:28 -06:00
Eric Erhardt
247b8106d8
Move FSharpTestProjects to the TestAssets folder.
2016-02-17 15:58:30 -06:00
Piotr Puszkiewicz
d9b54cecac
Merge branch 'PackagedCommands' of https://github.com/eerhardt/cli into eerhardt-PackagedCommands
2016-02-16 21:20:57 -08:00