Bryan Thornbury
939366165f
Remove NuGet.config from the default dotnet new drop. Patch the tests to cover this gap until corefx is on nuget.org
2016-04-06 14:34:39 -07:00
Senthil
584fdea49e
Merge pull request #2271 from schellap/master
...
Add ApiSets to process DLL search dirs
2016-04-06 13:36:12 -07:00
Pavel Krymets
f49d95c47d
Merge pull request #2306 from dotnet/pakrym/platform-in-target
...
Alow type platform to be in target dependencies
2016-04-06 13:26:12 -07:00
Senthil
bcef2372a2
Add ApiSets to PATH
...
-- So CoreCLR load of PInvoke can actually see these
dependencies.
Add DllDirectory so CoreCLR itself can be loaded.
2016-04-06 11:38:52 -07:00
Pavel Krymets
567d1fa19d
Alow type platform to be in target dependencies
2016-04-06 10:46:52 -07:00
Wes Haggard
3ab4a30eb8
Add support for pkgprojs in cli repp
...
- Move src\corehost\packaging to pkg\ directory.
- Renamed PackageCoreHost to PackagePkgProjects and removed blocker
- Updated copy of packages in PackagePkgProjects target to override (because there is no proper clean)
- Update dir.props to match the package version for the runtime.json
- Moved all CoreHost packages under Microsoft.NETCore.DotNetHost directory
- Add the license files to the packages
Add support for building Microsoft.NETCore.App meta-package
- VersionNumber will be of form 1.0.0-rc2-<NETSTandard.Library build#>-<CLIbuild#>
EX: 1.0.0-rc2-23931-002203
2016-04-06 10:34:23 -07:00
Jan Kotas
722cd3b681
Merge pull request #2240 from jkotas/remove-r2r-workaround
...
Remove ReadyToRun workaround
2016-04-05 21:30:35 -10: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
Eric Erhardt
965547bd8a
Merge pull request #2145 from dotnet/lakshanf/issue2066/telemetry
...
Lakshanf/issue2066/telemetry
2016-04-05 19:37:58 -05:00
Eric Erhardt
5e617bbb43
Merge pull request #2283 from eerhardt/NewNuGet
...
Update NuGet to 3.5.0-beta-1130
2016-04-05 15:29:10 -05:00
Eric Erhardt
ed82fd2e66
Update NuGet to 3.5.0-beta-1130
2016-04-05 13:42:16 -05:00
Livar Cunha
40cd8650ce
Removing linq from projectmodel net45 dependencies. It got there accidently.
2016-04-05 11:14:36 -07:00
Troy Dai
cb14076b38
Merge pull request #2249 from dotnet/troy/2200
...
Use default version for unresolved MSBuild reference
2016-04-05 09:05:18 -07:00
Troy Dai
e63c0f82c9
Use default version for unresolved MSBuild reference
2016-04-05 08:32:58 -07:00
Pavel Krymets
8831bb4a8b
Do not trim refs
2016-04-05 08:06:17 -07:00
Dan Quirk
0d067be964
Use static member
2016-04-04 18:58:22 -07:00
Dan Quirk
b5e1042d06
Use InternalsVisibleTo for testing
2016-04-04 17:33:09 -07:00
Dan Quirk
3e4edf1688
CR feedback part 1
2016-04-04 16:18:47 -07:00
Lakshan Fernando
25745d9d4e
Implemented Telemetry class via an interface for test ease
2016-04-04 15:26:06 -07:00
Lakshan Fernando
d9e169e77a
Stopped collecting command arguments due to PII concerns
2016-04-04 15:26:06 -07:00
Lakshan Fernando
e9a6c4350a
added comment to the instrumentation key field
2016-04-04 15:26:06 -07:00
Lakshan Fernando
689a72ffb5
incorporate CR feedback for the first PR
2016-04-04 15:26:06 -07:00
Lakshan Fernando
6b84a10e57
Telemetry PR
2016-04-04 15:26:06 -07:00
Peter Marcu
d8858e4d6b
Update project.json template to be netcoreapp1.0
...
It should be time, now that RID inference is off, to update dotnet new to finally use netcoreapp1.0.
2016-04-04 14:43:50 -07:00
Livar Cunha
7b209e5603
Moved ProjectModel to json.net for GlobalSettings and Project.json. Kept LockFileReader using the old API as I don't have the cycles to add the tests for it at the moment.
...
Added unit tests covering parsing of Json for all the pieces of the project.json
Added a RawRuntimeOptions to Project and made Executable deserialize that into the runtimeOptions of runtimeconfig.json
Added tests to cover copying runtimeoptions during dotnet build.
2016-04-04 12:11:27 -07:00
Jan Kotas
5673647064
Remove ReadyToRun workaround
2016-04-03 09:01:59 -07:00
Justin Emgarten
9c31501deb
Updating nuget to beta-1123
2016-04-01 21:09:05 -07:00
schellap
f5411abdf0
Support runtimeconfig.dev json
2016-04-01 19:32:02 -07:00
Bryan Thornbury
8370effbb0
Add imports to the fsharp dotnet new template
2016-04-01 15:35:12 -07:00
Eric Erhardt
47530fce56
Merge pull request #2188 from eerhardt/UpdateRoslyn
...
Updating Roslyn packages to 1.3.0-beta1-20160329-01.
2016-04-01 09:37:01 -05:00
Senthil
be1c55f061
Merge pull request #2186 from schellap/bom
...
Strip BOM from JSON file streams
2016-04-01 06:32:44 -07:00
Senthil
23e3adb1a3
Strip BOM from JSON file streams
2016-04-01 05:30:23 -07:00
Senthil
29b567db3f
Merge pull request #2156 from schellap/shared-paths2
...
Probe shared locations
2016-04-01 00:03:09 -07:00
Eric Erhardt
a2a776ac7b
Updating Roslyn packages to 1.3.0-beta1-20160329-01.
2016-04-01 01:24:45 -05:00
Justin Emgarten
219a0539b0
Updating to NuGet 1105
2016-03-31 18:13:25 -07:00
Troy Dai
9f23b7adf5
Merge branch 'troy/xp' into rel/1.0.0
2016-03-31 17:16:41 -07:00
schellap
3d691eb928
Probe shared locations
2016-03-31 16:58:17 -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
Troy Dai
e176c1d3b9
Remove fragment file's involvement in design time scenarios
2016-03-31 13:57:36 -07:00
Pavel Krymets
429eb93cd9
Merge pull request #2160 from dotnet/pakrym/no-arg-net451
...
Pass no additional arguments to net451 app in dotnet run
2016-03-31 11:23:31 -07:00
Pavel Krymets
7e73e5c379
Pass no additional arguments to net451 app
2016-03-31 10:35:42 -07:00
eerhardt
3afd85068a
Updating dependencies from last known good builds
2016-03-31 11:57:21 -05:00
Senthil
1428eb81cf
Merge pull request #2139 from schellap/master
...
Add clarifying message on JSON exception
2016-03-31 01:05:42 -07:00
Bryan Thornbury
164a235a20
Merge pull request #2151 from dotnet/brthor/remove-oob-commands
...
Remove OOB Commands and Pdbs from stage2
2016-03-30 21:28:27 -07:00
Senthil
9c67627b43
Merge pull request #2150 from schellap/simple
...
Disable corehost packaging in VSO
2016-03-30 20:33:10 -07:00
Mihai Codoban
4c84e686d0
Avoid duplicate messages
2016-03-30 19:24:43 -07:00
Troy Dai
8a3ddc9c8a
Remove MSBuildProjectPath property
2016-03-30 19:24:43 -07:00
Mihai Codoban
b7ca1d14bd
Distinguish between the msbuild project path and csproj file path
2016-03-30 19:24:43 -07:00
Mihai Codoban
2e78b9ae60
Revert "MSBuildProjectDescriptions has dedicated property for the csproj path"
...
This reverts commit a95e20d96480dac3010c8403e04bd716fba2cc5b.
2016-03-30 19:24:43 -07:00
Mihai Codoban
54278c294e
Transform lock file reader exceptions into diagnostics
2016-03-30 19:24:43 -07:00
Mihai Codoban
9cc3d088f0
MSBuildProjectDescriptions has dedicated property for the csproj path
2016-03-30 19:24:43 -07:00
Mihai Codoban
829fab595e
Fix extract method code
...
The VS code generator is too opinionated on CLR types :)
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
Mihai Codoban
ded82caccd
Publish can skip Build
2016-03-30 19:24:43 -07:00
Troy Dai
d2984e3cfc
Minor fixes to ProjectModelServer changes
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
698c82915e
Move methods back to client code
2016-03-30 19:24:43 -07:00
Mihai Codoban
b2aae7546a
Add lock file patching tests
2016-03-30 19:24:43 -07:00
Mihai Codoban
90240a431b
Compute msbuild project path relative to root project path
2016-03-30 19:24:43 -07:00
Mihai Codoban
ca2707292e
Add MSBuildProjectDescription
2016-03-30 19:24:43 -07:00
Mihai Codoban
06ff80392e
Patch Lock File with export file
2016-03-30 19:24:43 -07:00
Mihai Codoban
552ac6282f
Update lock file format
...
project libraries can have a msbuildProject element
2016-03-30 19:24:43 -07:00
Mihai Codoban
fb2326bb50
Reuse lock file when creating a runtime context
2016-03-30 19:24:43 -07:00
Bryan
58be4c447e
prep for commands we'll be shipping as tools
...
add cleanup step to build, remove oob commands
only clean the sdk directory
Incorporate PR Feedback
2016-03-30 19:23:42 -07:00
Pavel Krymets
2753cc9982
Move appdep project to tools directory which is restored with rid inference
2016-03-30 18:51:58 -07:00
Senthil
2ce0a934a3
Revert "Merge pull request #2111 from dotnet/revnupkg"
...
This reverts commit ac4c6702d5
, reversing
changes made to 4bb7c1a6d4
.
2016-03-30 17:59:16 -07:00
Pavel Krymets
a21e0ea6b4
Merge pull request #2148 from dotnet/pakrym/remove-inference
...
Remove rid inference
2016-03-30 17:36:45 -07:00
Pavel Krymets
9b9725ac38
Remove rid inference
2016-03-30 16:58:02 -07:00
Eric Erhardt
8816664062
Merge pull request #2136 from eerhardt/UpdateDependencies20160330021008
...
Updating CoreFX from rc2-23929 to rc2-23930
2016-03-30 18:32:17 -05:00
Pavel Krymets
dc4bec0307
Merge pull request #2118 from dotnet/pakrym/no-csv-deps
...
Remove csv deps file generation
2016-03-30 16:09:34 -07:00
Pavel Krymets
d3289d916f
Merge pull request #2137 from dotnet/pakrym/redirects
...
Handle duplicated assemblies in binding redirects
2016-03-30 15:35:15 -07:00
Senthil
92b344a1a9
Merge pull request #2128 from schellap/pakrym
...
Get Executable name properly
2016-03-30 15:25:34 -07:00
Peter Marcu
2a915f4e8c
Merge pull request #2133 from dotnet/Petermarcu-patch-1
...
Update new template to remove imports
2016-03-30 14:48:03 -07:00
Pavel Krymets
c8a632bac1
Remove csv deps
2016-03-30 14:39:36 -07:00
Senthil
085dbd413e
Expand LoadLibrary search paths
2016-03-30 14:26:57 -07:00
Livar Cunha
f9bbdca531
Adding a runtimeconfig.dev.json containing the additionalProbePaths when doing dotnet build.
2016-03-30 12:36:48 -07:00
Senthil
863d3d9766
Add clarifying message on exception
2016-03-30 10:46:17 -07:00
eerhardt
ea984c50c7
Updating dependencies from last known good builds
2016-03-30 11:49:37 -05:00
Pavel Krymets
e844355d7a
Handle duplicated assemblies in binding redirects
2016-03-30 09:34:31 -07:00
Peter Marcu
0ef189c07a
Update new template to remove imports
2016-03-29 23:02:58 -07:00
Senthil
626642808a
Get Executable name properly
2016-03-29 18:30:23 -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
schellap
a30078c691
Revert "Merge pull request #2080 from schellap/nupkg2"
...
This reverts commit a6bf3b416b
, reversing
changes made to b0e457559d
.
2016-03-29 01:58:51 -07:00
Piotr Puszkiewicz
84c435d21f
Merge pull request #2101 from nattress/linkerscript
...
Add dotnet-compile-native linker script for Linux / OSX
2016-03-28 22:30:06 -07:00
Stephen Toub
dc41c9b026
Merge pull request #2096 from stephentoub/indexof_ordinal
...
Use StringComparison.Ordinal with IndexOf in AnsiConsole
2016-03-28 23:37:15 -04:00
Pavel Krymets
e06a479748
Merge pull request #2036 from dotnet/pakrym/portable-cli
...
Make dotnet cli sdk portable
2016-03-28 20:35:22 -07:00
Andrew Stanton-Nurse
cf193ad301
Merge pull request #2097 from dotnet/anurse/publish-trimming
...
add trimming of published output based on sharedfx
2016-03-28 20:27:01 -07:00
Piotr Puszkiewicz
5572326e0a
Merge pull request #2087 from dotnet/piotrpMSFT/Issue2020/DesktopCommands
...
Enable execution of Target-specific commands
2016-03-28 20:07:09 -07:00
Senthil
a6bf3b416b
Merge pull request #2080 from schellap/nupkg2
...
Packaging work for corehost
2016-03-28 20:01:14 -07:00
Pavel Krymets
18436e325e
Make dotnet cli portable
2016-03-28 19:16:02 -07:00
Livar
b0e457559d
Merge pull request #1847 from cdmihai/cdmihai/recompileWhenCLIChanged
...
Trigger rebuild when the CLI changed
2016-03-28 19:02:06 -07:00
Andrew Stanton-Nurse
62b7740c95
add trimming of published output based on sharedfx
...
Any dependencies which **exactly** match the version requested in the
graph originating at the `type: platform` dependency (if any) are
trimmed from the publish output
2016-03-28 18:50:17 -07:00
Senthil
a12dcfe696
Update scripts from CoreFX
2016-03-28 18:47:35 -07:00
nattress
5a6de52383
Add dotnet-compile-native linker script for Linux / OSX
...
Add CoreRT SDK linkerscript to linker options if the file is present. It
is used for controlling section merging for multi-file compilation.
2016-03-28 17:28:44 -07:00
piotrp
0f21184bf6
Cleanup
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
930908e29c
Merge pull request #2092 from eerhardt/UpdateDependencies20160328052754
...
Updating dependencies from last known good builds
2016-03-28 18:37:09 -05:00
stephentoub
272d4c9126
Use StringComparison.Ordinal with IndexOf in AnsiConsole
2016-03-28 16:09:51 -04:00
Livar
105536dc38
Making the dotnet test images relative paths.
...
skip CI please
Otherwise, it will only work in our branch.
This is a documentation only change.
2016-03-28 11:14:50 -07:00
eerhardt
cefed77ca9
Updating dependencies from last known good builds
2016-03-28 17:27:54 +00:00
Livar
1ff15e35bc
Merge pull request #2078 from livarcocc/dotnet_test_help
...
Added a Help property to DotnetTestParams that indicates when the par…
2016-03-28 09:31:09 -07:00
Piotr Puszkiewicz
99423b1bb4
Merge pull request #2086 from enricosada/fix_missing_default_win32manifest
...
fix F# build, missing default.win32manifest
2016-03-28 00:54:01 -07:00
Senthil
a8eaa9c787
Package corehost
2016-03-28 00:21:27 -07:00
Enrico Sada
88273b7751
fix missing default.win32manifest
2016-03-27 22:43:22 +02:00
Senthil
4f16db1fc3
Exec mode deps file resolve hostpolicy
2016-03-27 10:52:19 -07:00
Zlatko Knezevic
6d64f232da
Add test to commands remove repl
...
Add test command to the common commands output. Remove repl, since the latest bits don't have it anymore.
Fix #1287
2016-03-26 11:47:21 -07:00
Livar
7397d20549
Merge pull request #2079 from livarcocc/dotnet_help_test
...
Added tests to the general help message.
2016-03-26 10:40:03 -07:00
Livar Cunha
d745484b1c
Added tests to the general help message.
2016-03-25 21:13:22 -07:00
Livar Cunha
d07a1091a8
Added a Help property to DotnetTestParams that indicates when the parsed arguments included the help param. The TestCommand then uses this property of the params to decide whether to continue with the execution or just return. Also added unit tests around this as well as introduced a DotnetTestRunnerFactory to make these unit tests possible and also push the responsibility to figure out which runner to use to the factory.
2016-03-25 20:17:15 -07:00
Piotr Puszkiewicz
d4d49ae0e3
Merge pull request #2076 from enricosada/tell_fsc_about_portablepdb
...
compile-fsc, support debugType and fix
2016-03-25 19:19:24 -07:00
Justin Emgarten
895c4e0221
Merge pull request #2074 from dotnet/emgarten/nuget1083
...
Updating nuget to 3.5.0.1083
2016-03-25 18:52:52 -07:00
Livar
47241189b2
Merge pull request #2069 from dotnet/dotnet_test_documentation
...
Added a dotnet test, adapters and runners document
2016-03-25 17:43:57 -07:00
Justin Emgarten
86ee8a561b
Updating nuget to 3.5.0.1083
2016-03-25 16:37:12 -07:00
Livar
369fb4803e
Added links to each payload of the messages.
2016-03-25 16:33:41 -07:00
Enrico Sada
ac05fde9bd
fsc, always pass --nocopyfsharpcore to disable copy of FSharp.Core to output directory
2016-03-26 00:27:43 +01:00
Livar
4753b5df27
Added a dotnet test, adapters and runners document
...
It details the interactions between dotnet test, adapters and runners by describing the communication protocol between these pieces and the parameters that they support.
2016-03-25 15:51:17 -07:00
Eric Erhardt
77f4d9955c
Merge pull request #2067 from eerhardt/UpdateDependencies23925
...
Updating CoreFX to rc2-23925
2016-03-25 17:21:14 -05:00
Senthil
a15988be14
Merge pull request #2064 from schellap/app-local
...
RID specific and app local loads
2016-03-25 14:52:06 -07:00
eerhardt
ed887d183a
Updating dependencies from last known good builds
2016-03-25 16:48:25 -05:00
Andrew Stanton-Nurse
21782dd8fb
Merge pull request #2060 from dotnet/anurse/fix-osx-build
...
fix OSX issue in VSO build
2016-03-25 14:19:23 -07:00
Senthil
b82c998614
Probe app dir relative asset rel path
2016-03-25 13:50:16 -07:00
Livar
3fe46df8b4
Merge pull request #2051 from livarcocc/portable_pdb
...
Support portable pdbs in Testing.Abstractions
2016-03-25 13:08:33 -07:00
Andrew Stanton-Nurse
9f3727d1a7
fix OSX issue in VSO build
...
also, make it possible to have more verbose build runs when needed
2016-03-25 12:49:53 -07:00
Senthil
01dda26a6f
RID specific and app local loads
2016-03-25 12:04:52 -07:00
Enrico Sada
c39678d3cb
support project.json compilationOptions.debugType in fsc
...
it's used only if set, default is old behaviour (debug enabled only on win)
2016-03-25 19:53:01 +01: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
Enrico Sada
b6d5315b47
fix use latest version of fsc
...
This reverts to use latest version of fsc, downgraded by 43512b8973
2016-03-25 16:48:00 +01:00
Senthil
f1303bd289
Merge pull request #2049 from schellap/app-local
...
App local wins for portable apps as well
2016-03-24 20:45:30 -07:00
Senthil
d935937174
Call unload on the libraries opened
2016-03-24 19:20:49 -07:00
Eric Erhardt
30346443fb
Merge pull request #2035 from eerhardt/Version
...
Changing --version in the CLI
2016-03-24 21:15:09 -05:00
Senthil
a1fc588316
App local wins for portable apps as well
2016-03-24 18:43:54 -07:00
Andrew Stanton-Nurse
4e8569d57f
herp derp netstandard
2016-03-24 16:07:17 -07:00
Andrew Stanton-Nurse
9414e8d8ad
fix DependencyModel project.json
2016-03-24 15:31:47 -07:00
Mihai Codoban
f14b4cbd3d
Trigger rebuild when the CLI changed
...
- Stamp each project with the CLI version it was last compiled with
- Rebuild those projects with a local version file that does not match the one of the current CLI that is building it
2016-03-24 15:17:49 -07:00
Andrew Stanton-Nurse
5090f3bbb5
change dependency model to netstandard 1.5
2016-03-24 15:11:54 -07:00
Andrew Stanton-Nurse
f7188ddb20
fix issue in LibraryExporter with placeholders
2016-03-24 16:05:25 -05:00
Eric Erhardt
1febe48d71
Updating CoreFX version to rc2-23924
2016-03-24 16:05:24 -05:00
Eric Erhardt
95ad1ee461
Removing Microsoft.CodeAnalysis.CSharp from the sharedframework dependency since Microsoft.NETCore.App now has the correct version.
2016-03-24 16:04:37 -05:00
Eric Erhardt
a5813791d5
Updating CoreFX version to rc2-23923
2016-03-24 16:04:37 -05:00
Eric Erhardt
c07115f52c
Add System.Net.Requests dependency to dotnet to hoist the out of date version brought in by FSharp.Compiler.
2016-03-24 16:03:22 -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
Pavel Krymets
7a82a98e4c
Merge pull request #2016 from dotnet/pakrym/signature
...
Add runtime signature into deps.json
2016-03-24 13:57:40 -07:00
Eric Erhardt
c560e9af3c
Changing --version in the CLI
...
`dotnet --version` returns just the version number. This helps tools get this information without having to parse the full info.
Introduce a new argument `--info` that returns the current "long form". With this, we also change the long form to say "RID" instead of "Runtime ID" simply because that would avoid any future localization issues and thus make the parsing easier.
Fix #1607 #1882
2016-03-24 15:44:25 -05:00
Pavel Krymets
f75481f731
Add runtime signature into deps.json
2016-03-24 12:00:01 -07:00
Andrew Stanton-Nurse
0a369aa6d5
update to new nuget and turn inference on
2016-03-24 11:43:37 -07:00
Eric Erhardt
f0fd9ae901
Merge pull request #2021 from schellap/erhardt
...
Logging and case format fix
2016-03-24 13:05:27 -05:00
Senthil
cee93b6cc2
Logging and case format fix
2016-03-24 01:47:57 -07: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
Bryan
07f3d60355
fixes #1858
2016-03-23 16:19:48 -07:00
schellap
43e25ae571
Add support for runtime config
...
-- Remove GC Server Default
2016-03-23 00:04:50 -07:00
Piotr Puszkiewicz
3a63972af1
Merge pull request #1898 from enricosada/bump_fsharp_and_fix
...
Bump fsharp and fix
2016-03-22 19:51:19 -07:00
Bryan Thornbury
9040a9094f
Merge pull request #1851 from dotnet/brthor/run-arg
...
Change dotnet run to call the muxer
2016-03-22 18:09:07 -07:00
Senthil
61a47dade4
Merge pull request #1984 from schellap/fxr-move2
...
Make corehost shim thinner
2016-03-22 11:19:20 -07:00
Krzysztof Wicher
30b5d7a952
Merge pull request #1991 from Peter-Schneider/AnsiConsoleColorHandling
...
AnsiConsole color handling
2016-03-22 10:57:53 -07:00
Peter Schneider
d80218ab42
Color Handling in AnsiConsole
2016-03-22 16:49:08 +01:00
Piotr Puszkiewicz
3616378130
Merge pull request #1946 from jamesqo/md-typos
...
Fix a couple of typos in the .md/doc files
2016-03-22 08:39:54 -07:00
schellap
10ed8d6162
Move logic from corehost to hostfxr
...
- Also change probe for hostfxr in host/fxr/x.y.z
2016-03-22 00:51:01 -07:00
James Ko
4a26cde880
Fix typo in CompileCommand class name
2016-03-22 00:11:37 -04:00
James Ko
c7f980d77d
Fix a couple of typos in the .md/doc files
2016-03-22 00:11:19 -04:00
Eric Mellino
241ef778ea
Crossgen by default, add additional dependency to shared framework
...
* We need a newer version of Microsoft.CodeAnalysis.CSharp than the one
that NETCore.App depends on. When a newer version of NETCore.App is
published with a higher dependency, we can remove this explicit
reference.
2016-03-21 15:30:37 -07:00
Pawel Kadluczka
ca74a9b177
Merge pull request #1877 from dotnet/pawelka/outname_new
...
Enable specifying output assembly name in compiler options
2016-03-21 14:29:23 -07:00
moozzyk
ce6ce3c49b
Folding ProjectFile.Name to compiler options
2016-03-21 12:42:33 -07:00
moozzyk
621d8376c3
Fixing publish to create executable with the outputName if specified
2016-03-21 12:42:32 -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
Sridhar Periyasamy
11538d2d3d
Fix 'version' to display commit sha.
...
Fixes #1958
2016-03-21 11:42:09 -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
Senthil
d05abb8c0b
Merge pull request #1942 from dotnet/schellap-bsymbolic
...
Add bsymbolic flags to linux linker
2016-03-18 15:26:53 -07:00
Senthil
faaea62b46
Merge pull request #1747 from mylibero/arm
...
Support cross-build in corehost
2016-03-18 09:35:56 -07:00
Dongyun Jin
2ef70fc16d
Support cross-build in corehost
...
- Add ability to specify `cross` and `C++ Cross Compiler`
when building corehost for ARM.
- Add usage print in the corehost build script
- Fix bugs found on the cross compiler
Signed-off-by: Dongyun Jin <dongyun.jin@samsung.com>
2016-03-18 20:55:27 +09:00
Senthil
062e538657
Merge pull request #1554 from schellap/hostpfiles
...
Fix program files probe and HOME dir
2016-03-18 01:46:37 -07:00
Senthil
cbde132974
Merge pull request #1938 from dotnet/stat-isdir
...
Check stat mode in addition to dirent type
2016-03-17 18:34:21 -07:00
Senthil
d35d0cc543
Merge branch 'rel/1.0.0' into hostpfiles
2016-03-17 18:32:55 -07:00
Senthil
8c486908a8
Add bsymbolic flags to linux linker
...
The problem with not having these flags are:
`libhostfxr.so` and `libhostpolicy.so` would still keep using common functions that are defined in `dotnet.exe` effectively void a servicing override. Of course, servicing of common code would service both `dotnet.exe` and `libhostpolicy.so`, but this is needed to match Windows for consistency and is easier to reason about.
2016-03-17 18:25:02 -07:00
Bryan Thornbury
2afe032280
Add tests and change to call exec
2016-03-17 18:20:52 -07:00
Bryan Thornbury
863f1cd91d
add the additional probing path to dotnet run
...
remove colon
2016-03-17 18:20:52 -07:00
Senthil
9093b18ac2
Check stat mode in addition to dirent type
2016-03-17 17:13:53 -07:00
Bryan Thornbury
861b7494d3
Add hacky abstraction for quickly parsing RuntimeConfig.json and determining if it's a portable app
2016-03-17 16:39:48 -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
873310f8f4
fix commandPath ordering for corehost
2016-03-17 14:06:15 -07:00
Bryan Thornbury
98b0c03444
Merge branch 'brthor/nuget-tools-on-shared-fx', remote-tracking branch 'origin' into cli-sdk-stages
2016-03-17 13:56:51 -07:00
Bryan Thornbury
937141c6a5
Cleanup
2016-03-17 13:44:32 -07:00
Bryan Thornbury
f0c2cb2c18
product changes to support portable tools
2016-03-17 13:44:32 -07:00
Bryan Thornbury
b59c4333ea
Remove tool restore from dotnet restore, use nuget tool restore
2016-03-17 13:44:32 -07:00
Livar Cunha
45abe6d52b
Added extra params (base-build-path, runtime, framework) and refactored parameter parsing into its own class with tests.
...
Changed program.cs to use the new dotnettestparams.
Hooked up the new parameters to the ProjectDependencyCommandResolver
2016-03-17 13:29:16 -07:00
Pavel Krymets
f5330cdd1f
Merge pull request #1918 from dotnet/pakrym/deps-nulls
...
Remove DependencyModel csv reader, add lots of null checks everywhere
2016-03-17 11:35:20 -07:00
Senthil
a766bc173e
Relax error case if runtime config is not present
2016-03-17 11:32:46 -07:00
Senthil
b93b915cc6
Fix error check and verbose
2016-03-17 11:05:49 -07:00
Pavel Krymets
6970a75746
Remove csv reader
2016-03-17 10:03:26 -07:00
schellap
ee27b1ff11
Enable logging and fix xunit runtimeconfig
2016-03-17 01:53:52 -07:00
Senthil
6fec9ad1fa
Merge pull request #1921 from schellap/deps-fmt
...
Return empty entries instead of creating empty ones
2016-03-17 00:30:56 -07:00
Senthil
8ff5f9df6f
Return empty entries instead of creating empty ones
2016-03-16 20:50:32 -07:00
Senthil
adda6fcdfc
Merge pull request #1915 from schellap/deps-fmt
...
Revert merging relpaths and relax erroring
2016-03-16 20:46:34 -07:00
Senthil Chellappan
00905c3faf
Revert merging relpaths and relax erroring
2016-03-16 19:03:21 -07:00
Pavel Krymets
665dc9bcce
Add null checks everywhere in dependency model
2016-03-16 16:53:59 -07:00
Pavel Krymets
28d5f6125c
Merge pull request #1906 from dotnet/pakrym/legacy-deps
...
Generate embedded deps file that previos versions of DependencyModel can use
2016-03-16 15:59:17 -07:00
Senthil
0a5d95d2ad
Fix casing of shared and add DT_DIR to readdir
2016-03-16 14:09:48 -07:00
Pavel Krymets
1cbec5a494
Generate embedded deps file that previos versions of DependencyModel can use
2016-03-16 12:43:41 -07:00
Sridhar Periyasamy
570e348edf
Make corehost pick pre-release SDK version when no production releases.
...
Also fix STL crash.
2016-03-16 10:59:17 -07:00
Eric Erhardt
0faa7936ac
Merge pull request #1899 from eerhardt/RevertXProjChange
...
Revert "Update the .xproj files to reference the "DotNet" targets and props instead of "DNX"."
2016-03-16 12:43:44 -05: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
Enrico Sada
5728330a2f
use response files by default
2016-03-16 16:32:42 +01:00
Enrico Sada
b6fcbbdd86
compile-fsc fix and features
...
Support project.json compilationOptions:
- nowarn
- warningsAsErrors
- keyFile
- delaySign
Use env var to configure compile-fsc behaviour:
- DOTNET_FSC_PATH the fsc path. Default the bundled fsc.exe
- DOTNET_COMPILEFSC_USE_RESPONSE_FILE if '1' then pass a response file
to fsc instead of all arguments. Default pass all arguments
- DOTNET_FSC_EXEC configure how to run the fsc. Values:
- RUN run fsc passing fsc args
- COREHOST run corehost passing fsc and fsc args. The default
Use the same order of fsproj msbuild task for fsc arguments to make it easier
compare fsproj build and .net cli build
Fix --resource with path and name
Enable --debug (-g) if pdb
The generated assembly info file must be in the last - 1 position
in source files list.
1. the generated assembly info file must be in the last possibile position to
override the attributes
2. The last file is the source file with main
2016-03-16 16:29:23 +01:00
Pavel Krymets
77e511c4d4
Generate runtime graph when building runtime
2016-03-16 08:27:55 -07:00
Enrico Sada
c2afaa265f
bump f# compiler and FSharp.Core
2016-03-16 16:19:28 +01:00
Enrico Sada
8739803778
netcore frameworks
2016-03-16 03:01:05 +01:00
Livar
1c9803d980
Merge pull request #1786 from livarcocc/tests_as_client
...
Modifying the reporting channels to make the AdapterChannel a client
2016-03-15 16:37:26 -07:00
Senthil
4253c8c904
Merge pull request #1878 from schellap/deps-json2
...
Update iterator properly and merge rid/non-rid assets
2016-03-15 15:21:16 -07:00
Andrew Stanton-Nurse
cc00d9d839
update project templates for portable app
...
also fix dotnet run
2016-03-15 15:18:48 -07: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
Senthil
967fc370a0
Update iterator and merge rid/non-rid assets
2016-03-15 14:05:47 -07:00
Pavel Krymets
ffedcb315f
Merge pull request #1875 from dotnet/pakrym/graph-reader
...
Fix runtime graph reader
2016-03-15 14:05:42 -07:00
Bryan Thornbury
63772ccda1
Merge branch 'rel/1.0.0' into brthor/1702
2016-03-15 13:30:42 -07:00
Eric Erhardt
dc699729a4
Merge pull request #1871 from eerhardt/FixProjFiles
...
Update the .xproj files to reference the "DotNet" targets and props instead of "DNX".
2016-03-15 15:23:47 -05:00
Pavel Krymets
a76558f560
Fix runtime graph reader
2016-03-15 12:51:43 -07:00
Piotr Puszkiewicz
2d3d2a9078
Bump NuGet to 763, --verbosity verbose, --disable-parallel
2016-03-15 12:35:23 -07:00
Andrew Stanton-Nurse
e1a7044b45
add manual merge of RID fallback graph for Windows
2016-03-15 12:02:39 -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
Eric Erhardt
3714cc25e9
Merge pull request #1865 from eerhardt/RemoveWorkarounds
...
Removing project.json dependency workarounds that were needed for CoreFX 23901 build.
2016-03-15 13:58:21 -05:00
Eric Erhardt
ce3c594880
Removing project.json dependency workarounds that were needed for CoreFX 23901 build.
2016-03-15 12:34:32 -05:00
Pavel Krymets
c10df6b6a5
Add support for loading and merging runtime deps json
2016-03-15 09:32:39 -07:00
Eric Erhardt
9b0892c399
Merge pull request #1825 from eerhardt/NewCoreFx
...
Updating dependencies from last known good builds
2016-03-15 10:50:40 -05:00
Senthil
f615f74a39
Shared FX and Portable Support for Unified Host
...
- Add Casablanca CPP Rest SDK to corehost
- Correct understanding of portable runtimeTargets section
- Fix minor issues and automation for RID
- CLI Build Integration
- Add API to consume deps files
- Unix doesn't like major as a variable name
- Define NOMINMAX for Windows.h
- Support APP_CONTEXT_DEPS_FILES
- mscorlib.ni can come from native
- Append Dotnet.dll to sdk path
- Muxer vs standalone distinction based on own name.dll
2016-03-15 01:03:52 -07:00
Bryan Thornbury
1c44d2566e
copy the deps json for packaged commands
2016-03-14 18:41:08 -07:00
Bryan Thornbury
c8617c97e8
remove resgen as a top level command
2016-03-14 16:49:38 -07:00
Eric Erhardt
0de7a4c934
Workaround F# requiring Win32.Registry, which doesn't restore on Unix machines, by excluding it from compile.
2016-03-14 17:58:14 -05:00
Eric Erhardt
457e842c76
Add workaround for System.Reflection.TypeExtensions. Roslyn is still referencing the old version, which is now incompatible with the latest System.Reflection nupkg.
2016-03-14 17:58:14 -05:00
eerhardt
8953400eee
Updating dependencies from last known good builds
2016-03-14 17:58:13 -05:00
Eric Mellino
09c8e298ed
Switch sharedframework project.json to Microsoft.NETCore.App
...
Use local-build corehost.exe
This is staying in the repo, so we can copy the local-built version.
Copy deps and deps.json, make sure corehost temp dir exists
Add additional runtimes to the sharedframework's project.json
Delete an unused file, modify crossgen target condition
* sharedhost\project.json is unused. It is copied from the local build.
* the crossgen target was conditioned on an environment variable, but the
variable could be set to anything. Instead, make sure it is either
"true" or "1".
Use stage2 instead of stage0 for shared framework restore
2016-03-14 14:43:31 -07:00
Andrew Stanton-Nurse
008a1ad0fa
put 'native' section in to runtime targets for deps file
2016-03-14 12:57:34 -07:00
Livar
78778b883f
Merge pull request #1795 from mellinoe/wip-build-stuff-rebased
...
Add installer scripts for the shared framework/host, incorporate into build
2016-03-14 09:59:12 -07:00
Andrew Stanton-Nurse
d08e83d5db
add support for portable application layout
2016-03-12 11:52:29 -08:00
Jan Vorlicek
cef64895c8
Merge pull request #1814 from janvorli/fix-pthread
...
Fix pthread library option
2016-03-12 01:46:05 +01:00
Troy Dai
9df3a986d8
Fix incorrect reference assembly path
2016-03-11 11:53:22 -08:00
Troy Dai
429625061d
Merge branch 'troy/531' into rel/1.0.0
2016-03-11 09:53:18 -08:00
Jan Vorlicek
72ad7aa4db
Fix pthread library option
...
While building CoreRT on OSX, I have noticed a warning:
clang: warning: argument unused during compilation: `-pthread`
The issue is that the options should be `-lpthread` instead.
2016-03-11 12:24:36 +01:00
Senthil
c5320732c4
Merge branch 'rel/1.0.0' into hostpfiles
2016-03-11 01:13:40 -08:00
Troy Dai
78257e7388
Update DotNEtReferenceAssembliesPathResolver
2016-03-10 16:57:57 -08:00
Troy Dai
dc7bab9e28
Probe for .NET reference assemblies path
2016-03-10 16:01:11 -08:00
Pavel Krymets
5a121215cd
Merge pull request #1801 from dotnet/pakrym/deps-rids-paths
...
Fix issue with paths in deps.json not being normalized to have `/`
2016-03-10 15:20:36 -08:00
Troy Dai
37544303cb
Merge branch 'troy/1762' into rel/1.0.0
2016-03-10 14:24:23 -08:00
Pavel Krymets
5214d176cd
Fix issue with paths in deps.json not being normalized to have /, also moves rid graph section to root leve instead of being inside arget subsection
2016-03-10 13:45:06 -08:00
Troy Dai
a50a5a9d73
Retry when lock file is occupied by other process
2016-03-10 11:46:52 -08:00
Pavel Krymets
dceefd05c3
Fix issue preventing MVC gate to take a new dotnet cli
2016-03-10 11:33:39 -08:00
Matt Ellis
4df5ed39d5
Crossgen Shared Framework managed assemblies
...
- Use Crossgen's Ready To Run mode on all of the managed assemblies
that make up the shared framework.
- Upgrade the version of the shared framework to match what is used
in the rest of CLI (see the comment in SharedFrameworkTargets.cs to
understand why this is needed).
- Remove the IL mscorlib.dll image, since the Crossgen'd image is
already published.
Fixes dotnet/corefx#6753
2016-03-10 04:38:15 -08:00
Matt Ellis
e6bcfee4a4
Add SharedFramework MSI Authoring
2016-03-10 03:37:41 -08:00
Matt Ellis
04d21e6693
Add Shared Host MSI Authoring
...
Ideally in the project.json for the shared host we would just list the
actual package that holds the shared host, instead of all of
NetStandard.Library, but doing some leads to compliation errors, since
publish wants to include a compile step that has a generated
AssemblyAttributes file which references types like System.String.
2016-03-10 03:37:41 -08:00
Andrew Stanton-Nurse
e1be00ecb3
take NuGet with OSX fix
2016-03-09 15:59:41 -08:00
Pavel Krymets
9631ba8927
Generate actual deps.json file
2016-03-09 14:11:43 -08:00
Pavel Krymets
85b7336529
Merge pull request #1750 from dotnet/pakrym/deps-duplication-fix
...
Fix dependency context builder regression
2016-03-09 13:43:53 -08:00
Troy Dai
628f54c77c
Send an empty error message after global error is cleared
2016-03-09 08:15:18 -08:00
Pavel Krymets
dd3c0f50db
Add reference assemblies and runtime targets support to dependency context builder.
2016-03-08 12:03:10 -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
Pavel Krymets
a0db5086f6
Fix dependency context builder regression
2016-03-08 09:22:17 -08:00
Senthil
7789a42766
Merge branch 'rel/1.0.0' into hostpfiles
2016-03-08 02:20:54 -08:00
Bryan Thornbury
2b90a2f831
Merge pull request #1692 from dotnet/brthor/refactor-resolvers
...
Refactor Command Resolvers, Add Tests, and Fix #1649
2016-03-07 16:50:14 -08:00
Bryan Thornbury
9f58651b6c
PR Feedback and nearly full test coverage for resolvers
...
fix
resolve rebase issues
2016-03-07 14:45:16 -08:00
N. Taylor Mullen
2f2b3df35b
Merge pull request #1738 from dotnet/nimullen/createloadcontextfix
...
Add ability to specify `outputPath` when creating a `ProjectContext`s `AssemblyLoadContext`.
2016-03-07 14:38:35 -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
Bryan
42cc39252e
Refactor CommandResolver into individual CommandResolver Implementation
...
classes.
Write Unit Tests covering Composite DefaultCommandResolver and
ScriptCommandResolver.
baseline
Baseline2
2016-03-07 14:34:23 -08:00
Livar
1fccdbd6ec
Merge pull request #1697 from livarcocc/tests_to_run_in_message
...
Modified the protocol to send a the list of tests to run in a message
2016-03-07 14:01:45 -08:00
N. Taylor Mullen
2ea26645e6
Add ability to specify outputPath
when creating a ProjectContext
s AssemblyLoadContext
.
...
- Prior to this change `outputPath` would always default to `null` which didn't work well with `VisualStudio` tooling. The tooling enables the user to specify a project's `outputPath` but more importantly defaults the project's `outputPath` to the root directory (instead of the project directory).
2016-03-07 12:01:07 -08:00
Pavel Krymets
781678de92
Merge pull request #1703 from dotnet/pakrym/deps-json
...
Add support for new `deps.json` format without some features.
2016-03-07 11:32:32 -08:00
Livar Cunha
e498f1dc9d
Modified the protocol to send a the list of tests to run and to invoke the test runner with the wait command flag so that the runner waits for this list.
...
Modified the reporting channel factory to have a create for the adapter and a create for the runner channel. Also added an event to the create runner channel that people can listen and be notified when a test runner channel was created. I use this event to give the message handler access to the runner channel.
Added the new message handler to DotnetTest.
2016-03-04 17:14:56 -08:00
Jared Parsons
fa143c4d1c
Revert to full PDB on Windows as a default
...
The change to default to Portable PDB by default has broken a number of downstream consumers. Moving back to full PDBs by default on Windows.
This leaves the option for portable PDB in place. Hence you can still enable it via the following entry in project.json:
``` json
"compilationOptions": {
"debugType": "portable"
}
```
2016-03-04 15:33:06 -08:00
Pavel Krymets
1658a40806
Fix tests
2016-03-04 15:05:29 -08:00
Pavel Krymets
1d7cff48d4
PR
2016-03-04 14:12:16 -08:00
Pavel Krymets
304127ec0d
Fix wrapped project export
2016-03-04 12:16:23 -08:00
Bryan Thornbury
42a17b5d98
Merge pull request #1684 from dotnet/brthor/fix-bold-bleed
...
fix bold bleed
2016-03-04 11:10:43 -08:00
Pavel Krymets
25d70c07c3
PR
2016-03-04 11:06:12 -08:00
Pavel Krymets
7df754be36
Finish builder tests
2016-03-04 11:01:15 -08:00
Pavel Krymets
0a0c4a830e
Even more tests
2016-03-04 11:01:15 -08:00
Pavel Krymets
dcaea8c7ca
More work and tests
2016-03-04 11:01:15 -08:00
Pavel Krymets
9bd9ca1512
Add more tests and some reading logic
2016-03-04 11:01:15 -08:00
Pavel Krymets
3f4c263670
Add support for json deps file
2016-03-04 11:01:15 -08:00
David Fowler
3ed9361763
Merge pull request #1699 from dotnet/davidfowl/error-handling
...
Tweak error handling a little bit
2016-03-04 07:54:19 -08:00
David Fowler
25b5ce9c77
Tweak error handling a little bit
...
- Handle unresolved projects better in build
- Move unresolved package marking to the resolver
- Added ToString to LibraryKey for easy diagnosis of errors
2016-03-04 01:17:37 -08:00
Livar
049bd17ed2
Merge pull request #1696 from livarcocc/test_abstractions_tests_in_message
...
Adding a new SendWaitingCommand message to the test sinks
2016-03-03 21:31:30 -08:00
Eric Erhardt
a709f772f1
Merge pull request #1645 from eerhardt/NewCorefx
...
Move to CoreFX build rc2-23901
2016-03-03 23:21:52 -06:00
Livar Cunha
59033ba1e7
Adding a new SendWaitingCommand message to the test sinks so that they can tell dotnet test that the runner is ready to receive commands.
2016-03-03 19:53:33 -08:00
Senthil
5cf680d2f0
Merge pull request #1678 from schellap/master
...
Fix host case comparison
2016-03-03 18:01:47 -08:00
Jared Parsons
d7cabe152f
Merge pull request #1392 from jaredpar/pdb
...
Make Portable PDB the default on Windows
2016-03-03 17:14:51 -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
81baacd641
Fix issue 1665: prevent sending null error message
2016-03-03 13:13:06 -08:00
Livar
d918d527bd
Merge pull request #1676 from livarcocc/unbound_test_collection
...
TestMessagesCollection with unbound BlockingQueue
2016-03-03 12:36:43 -08:00
Bryan
5cb1703a76
fix bold bleed
2016-03-03 12:15:16 -08:00
Pavel Krymets
d701e54d8c
Merge pull request #1671 from dotnet/pakrym/package-cache
...
Search for package cache hash file in right directory
2016-03-03 11:37:13 -08:00
schellap
58822cc37b
Fix host case comparison
2016-03-03 01:52:17 -08:00
Livar Cunha
db218ab11c
This fixes a race condition where if the runner takes to long to execute and we get two messages before the runner quits, we hit a blocking piece of code when trying to add new messages to the queue, which leads to a deadlock, where we need to finish the runner to process new messages but the runner won't quit because it is waiting for us to accept is other messages.
2016-03-03 00:11:13 -08:00
Livar Cunha
03b6b8ada0
We had a bug where the framework for design time runs of dotnet test was hard coded into dnxcore50. Moved some things around so that we will pack the target framework from the project context.
2016-03-02 22:15:02 -08:00
Pavel Krymets
30992babaf
Search for package cache hash file in right directory
2016-03-02 20:04:26 -08:00
Jared Parsons
2d25d1232a
Emit isn't on the CSharpCompilationOptions
2016-03-02 18:22:14 -08:00
Jared Parsons
b378fb0419
fixes
2016-03-02 16:24:54 -08:00
Jared Parsons
2deb9d343a
Plumbde through the option
2016-03-02 15:53:59 -08:00
Livar
5b1ad5fe3e
Merge pull request #1652 from livarcocc/test_output_param
...
Added output param to dotnet test
2016-03-02 14:09:40 -08:00
Jared Parsons
e56858b4b3
Make Portable PDB the default on Windows
...
VS 2015 Update 2 CTP has been released which has support for debugging portable PDBs. Now is a good time to make the transition so a) we can root out any remaining issues with portable PDBs and b) have larger dogfooding of the VS debugging experience here.
closes #704
2016-03-02 09:58:41 -08: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
ebab175d17
Added a command factory where you can fix the output parameters that will flow to the commands, like configuration, outputpath and in the future, framework, runtime and base path.
2016-03-01 22:28:46 -08:00
Livar Cunha
9953ab48b3
Changing from serializing ProcessStartInfo to our own TestStartInfo class, because serializing ProcessStartInfo doesn't really work cross-platform due to unsupported properties.
2016-03-01 21:53:51 -08:00
Troy Dai
4dff646f5d
Update ProjectManager error message
2016-03-01 19:45:45 -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
bcd656daec
Fix logging error
2016-03-01 12:58:30 -08:00
Sridhar Periyasamy
de89da6a3a
Merge pull request #1551 from Sridhar-MS/cli-x86-support
...
Add support for building Windows x86 version of dotnet CLI
2016-02-29 14:59:51 -08:00
Livar
208a0f31ec
Merge pull request #1609 from livarcocc/dotnet_test_xunit_command
...
Dotnet test creating the command using dotnet-test-xunit
2016-02-27 15:03:14 -08:00
Dennis Fischer
61281b4580
Add a auto-generated header to the assembly info file that is created on build
2016-02-27 15:05:45 +01:00
Sridhar Periyasamy
85ca7c183d
Upgrade the roslyn packages to 1.3.0-beta1-20160225-02.
...
This version has the fix for https://github.com/dotnet/roslyn/issues/8951
2016-02-26 16:00:54 -08:00
Troy Dai
268dd603cc
Ensure Microsoft.CSharp reference is not duplicated
2016-02-26 15:06:39 -08:00
Sridhar Periyasamy
01d2656be1
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into cli-x86-support
2016-02-26 14:34:25 -08:00
Livar Cunha
5b5d2cd31a
Adding a new factory that creates the command as is, without adding the dotnet to it. We need it so that the runner can pass dotnet-test-xunit and get back the final corehost command, which is the right one for VS to use and attach to.
2016-02-26 14:34:23 -08:00
Livar
14e8b184bd
Merge pull request #1597 from livarcocc/debug_tests_fixes
...
Test Runner test started needs to handle messages when dotnet test is in TestStarted state
2016-02-26 10:49:36 -08:00
Pavel Krymets
9d09d8aeac
Merge pull request #1594 from dotnet/pakrym/dth-ref
...
Fix design time host regression that caused project references being additionaly referenced as metadata
2016-02-25 19:50:08 -08:00
Senthil
f165aa5e68
Add cpp compiler flags
2016-02-25 18:12:00 -08:00
Livar Cunha
46b1fb42c0
Test Runner test started needs to handle messages when dotnet test is in a TestStarted state, as we will receive multiple test started messages. Also, to prevent a crash, when we get a message that terminates the adapter or the runner, we need to stop listening. Unfortunately, this needs to be directly where we read the messages, because if we give a handler a chance to handle that message, the reader will already be trying to read again.
2016-02-25 17:36:13 -08:00
Pavel Krymets
fa55e6fa2b
Fix DHT when referencing projects
2016-02-25 13:50:10 -08:00
Livar
b00a75e3ea
Merge pull request #1552 from livarcocc/make_version_check_optional
...
Making the version check an optional message for test discovery and test run.
2016-02-25 08:35:28 -08:00
David Fowler
1fe78c2b4d
Merge pull request #1577 from dotnet/davidfowl/remove-compile
...
Remove top level compile command
2016-02-24 22:33:35 -08:00
David Fowler
c7fe191f0b
Remove top level compile command
2016-02-24 22:07:05 -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
Bryan Thornbury
6b2539cf94
Merge pull request #1539 from dotnet/brthor/unix_console_color
...
Use System.Console for colors on Unix
2016-02-24 18:18:06 -08:00
Pavel Krymets
6013ee0981
Merge pull request #1565 from dotnet/pakrym/messages
...
Add better messages for run scenarios
2016-02-24 17:31:45 -08:00
Livar Cunha
3f2b1d068d
Making the reporing channel port discovery and accept incoming connections separate. Before we were hanging when creating the reporting channel and never starting the test runner.
2016-02-24 16:53:16 -08:00
Pavel Krymets
1bfd7725b0
Fix wrapped project paht resolution
2016-02-24 16:40:22 -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
Bryan
a986a89dcc
update with @stephentoub 's suggested changes
2016-02-24 10:51:36 -08:00
Pavel Krymets
a074101b1d
Add better messages for run scenarios
2016-02-24 10:49:00 -08:00
Senthil
84f9ede5ef
Fix program files and HOME dir
2016-02-23 20:45:17 -08:00
Pavel Krymets
0037e0aba9
Fix dontet pack with buildbasepath
2016-02-23 19:13:50 -08:00
Pavel Krymets
62284943fc
Add support for reading DepedencyContext from deps file
2016-02-23 18:16:40 -08:00
Livar Cunha
252eb4371f
Making the version check an optional message for test discovery and test run.
2016-02-23 18:13:00 -08:00
Sridhar Periyasamy
834edfbc9c
Add support for building Windows x86 version of dotnet CLI
...
- Changes to build scripts to produce Winx86 build artifacts like
zip/installer.
- Change to run Nuget-xplat in the same process as dotnet.exe instead of
spinning up a new 'corerun' process.
2016-02-23 18:04:49 -08:00
Livar
7407a898e0
Merge pull request #1516 from livarcocc/debug_tests
...
Modifying dotnet test to handle the new design for debug and making it unit testable
2016-02-23 17:33:36 -08:00
Bryan
619eaa0c55
Use System.Console on Unix
2016-02-23 11:45:57 -08:00
Livar Cunha
7630337074
Adding unit tests for the state machine of dotnet test. Starting the implementation of a state machine in dotnet test. Right now we only handle the TestSession:Terminate message.
...
Adding a message handler for the version check message. Also introduced an IDotnetTest that handles state and handlers (the state machine).
Adding the test discover start message handler and introducing a test runner.
Added the handler for the GetTestRunnerProcessInfo message. Also, modified dotnet test to have separate setter for the special message handlers for terminate and unknown messages and added a separate method to add new reporting channels to DotnetTest, so that it can handle the new listener for the test runner.
Added the test runner test discovery handlers.
Added handlers to deal with the test execution itself.
Updated dotnet-test program to use the message handlers during design time.
Added a test for the whole discover tests message flow.
Added a test for the run tests full message exchange.
2016-02-23 11:20:04 -08:00
David Fowler
a049eee253
Updated NuGet pacakge reference
2016-02-23 10:32:15 -08:00
Pavel Krymets
a71112ce8f
Asset refactoring and content files
2016-02-23 08:34:38 -08:00
discostu105
ceb31d8f30
styling
2016-02-23 17:28:50 +01:00
discostu105
ccb3d06f23
changed method name as suggested by david
2016-02-23 17:10:00 +01:00
discostu105
d0d3a629a5
added unit test. made if condition easier to understand.
2016-02-23 15:53:51 +01:00
David Fowler
dec4a0627f
Fix asset copy on publish when lock file instance is shared
...
- Don't mutate the library target when making a package description.
#1528
2016-02-23 02:34:56 -08:00
Pavel Krymets
f49fdd9197
Merge pull request #1501 from dotnet/pakrym/run-single-target
...
Fix run behaviour when only single target exists
2016-02-22 20:34:23 -08:00
Livar
06d31435cb
Merge pull request #1523 from livarcocc/debug_tests_abstractions
...
Adding a TestRunner.TestCompleted message to the test sinks.
2016-02-22 19:45:03 -08:00
Pavel Krymets
fcc384b175
Merge pull request #1500 from dotnet/pakrym/no-runtime-error
...
Add error message when runtime target is not found
2016-02-22 16:13:11 -08:00
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