Jon Sequeira
74af357f07
fix NullReferenceError on remove package and incorrect help text
2017-04-26 16:43:55 -07:00
John Beisner
f56306cc62
Adding a CLI Test: Execute a 1.0 tool in a netcoreapp1.1 project
...
https://github.com/dotnet/cli/issues/6229
2017-04-14 09:40:46 -07:00
William Li
a6d3012da1
Replace dotnet help parser with CliCommandLineParser
...
CliCommandLineParserVersion 138 cannot use help as command and --help as
opinion at the same timem, update to 142
2017-04-10 22:11:14 -07:00
Eric Erhardt
07bd09a155
Append -portable to shared framework assets.
...
core-setup is producing "portable" assets with a "-portable" name. We should be consuming those from the CLI build.
2017-04-10 18:25:22 -05:00
Livar
18126c4ea8
Merge branch 'master' into CacheRename
2017-04-08 09:36:15 -07:00
Livar
95a367136c
Merge pull request #6263 from johnbeisner/CLI-backcompat-tests
...
Adding backwards compat tests to the CLI test catalog.
2017-04-08 00:30:18 -07:00
Eric Erhardt
95ff3f9bf8
Fix tests for cache => store rename.
2017-04-07 15:51:37 -05:00
Eric Erhardt
07b25e268c
Rename cache
to store
.
...
Rename `dotnet publish --filter` to `dotnet publish --target`.
Partial fixes for #6243 , #6244
2017-04-07 14:21:16 -05:00
John Beisner
9bfe67a8e8
Adding backwards compat tests to the CLI test catalog.
...
https://github.com/dotnet/cli/issues/6227
https://github.com/dotnet/cli/issues/6228
2017-04-06 11:58:19 -07:00
Eric Erhardt
a7becbe6d8
Fix passing /p:DISABLE_CROSSGEN on cli.
...
When passing a property using the commandline, it is not flown through to "dotnet publish" calls. So instead of using "dotnet publish", just use the MSBuild task to invoke the Publish target on the reidst project. This way properties flow correctly.
I also did a little cleaning of unused build logic.
2017-04-04 17:50:28 -05:00
Eric Erhardt
dff66c1acb
Update the .sln file to contain all the build logic in an organized way.
2017-03-24 16:19:50 -05:00
Unknown
b28ec60ed0
Remove MigrationDefaultsConstructor
2017-03-01 14:55:18 -08:00
Unknown
2d08b5523a
Let VS2017 do its thing to the sln file
2017-03-01 14:55:18 -08:00
Piotr Puszkiewicz
9bdd38cc19
Initial
2017-02-28 01:17:22 -08:00
Piotr Puszkiewicz
43266d2d9a
Move publishing static MSBuildExtensions to redist.csproj
2017-02-27 17:11:03 -08:00
Justin Goshi
5bb7ca8112
Add back BranchInfo.props
2017-02-24 10:34:16 -08:00
Justin Goshi
74e343e111
First pass at cleaning up the global properties files
2017-02-23 17:07:26 -08:00
Justin Goshi
acc77e2a46
Address pr comments
2017-02-23 09:26:14 -08:00
Justin Goshi
08ffc78be6
Merge branch 'master' into dev/jgoshi/refactorPublishTarget
2017-02-23 09:01:44 -08:00
Piotr Puszkiewicz
1199df1c05
Move tool deps file creation into redist.csproj
2017-02-22 22:47:11 -08:00
Eric Erhardt
7036fa1aef
Update dotnet-deb-tool-consumer to use the latest dotnet-deb-tool.
...
The latest deb-tool will use the CLI's runtime, which is required on distros that don't have .NET Core 1.0 installed.
2017-02-22 21:34:22 -06:00
Justin Goshi
8b2933839c
Merge
2017-02-22 16:56:34 -08:00
Justin Goshi
e894d7e60e
Refactor publish.target
2017-02-22 16:54:15 -08:00
Unknown
1c9f2e9b83
ProjectsToPublish
2017-02-22 15:33:55 -08:00
Piotr Puszkiewicz
5be3a70121
RootProject property
2017-02-22 15:31:55 -08:00
Justin Goshi
02e47f1d00
Address PR comments
2017-02-22 10:10:54 -08:00
Justin Goshi
70b6dc3be6
Merge branch 'master' into dev/jgoshi/refactorCrossgenTarget
2017-02-22 10:08:54 -08:00
Justin Goshi
2eb2c00b30
Refactor props in crossgen.target
2017-02-21 14:22:36 -08:00
Justin Goshi
30a43b3bda
Merge
2017-02-17 09:53:00 -08:00
Justin Goshi
58d167f3e5
Refactor properties out of Compile.targets
2017-02-16 12:21:15 -08:00
Justin Goshi
8e58a247b0
Finish renaming props file to remove Microsoft.Dotnet.Cli prefix
2017-02-16 11:16:20 -08:00
Justin Goshi
c8fb586677
merge
2017-02-16 08:58:40 -08:00
Piotr Puszkiewicz
159f7a1547
Fix up sln file
2017-02-15 19:38:50 -08:00
Justin Goshi
e66f6cd1a3
Do not rename the file yet
2017-02-15 12:05:36 -08:00
Justin Goshi
27182f293d
merge
2017-02-14 16:43:23 -08:00
Piotr Puszkiewicz
a906069859
Merge pull request #5693 from dotnet/dev/jgoshi/refactorBuildProj
...
Remove more properties from build.proj
2017-02-14 16:19:53 -08:00
Justin Goshi
87ee130ab5
Create CoreSetupInfo.props
2017-02-14 10:30:28 -08:00
Rama Krishnan Raghupathy
c20e106d75
Adding End to End test for cache and filtered publish
2017-02-13 17:56:25 -08:00
Justin Goshi
3b9ecf7f86
Address PR comments
2017-02-13 17:37:23 -08:00
Piotr Puszkiewicz
a101c703a1
First try at refactor of Prepare.targets ( #5647 )
...
* First try at refactor of Prepare.targets
* Enable restore of CLI build tasks
* Fix up build
* Feedback
* Newlines
* Add new props to sln
* CommitCount
* NuGet.config
* WorkingDir
* packages dir path
* Add missing nuget.configs
* Workaround for https://github.com/NuGet/Home/issues/4583
* Match NuGet.Config casing
* Put back Version Badge Properties
* Remove duplicate
2017-02-13 13:06:30 -08:00
Eric Erhardt
25f9a1bbc7
Fix dotnet new classlib to contain the correct NETStandard.Library version.
...
Fix #5638
2017-02-10 14:22:07 -06:00
Eric Erhardt
8e2a7bfa12
Fix the CLI .sln file to load and build in VS 2017.
2017-02-08 10:03:06 -06:00
Eric Erhardt
d4153815d5
Update the CLI to netcoreapp2.0.
2017-01-26 07:28:59 -06:00
Piotr Puszkiewicz
d14698f1f6
Bump MSBuild Version to 15.1.0-preview-000503-01 ( #5199 )
...
* Bump MSBuild Version to 15.1.0-preview-000503-01
* tool_csc->tool_roslyn
* pull some properties up to dir.props
* Move Roslyn to "Roslyn" subdirectory
* Fix relative paths in RunCsc.*
* Add removal of csc & vbc from deps.json
* Revert roslyn to 2.0.0-rc3-61212-03
* netcoreapp -> 1.0.3
2017-01-05 14:56:11 -08:00
Justin Goshi
8afb8ebf31
sln reader/writer ( #4870 )
...
* Snap of sln reader/writer from https://github.com/mono/monodevelop
* Remove unnecessary code
* Create a new test asset with an sln file because adding an sln to an existing one broke other tests
* Remove commented out line
* Removing unneeded PropertyGroup per PR comments
* Update the license
* Fixing the license
2016-11-30 14:08:28 -10:00
Justin Goshi
14152207f6
Update our sln file to reference our csproj files ( #4876 )
2016-11-30 12:44:23 -10:00
Eric Erhardt
469f7be5c3
Add test for dotnet run with multiple frameworks.
2016-10-17 21:03:08 -05:00
Justin Goshi
a6d37d25f5
Clean up dotnet-cli-build.csproj ( #4416 )
...
Clean up dotnet-cli-build.csproj
2016-10-17 23:50:22 +00:00
Faizan Ahmad
579df78466
- Implementation of test3 verb for single TragetFramework
...
- E2E test for test3 verb.
2016-10-04 15:37:36 +05:30
Faizan Ahmad
0bf92b635a
Revert unintended change in Microsoft.DotNet.Cli.sln
2016-10-04 00:22:14 +05:30
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
Eric Erhardt
eed29be806
Add dotnet publish3
command.
2016-09-23 12:12:55 -05:00
Eric Erhardt
5bd310bbd5
Add dotnet msbuild
tests.
2016-09-22 15:56:36 -05: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
Eric Erhardt
0e4044b8bd
Update Microsoft.NETCore.Sdk to 1.0.0-alpha-20160831-1
2016-09-01 11:08:34 -05:00
PiotrP
a6ee3df5b2
Merged branch feature/msbuild into piotrpMSFT/branchmerge
2016-08-30 14:10:47 -07:00
Bryan Thornbury
b0554d3ff3
PR Feedback
2016-08-30 12:00:56 -07:00
Bryan Thornbury
b900f0b327
Solution and project cleanup
2016-08-30 12:00:08 -07:00
PiotrP
3cdd15a145
Merged branch feature/msbuild into piotrpMSFT/branchmerge
2016-08-30 10:30:45 -07:00
Livar Cunha
7d60d66a86
Addressing more code review comments.
2016-08-29 09:46:12 -07:00
Livar Cunha
9f2a0169fc
Addressing code review comments.
2016-08-26 11:23:47 -07:00
Livar Cunha
8e432e567a
Adding TestRunner resolvers that will be able to find a test runner based on different criteria.
...
Moving dotnet test command to its own library that can be shared between dotnet test and the test target in the SDK folder.
2016-08-22 15:45:13 -07:00
Piotr Puszkiewicz
2db1997bc0
Merge remote-tracking branch 'refs/remotes/origin/feature/msbuild'
...
Conflicts:
Microsoft.DotNet.Cli.sln
build_projects/dotnet-cli-build/DebTargets.cs
build_projects/dotnet-cli-build/TestTargets.cs
scripts/package/package-debian.sh
src/Microsoft.Extensions.DependencyModel/DependencyContextJsonReader.cs
src/dotnet/commands/dotnet-new/Program.cs
src/dotnet/commands/dotnet-pack/PackageGenerator.cs
test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonReaderTest.cs
2016-08-16 18:30:52 -07:00
drewgil
11b666acee
Add nuget command to dotnet cli
2016-08-16 09:27:55 -07:00
Eric Erhardt
bc04f905db
Remove Build.Tasks.Tests.
2016-08-10 20:09:15 -05:00
Eric Erhardt
736652fe71
Remove the SDK artifacts from the CLI.
...
These are now contained in github.com/dotnet/sdk.
2016-08-10 20:08:17 -05:00
Livar Cunha
d8e7d37616
Addressing code review comments
2016-08-10 13:40:27 -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
PiotrP
a7d594049b
Remove dotnet-build.tests
...
This capability is being replaced by MSBuild, and the project.json tests are very long running.
2016-08-10 11:55:56 -07:00
Eric Erhardt
38d18eab4d
Fix dotnet-install.ps1.
...
Allow directories named "publish" in .gitignore.
Add files to the .sln.
2016-08-09 08:28:53 -05:00
jplebre
06d7a84c08
Added tests as a project to the solution
2016-08-03 22:06:17 +01:00
Eric Erhardt
a4aa0a99cd
Implement GenerateDepsFile MSBuild Task
2016-07-29 20:46:34 -05:00
Eric Erhardt
d54bba96cd
Fix Microsoft.DotNet.Tools.Tests.Utillities.xproj name to match folder.
...
Also fixing GivenAProjectDependenciesCommandFactory test to expect a lower case path, since that is what the new NuGet does.
2016-07-26 20:53:19 -05:00
Eric Erhardt
9751b3203c
Remove the Sdk nuget package.
2016-07-21 12:18:00 -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
bccff16c18
Round 2: rename the SDK NuGet package and add ImportBeforeAfter files to load them.
2016-07-21 11:57:19 -05:00
Eric Erhardt
30712966cc
Prototype round #1 of .NET Core MSBuild .props and .targets.
2016-07-21 11:57:18 -05:00
Piotr Puszkiewicz
a477fe7253
Incremental build of test projects ( #3859 )
...
* If restore incrementality fails, clean out all lock files to re-enable incrementality.
* Incremental build of TestProjects
* Remove reduntant build of test projects
* Fix CI
* Fix list of executable tests
* Msi tests on net46
* Path Separators
* PR Feedback
* Win Diag
* Let's try a hack!
* And another!
* Mor Diag
* McHack
* Slashety slash slash
* One more hack
2016-07-15 00:20:23 -07:00
Eric Erhardt
703da0da3e
Microsoft.NuGet.ImportBefore and ImportAfter
...
Add Microsoft.NuGet.ImportBefore and ImportAfter files so .nuget.props and .nuget.targets files get picked up invoking 'dotnet build3'.
I also fixed some .xproj and .sln file issues to get our code to work in VS.
2016-07-12 18:44:16 -05:00
Bryan Thornbury
5cfecec2e9
nuget version
2016-07-01 07:06:27 -07:00
Eric Erhardt
15642cfd2a
Finish converting 'Prepare' to MSBuild.
...
Implement DownloadHostAndSharedFxArtifacts
Implement ZipTemplates
Switch the Prepare target to use all the MSBuild targets.
2016-06-29 19:19:58 -05:00
Eric Erhardt
038758acf4
Convert 'Init' to MSBuild.
2016-06-27 21:39:19 -05:00
Eric Erhardt
15b2a9d9db
Convert all CLI build targets to MSBuild Tasks. ( #3690 )
2016-06-24 11:06:13 -07:00
Bryan Thornbury
400e1db3b9
dotnet-build3 Adding msbuild execution command to cli
2016-06-23 13:57:33 -07:00
Livar Cunha
4c5f097d67
Adding the configurer to dotnet.
2016-06-10 16:54:11 -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
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
ee7372c2a1
Move update-dependencies under build_projects.
2016-05-25 22:06:59 -05:00
Bryan
aa01110c33
Remove The host build, consume the host build from core-setup
2016-05-25 14:49:12 -07:00
Eric Erhardt
14ed7a3e45
Fix warnings in our build projects so VSO powershell scripts don't fail.
2016-05-16 18:30:56 -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
Pranav K
1e753f7781
Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal
2016-04-29 16:06:23 -07:00
Eric Erhardt
e2dcb968eb
Add tests for invoking dotnet XX project.json
from in
...
a folder that contains the project.
2016-04-28 08:50:22 -05:00
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
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
piotrp
6f37e87a42
Feature complete
2016-03-28 17:25:52 -07: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
Pavel Krymets
f75481f731
Add runtime signature into deps.json
2016-03-24 12:00:01 -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