William Li
0b8d850377
Set ReleaseSuffix in test asset
2018-09-10 19:38:22 -07:00
Livar Cunha
e2b679c4bb
Merge branch 'master' of /Users/livarcocc/Documents/git/cli into merge_master_cli
...
* 'master' of /Users/livarcocc/Documents/git/cli: (1063 commits)
Updating signing project to use new intermediate directory (int).
Update runtimeconfig.json doc for 2.1 (#9382 )
Shortening the path to the intermediate folder by renaming it to int.
fix typo (#9364 )
Updating asp.net to 2.2.0 as well.
Updating the build and tests to work with the 2.2.0 runtime.
Simplified combining dictionaries in Telemetry
Fixing 'Channel' and 'BranchName': "release/2.1.4xx" to "master" (#9362 )
Fix extraction of folders (#9335 )
Update Sha256Hasher.cs
Fix relative path tool path (#9330 )
Insert updated SDK from 2.1.4xx branch
MSBuild 15.8.60
Fix crash when user home directory cannot be determined.
Make `CliFolderPathCalculator` a static class.
Don't add the ReleaseSuffix to the branding on the CLI when DropSuffix is set to true.
Add retry when Directory.Move (#9313 )
Override new SdkResult public properties
Add reference to Microsoft.Build.NuGetSdkResolver
Disable crossgen for MSBuild inline-task refs
...
2018-06-25 22:38:01 -07:00
Livar Cunha
491ec16307
Add the NoWarn option when producing Cli.Utils for full framework as well.
2018-05-16 15:33:19 -07:00
Livar Cunha
2531e3a136
Add NoWarn for the stable package depending on non-stable package when packaging Cli.Utils for tests.
2018-05-16 12:44:23 -07:00
Jeff Kluge
8f7b58dd66
Move some projects to netstandard2.0 ( #8692 )
...
* Move some projects to netstandard2.0
* Use version agnostic $(TargetFrameworkIdentifier) property to make changing versions easier since we only care about .NET Framework vs .NET Standard
* Add missing project to solution file
* Update TestPackageProjects.targets to use netstandard2.0 on non-Windows
2018-02-27 13:59:59 -08:00
Tanner Gooding
eadc1d3703
Updating the toolset version to 2.0.3-refac-007111
2018-02-23 14:03:07 -08:00
William Lee
05052c0541
Use rich mock to test InstallCommand ( #8402 )
...
To ensure the mock has the same behavior the component has, run mock under the same tests the adapter has.
It is a common problem that moq has -- "everything is mocked out, you are not test anything"
2018-01-24 10:16:27 -08:00
Livar Cunha
62ae014c37
Making this repo consume the dotnet-sdk-internal zip and produce a full core-sdk by using sdk-internal, runtime, lzma, templates and store. Also deleted a bunch of now, unecessary code. I am sure there is more to be deleted though.
2017-10-13 10:45:50 -07:00
Daniel Plaisted
f39315771e
Generate properties to pass to the next stage of the build
...
(cherry picked from commit 12f8c2377f
)
2017-09-27 14:22:19 -07:00
Daniel Plaisted
2b134c91fe
Support new artifacts layout in tests and other build logic
...
(cherry picked from commit 13da213183
)
2017-09-27 14:20:05 -07:00
Livar Cunha
3efd44f935
Removing Microsoft.DotNet.TestFramework from the product code and from the SDK deployment and moving the code to the test folder.
2017-09-15 09:49:19 -07:00
Daniel Plaisted
12f8c2377f
Generate properties to pass to the next stage of the build
2017-08-24 15:51:37 -07:00
Daniel Plaisted
13da213183
Support new artifacts layout in tests and other build logic
2017-08-24 15:49:13 -07:00
Matt Ellis
3aa59d98bd
Remove CoreCLRRid property
...
This property was only legitimately by the project which wants to
restore `crossgen`. Since that now comes from
Microsoft.NETCore.App (i.e. the shared framework) use
SharedFrameworkRid instead.
I also ensured that we passed UsePortableLinuxSharedFramework to
dotnet restore when restoring the tool projects, so we can use the
platform specific RID when non portable build.
2017-05-12 14:48:49 -07:00
Daniel Plaisted
01d3895b24
Add tests for behavior of tools that target previous major version of shared framework
2017-04-27 09:30:39 -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
Livar Cunha
10e743e8e5
Switched to using a FallbackPackagePathResolver to find the tool dll, because now with Fallback folders, we can have the tool dll in the fallback folder but its assets file in the user nuget cache. This happens because Nuget never writes to the fallback folder, including the tool's assets file that it generates during restore.
2017-03-24 12:17:27 -07:00
Piotr Puszkiewicz
88ab21600d
Remove RID from package creation
2017-02-28 12:00:05 -08:00
Justin Goshi
74e343e111
First pass at cleaning up the global properties files
2017-02-23 17:07:26 -08:00
Justin Goshi
f8148abec3
merge
2017-02-21 10:16:07 -08:00
Piotr Puszkiewicz
0f919d7442
fix merge
2017-02-17 13:07:14 -08:00
Justin Goshi
4f209e61ea
Refactor properties out of test.targets
2017-02-17 12:28:25 -08:00
Piotr Puszkiewicz
85b2a129db
Merge branch 'rel/1.0.0'
...
Conflicts:
TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj
TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj
TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj
TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj
TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj
build.proj
build/Compile.targets
build/Microsoft.DotNet.Cli.Compile.targets
build/Microsoft.DotNet.Cli.DependencyVersions.props
build/Microsoft.DotNet.Cli.Monikers.props
build/Microsoft.DotNet.Cli.Prepare.targets
build/package/Microsoft.DotNet.Cli.Nupkg.targets
build/package/Nupkg.targets
build/test/TestPackageProjects.targets
build_projects/dotnet-cli-build/GenerateBuildVersionInfo.cs
build_projects/dotnet-cli-build/GetCommitCount.cs
build_projects/dotnet-cli-build/dotnet-cli-build.csproj
build_projects/shared-build-targets-utils/Utils/BuildVersion.cs
src/dotnet-archive/dotnet-archive.csproj
src/tool_msbuild/tool_msbuild.csproj
src/tool_nuget/tool_nuget.csproj
test/ArgumentForwardingTests/ArgumentForwardingTests.csproj
test/ArgumentsReflector/ArgumentsReflector.csproj
test/EndToEnd/EndToEnd.csproj
test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectToolsCommandResolver.cs
test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj
test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
test/binding-redirects.Tests/binding-redirects.Tests.csproj
test/crossgen.Tests/crossgen.Tests.csproj
test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
test/dotnet-build.Tests/dotnet-build.Tests.csproj
test/dotnet-help.Tests/dotnet-help.Tests.csproj
test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
test/dotnet-new.Tests/dotnet-new.Tests.csproj
test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
test/dotnet-run.Tests/dotnet-run.Tests.csproj
test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
test/dotnet-test.Tests/dotnet-test.Tests.csproj
test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
test/dotnet.Tests/dotnet.Tests.csproj
test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
tools/Archiver/Archiver.csproj
2017-02-17 02:00:05 -08:00
Livar Cunha
35fc8c1d0e
Step one of introducing a flag to drop the suffix out of our build versions.
2017-02-08 15:26:47 -08:00
Eric Erhardt
9f0bb778a1
Merge rel/1.0.0 into master.
2017-02-01 14:32:59 -06:00
jonsequitur
090c8e2e09
hoist CoreCLRRid definition to Prepare.targets
2017-01-26 14:48:42 -08:00
jonsequitur
d25f2a11d6
remove rid for Microsoft.DotNet.Cli.Utils test package build
2017-01-26 14:48:42 -08:00
jonsequitur
d63e0dd74a
reduce abstraction in building test packages
2017-01-26 14:48:41 -08:00
Piotr Puszkiewicz
add5f72573
Simplify desktop test packaging
2017-01-26 14:48:41 -08:00
Piotr Puszkiewicz
e089f8753e
Account for NuGet/Home#4404
2017-01-26 14:48:41 -08:00
jonsequitur
89ff57f51b
only build desktop-and-portable TestPackage on Windows
2017-01-26 14:48:41 -08:00
jonsequitur
f66dbdb4b4
dotnet-desktop-and-portable.csproj to netcoreapp1.1
2017-01-26 14:48:41 -08:00
jonsequitur
25e3395684
dotnet-desktop-and-portable.csproj to netcoreapp1.0
2017-01-26 14:48:40 -08:00
jonsequitur
d55be626a9
netcoreapp1.1 fixes
2017-01-26 14:48:39 -08:00
Eric Erhardt
1950ef5e17
Merge rel/1.0.0 into master
2017-01-23 09:57:56 -06:00
Piotr Puszkiewicz
1dfee9ead8
[WIP] Reduce test target complexity [and running time] ( #5403 )
...
* Reduce test target complexity [and running time]
* WiP
* Enable building tests via solution
Remove deprecated tests
Make Microsoft.DotNet.Tools.Tests.Utilities portable-only
Remove MSI tests from the solution as they are the only tests that currently require dekstop.
* Enable building of tests
* Move migration tests to TA to allow them to self-restore
* Reduce project nesting and test directory name
2017-01-22 14:40:00 -08:00
Livar
a442449c55
Updating the branding on rel/1.0.0 to rc4. ( #5267 )
2017-01-12 13:14:57 -08:00
PiotrP
c008e85f6a
revert rc3->preview5
2017-01-11 13:18:44 -08:00
Livar
4b82852d56
Updating the version of msbuild to 15.1.0-preview-000516-03 ( #5266 )
...
* Updating the version of msbuild to 15.1.0-preview-000516-03
* Remove test that assumes props/targets imports
The test ItAddsRefBetweenImports validated that the MSBuild XML model contained new project references between the props and targets imports. While useful be fore the SDK attribute, the test no longer adds value since the SDK is added implicitly, guaranteeing it wraps the remaining project contents.
* Move MSBuild to 15.1.0-preview-000509-03
This is the last msbuild version prior to the change of MSBuild's dependencies to include .NET 1.1 components.
* Move MSBuild invocations to use dirs.props/dirs.tasks
* Put back the test targets. We'll unify later.
* Remove dirs.props props from templates msbuild invocation
2017-01-11 01:49:22 -08:00
Eric Erhardt
c481ad9cdc
Merge all hard-coded versions and version suffixes to be defined in a single spot.
2017-01-10 20:54:11 -06:00
Eric Erhardt
36d03ce4ce
Fix up merge of cherry-picking 'Fixing the test packages preparation. First, allows it to run independently. Second, it actually points to packages produced by the repo.'
2017-01-10 17:29:46 -06:00
Livar Cunha
df57e5dbf6
Addressing code review comments.
2017-01-10 16:48:46 -06:00
Livar Cunha
4fe36fd1e5
Fixing the test packages preparation. First, allows it to run independently. Second, it actually points to packages produced by the repo.
2017-01-10 16:48:17 -06:00
Livar Cunha
e795e12a16
Addressing code review comments.
2017-01-10 10:47:10 -08:00
Livar Cunha
c691f6d7fe
Fixing the test packages preparation. First, allows it to run independently. Second, it actually points to packages produced by the repo.
2017-01-09 16:49:57 -08:00
Livar Cunha
3220b14248
Updating the branding of the CLI to 1.0.0-rc3
2017-01-09 13:59:03 -08:00
Piotr Puszkiewicz
2fbafe6f3f
Remove StreamForwarder from CLI tests ( #4936 )
...
* WiP
* Replace StreamForwarder with OutputDataReceived
* Add build logging around test execution
* add newlines
* Add handling for the null terminator while maintaining empty lines
* Extra Diag
* Verbose logging for VS Test Console
* Fix asset file locking tests
* Add testcommand timeout + improve dotnet-new tests
* WiP
* Welcome, JoSequ!
* Fix failing tests
* Clean out diagnostics writelines
* self-PR1
2016-12-13 14:15:35 -08:00
Livar Cunha
de9ae38375
Updating the branding of rel/1.0.0 to preview5.
2016-12-05 14:47:16 -08:00
Krzysztof Wicher
33529b567e
fix build by not running tests on a test helper library
2016-11-30 15:14:57 -08:00
Livar Cunha
dc87680337
Making Project Tools use the CLI shared runtime if they have the prefercliruntime in the root of their package. This allows for project tools to not have to change when a new runtime comes up as long as they are compatible with the runtime that the CLI is using.
2016-11-23 09:25:47 -08:00