Pavel Krymets
6ca22e4a56
Fix run behaviour when only single target exists
2016-02-22 15:11:24 -08:00
Livar Cunha
33ba99bb51
Adding a TestRunner.TestCompleted message that the runner can send to dotnet test.
2016-02-22 13:40:45 -08:00
discostu105
f0c8428925
cleanup of AssemblyInfoOptions
2016-02-22 11:25:02 +01:00
discostu105
8dc1e94aa9
cleanup in AssemblyInfoOptions
2016-02-22 11:22:26 +01:00
discostu105
e08401aed6
handle case where TargetFramework is null
2016-02-22 10:53:01 +01:00
discostu105
5e574f46d8
using NuGetFramework.Parse instead of passing Version object
2016-02-22 09:57:55 +01:00
discostu105
ac3e14c89e
Added TargetFrameworkVersion to AssemblyInfoOptions in order to let AssemblyInfoFileGenerator if attributes are compatible with framework version. E.g. TargetFrameworkAttribute is not .NET 2.0 compatible. fixes #1480
2016-02-21 23:01:55 +01:00
Pavel Krymets
69c0375b3f
Add error message when runtime target is not found
2016-02-20 18:20:16 -08:00
David Fowler
39b0880dbe
Handle null commit sha
...
- Apparently the .version file doesn't always end up in the package
#1498
2016-02-19 20:01:14 -08:00
Sridhar Periyasamy
856a077bd1
Merge pull request #1487 from Sridhar-MS/cli-x86
...
Fixes in corehost for building x86 arch.
2016-02-19 12:06:50 -08:00
Sridhar Periyasamy
c8215f84d3
Use macros for __stdcall calling convention.
2016-02-19 11:30:03 -08:00
Sridhar Periyasamy
f96ac6ed92
Fixes in corehost for building x86 arch.
...
Set the calling convention to '__stdcall' explicitly else the default is
'_cdecl' on windows which mismatches with coreclr hosting APIs.
Use the newly built 'corehost' in stage1.
2016-02-18 18:03:26 -08:00
Piotr Puszkiewicz
e625cbcf7a
Removes usage of DOTNET_HOME in CLI repo.
...
DOTNET_HOME is no longer required, though it is a documented override, so this change removes all unnecessary references to DOTNET_HOME from the CLI Repo.
2016-02-18 15:38:23 -08:00
Bryan Thornbury
8d939fc7e1
Merge pull request #1477 from dotnet/brthor/deps-space-fix
...
fix dotnet-compile.deps.json space in the path issue.
2016-02-18 11:24:40 -08:00
Bryan
dd103cf6a8
fix dotnet-compile.deps.json space in the path issue.
...
add test for space in the path with Preserve Compilation Context
fix project.json
update tests
update test
2016-02-18 10:51:50 -08:00
Bryan Thornbury
c749bae962
Pipe configuration through CommandResolver
...
script changes to pipe configuration to test.ps1
debug commit, remove this commit
Change dotnet-test to invoke dotnet-test-xunit directly
build tests with configuration, framework, runtime in windows
Update testtargets in new build scripts
make configuration first arg to dotnet test
PR Feedback
update command factory
fix interface
test update
2016-02-18 09:57:30 -08:00
Pavel Krymets
c65a1700eb
Merge pull request #1449 from dotnet/pakrym/runtime-assets
...
Fix publish runtime asseets
2016-02-18 08:07:37 -08:00
David Fowler
8645031db8
Merge pull request #1471 from dotnet/davidfowl/fix-versions
...
Fixing versions
2016-02-18 02:42:31 -08:00
David Fowler
ed16632a33
Flow the version suffix via pack as well
2016-02-18 02:27:35 -08:00
Senthil
e1d8a0505c
Update appdep
2016-02-18 01:22:54 -08:00
David Fowler
69b5e3f815
Fixing versions
...
- Added --version-suffix to build and publish
- Support reading DOTNET_* version variables everywhere versions can be read
- Show the commit sha in dotnet --version
- Added tests that check the assembly output version
- Set DOTNET_BUILD_VERSION when producing the CLI app itself so that it has the version information stamped in for help.
2016-02-18 01:10:07 -08:00
Pavel Krymets
bd94c19d2e
Merge pull request #1465 from dotnet/pakrym/app-local-logic
...
Change app local resolution logic to require refs folder for packages and referenceassemblies
2016-02-17 17:26:28 -08:00
Bryan Thornbury
61489aef6c
Merge pull request #1464 from dotnet/brthor/cleanup_trims
...
Cleanup quoting in response files, and trims.
2016-02-17 17:06:37 -08:00
Pavel Krymets
93570ea4aa
Fix app local resolution logic
2016-02-17 17:06:33 -08:00
Bryan
b1885eaa58
Cleanup all the Trims everywhere. csc is the only program which requires response files to have quotes.
...
additional cleanup
2016-02-17 16:38:41 -08:00
Pavel Krymets
39192b3222
Fix accidental API change
2016-02-17 15:18:42 -08:00
Troy Dai
ec4629739f
Revert System.Reflection.Metadata version to rc2
2016-02-17 12:11:14 -08:00
Bryan Thornbury
23907bc924
Merge pull request #1434 from dotnet/brthor/1280/resgen-spaces
...
Fix Resgen with Spaces in Path
2016-02-17 09:35:26 -08:00
Pavel Krymets
b0ff1857cc
Fix publish runtime asseets
2016-02-16 20:54:11 -08:00
Bryan Thornbury
ccce495737
Fixes #1280
...
PR Feedback for resgen tests
don't trim
update use-dev for win10
additional product changes
More fixes
fix
fix resgen
2016-02-16 17:07:58 -08:00
Pavel Krymets
78ccff9d50
Merge pull request #1428 from dotnet/pakrym/runtime-context-logic
...
Use runtime context only where we require it
2016-02-16 17:03:01 -08:00
Sridhar Periyasamy
735b4beb7c
Merge pull request #1340 from Sridhar-MS/test-fx
...
[WIP]: TestFramework with support for managing test projects.
2016-02-16 16:09:09 -08:00
Pavel Krymets
9fb99526a1
Use runtime context only where we require it
2016-02-16 15:54:33 -08:00
David Fowler
ec0b004d4c
Merge pull request #1438 from dotnet/davidfowl/remove-runtime
...
Remove the shared runtime folder from the CLI
2016-02-16 14:54:12 -08:00
Pavel Krymets
7754e8c710
Merge pull request #1362 from dotnet/pakrym/dc-tests
...
Refactor DependencyModel, add unit tests, add EnvironmentAbstraction library
2016-02-16 14:51:47 -08:00
Piotr Puszkiewicz
2471a3fc55
Merge pull request #1444 from dotnet/piotrpMSFT/Issue1352/RID_Override
...
Remove dotnet-restore RID override
2016-02-16 14:38:12 -08:00
Pavel Krymets
8a94e66384
Merge pull request #1439 from dotnet/pakrym/pack-output
...
Fix pack output location
2016-02-16 14:29:19 -08:00
Piotr Puszkiewicz
6e6b8126ac
Fixes #1352
2016-02-16 13:59:16 -08:00
Pavel Krymets
4d4f5ad895
Fix pack output location
2016-02-16 13:56:07 -08:00
David Fowler
528b32ddc5
Remove the shared runtime folder from the CLI
2016-02-16 12:57:01 -08:00
Sridhar Periyasamy
9ec8556d24
Rebase with the latest sources and fix the tests.
2016-02-16 11:26:40 -08:00
Troy Dai
8058b42e9b
Add FrameworkData to ProjectReferenceDescription
2016-02-16 10:35:31 -08:00
Sridhar Periyasamy
ab455e6bb9
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
2016-02-16 09:58:20 -08:00
Pavel Krymets
39e1e26f0e
Refactor DependencyModel, make it ready for tests
2016-02-16 09:56:19 -08:00
David Fowler
1e18150194
Merge pull request #1231 from AustinWise/fixHelp
...
Fix the help command to work with intrinsic commands.
2016-02-15 23:50:03 -08:00
Troy Dai
cf2cf83ff3
Fix issue 1391
2016-02-15 21:36:35 -08:00
David Fowler
302a9e84f7
This change mimics the nuget lock file generation logic
2016-02-15 20:57:49 -08:00
Austin Wise
67b4012e45
Move the help command it it's own class.
...
Also fix the help command to work with intrinsic commands.
2016-02-15 20:11:02 -08:00
David Fowler
00e3c25bb3
Fix lock file check so that warnings don't keep popping up
2016-02-15 19:17:21 -08:00
David Fowler
129442923a
Updated to a newer version of NuGet
...
- Update the newest nuget
- Filter out build dependencies from the project resolver based on hte lock file
- Fix more erroneous build dependencies
2016-02-15 18:39:29 -08:00
David Fowler
467cd19662
Fixed the build dependencies in project.json
2016-02-15 10:52:29 -08:00
David Fowler
078d6a8d5f
Build and project cleanup
2016-02-15 09:43:18 -08:00
David Fowler
77dfbd8e43
Fixed the build
...
- csc kept crashing on stage 2 and it turned out to be a version mismatch with System.Reflection.Metadata.
- Silenced crossgen
- Made omnisharp see all of the projects
2016-02-15 09:03:40 -08:00
Senthil
ef00f0331e
Include project.json dependencies for native
2016-02-14 17:20:23 -08:00
Piotr Puszkiewicz
e8ef94e93f
Merge pull request #1212 from AustinWise/fixColors
...
Fix color printing and --verbose
2016-02-12 23:39:49 -08:00
Sridhar Periyasamy
2a94a1e384
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
...
Conflicts:
Microsoft.DotNet.Cli.sln
scripts/dockerbuild.sh
scripts/test/setup/build-test-prerequisites.ps1
test/dotnet-build.Tests/IncrementalTestBase.cs
test/dotnet-publish.Tests/Microsoft.DotNet.Tools.Publish.Tests.cs
test/dotnet-publish.Tests/project.json
2016-02-12 17:26:58 -08:00
Senthil
28f35c1cfa
Remove DOTNET_HOME from the CoreCLR probe path
2016-02-12 17:03:09 -08:00
Sridhar Periyasamy
d7274af53a
Address PR Feedback
2016-02-12 16:57:32 -08:00
Austin Wise
6957303a13
Fix build break on Windows.
2016-02-12 15:58:35 -08:00
Austin Wise
468a0f38a5
Fix color printing and verbosity.
...
Only apply the ANSI passthrough for child commands. Otherwise the
escape codes are printed to the console on Windows
Make Report.Write process escape codes so that forwarded output will have
its escape codes processed.
Also make verbose be inherited by all child processes.
2016-02-12 15:52:11 -08:00
Andrew Stanton-Nurse
d524732bbb
working on build scripts
2016-02-12 15:26:35 -08:00
Sridhar Periyasamy
5fb1eaa9c6
Fix tests for unix.
2016-02-12 15:12:19 -08:00
David Fowler
6d4594a633
Disable server GC since it's OOMing
2016-02-12 13:38:49 -08:00
Bryan Thornbury
5c0eb19859
Merge pull request #1377 from dotnet/brthor/script_executor_and_arg_forwarding
...
ScriptExecutor and ArgumentEscaper Changes
2016-02-12 12:38:21 -08:00
Piotr Puszkiewicz
69c5f542e5
Merge pull request #1285 from enricosada/fix_dotnet_compile_fsc
...
Fix dotnet-compile-fsc
2016-02-12 12:14:59 -08:00
Bryan Thornbury
50ab680688
update compiler unit tests
...
fix rebase errors
PR Feedback
more PR feedback
fix
make new script file executable
Remove scripts from TestAppCompilationContext
add hashbang to echoscript
2016-02-12 11:37:15 -08:00
Bryan Thornbury
c1e28ae921
Refactor ScriptExecutor, add test cases for scriptexecutor.
...
Add TargetFramework and FullTargetFramework to compile and publish script
variables.
Add ProjectLocal Command Resolution Strategy.
Fixup ArgumentEscaper to not always quote things.
Fixes #1216
Fixes #1016
Fixes #982
2016-02-12 11:04:30 -08:00
Piotr Puszkiewicz
82bbd22d46
Merge pull request #1272 from cdmihai/cdmihai/noDependencies
...
Add --no-dependency flag to build
2016-02-12 10:59:54 -08:00
Tanner Gooding
5f5a59a136
Merge pull request #1209 from tannergooding/rel/1.0.0
...
Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02
2016-02-12 10:59:11 -08:00
Enrico Sada
7dd4bdf268
fix build of target framework net46
2016-02-12 19:14:50 +01:00
Enrico Sada
57ae360c23
use DNXCORE50 define to check if target framework is Desktop
...
Best is to use NuGetFramework.IsDesktop method, but i cannot parse the assemblyInfoOptions.TargetFramework as NuGetFramework
2016-02-12 19:14:50 +01:00
Enrico Sada
a2a319c55a
support project.json compilationOptions.additionalArguments
2016-02-12 19:14:49 +01:00
Enrico Sada
19a66849a4
always create a pdb, dotnet-build crash if not found
...
a `noPdb` options doesnt exists in project.json, a pdb is required as compile output
2016-02-12 19:14:49 +01:00
Enrico Sada
e8e3f7c78f
fix invalid arguments, fsc has problems with quoted arguments ( quoted with " )
2016-02-12 19:14:48 +01:00
Enrico Sada
2bd7a978cf
add --targetprofile:netcore if target framework is not desktop
2016-02-12 19:14:47 +01:00
Tanner Gooding
4e2d4f4816
Explicitly referencing System.Reflection.Metadata v1.2.0-rc2-23805 in several project.json
2016-02-12 09:04:10 -08:00
Tanner Gooding
f994f09e11
Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02
2016-02-12 08:57:42 -08:00
Pranav K
59e87f497f
Use ApplicationBasePath instead of entry assembly to locate reference
...
assemblies.
2016-02-11 22:29:20 -08:00
Sridhar Periyasamy
96e425f8bb
Fix build breaks and some 'build' tests.
2016-02-11 15:55:37 -08:00
Pranav K
33f1b8551e
Compile Microsoft.DotNet.Cli.Utils in net451
2016-02-11 15:46:43 -08:00
Pranav K
f5065c9425
Target net451 in ProjectModel
...
Fixes #876
2016-02-11 15:42:14 -08:00
Sridhar Periyasamy
f86952cf1d
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
2016-02-11 14:22:24 -08:00
Sridhar Periyasamy
b239c548a4
Refactor TestFramework
...
Remove TestScenario and add TestAssetsManager which manages the TestAssets
folder.
2016-02-11 14:08:37 -08:00
Livar Cunha
e945361a76
Replacing the fixed rid in the dotnet compile unit test by one that respects the platform where the tests are running.
...
Removing trailing slashes for the paths passed to the scripts to avoid the double quotes escaped issue.
2016-02-11 12:44:27 -08:00
Livar Cunha
4e1ec4c159
Refactoring dotnet-compile to make adding the script variable testable. So far, moved it to have a compiler controller and two separate compilers: native and managed. Also moved the script runner to its own class so that we can mock it into the managed controller.
...
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
2016-02-11 12:42:02 -08:00
Andrew Stanton-Nurse
b5450cabc2
update version in 'dotnet new' template
2016-02-11 12:11:45 -08:00
Andrew Stanton-Nurse
236fcd8f95
update everyone to 23811
...
add a little hackiness to the build script to use 23811 in the stage 0 as well
2016-02-11 10:38:59 -08:00
Mihai Codoban
a0990a518c
Add --no-dependency flag to build
2016-02-10 15:35:27 -08:00
Pavel Krymets
4462dc21f8
Do not search for runtime output in dependencies
2016-02-10 15:20:08 -08:00
Pavel Krymets
23b1b077dd
Merge pull request #1347 from dotnet/pakrym/refasm
...
Add reference assembly support to DependencyModel
2016-02-10 13:55:25 -08:00
Eric Erhardt
74d8051f79
Bump CoreFx to rc2-23810
2016-02-10 13:50:28 -06:00
Pavel Krymets
a8ce4f2e3a
Add reference assembly support
2016-02-10 11:40:23 -08:00
Sridhar Periyasamy
d1d14283a1
TestFramework with support for managing test projects.
...
The CLI tool's tests are run against sample test projects for validation.
TestFramework provides an easy way to manage these sample test projects.
Converted the publish test to use the TestFramework.
2016-02-10 00:21:19 -08:00
Piotr Puszkiewicz
b34dd22ca8
Merge pull request #1295 from dotnet/piotrpMSFT/CrossGen23808
...
crossgen 23808
2016-02-09 16:19:15 -08:00
Piotr Puszkiewicz
48797ea80a
Bump CoreFx to rc2-23808
...
Workaround for issue 1294
Improve crossgen notifications
2016-02-09 15:49:45 -08:00
Pavel Krymets
2fe913ae8f
Fix incremental build
2016-02-09 15:41:45 -08:00
Pranav K
b0470fdebb
Merge pull request #1324 from dotnet/prkrishn/1305
...
Don't filter by TFM when building DependencyContext
2016-02-09 14:50:57 -08:00
Pranav K
f78a259cf1
Merge pull request #1300 from dotnet/prkrishn/dependencycontext
...
Fix the paths at which CompileContext locates resgen outputs.
2016-02-09 14:50:36 -08:00
Pavel Krymets
5c3bc7f340
Merge pull request #1321 from dotnet/pakrym/package-fix
...
Fix location for package signing
2016-02-09 14:38:31 -08:00
Bryan Thornbury
bed4c37beb
Merge pull request #1325 from dotnet/brthor/1181/quickfix
...
hard code portable-net452+win81 to quickly unblock
2016-02-09 14:32:34 -08:00