Adam Gorman
2d73e3b535
Fixing inconsistencies that made build impossibe.
2016-05-03 11:11:31 -07:00
Adam Gorman
ba13586b1c
Offloaded more work to Task
...
Removed all unnecesary code if opted out of telemetry.
Shanged sample rate to 1 for testing purposes.
CI to just regular Test
Changed hash helper function to handle a list<string> to optimize unneceary duplicate sha256 creation
Reduced new memory allocations
2016-05-03 11:11:31 -07:00
Adam Gorman
4b905ae2bd
Reducing Telemetry performance delay
...
Added telemetry timeout
Added SHA256 hashed arguments
Added Continous Integration flag
Added variable rate sampling
Removed ExitCode from telemetry
2016-05-03 11:11:31 -07:00
PiotrP
44f6642116
Rebase Conflicts
2016-05-03 10:37:29 -07:00
PiotrP
91bfc022a2
PR Feedback
2016-05-03 10:36:48 -07:00
Piotr Puszkiewicz
304434433b
Feature Complete
...
- Add remaining test scenarios
- Refactor implementation
- Add gitignore entry for optimization profiles
2016-05-03 10:36:48 -07:00
PiotrP
6c1ef959cc
WiP
2016-05-03 10:36:05 -07:00
Andrew Stanton-Nurse
08c4aae6a9
trim build dependencies from output
2016-05-02 19:51:12 -07:00
Eric Erhardt
9a85205781
Merge pull request #2792 from eerhardt/Relative
...
Execute 'csc' with working directory set to the project directory.
2016-05-02 18:53:57 -05:00
Piotr Puszkiewicz
c907d52451
Merge pull request #2809 from eerhardt/UpdateNuGet
...
Updating NuGet references from beta to rc.
2016-05-02 11:40:10 -07:00
Troy Dai
f32683cbab
refactor WorkspaceContext ( #2736 )
...
this removes a regression in ProjectModelServer behavior
also added a test to cover target framework change in DTH
2016-05-02 11:32:24 -07:00
Eric Erhardt
6249829e68
Fix build-base-path to be converted to a full path.
...
This allows commands to run in different working directories and pass around the full path to the build-base-path, instead of a relative path.
2016-05-02 12:21:12 -05:00
Pavel Krymets
dc249cb94b
Move
efs to shared runtime
2016-05-02 09:36:02 -07:00
Eric Erhardt
9d1d937ced
Updating NuGet references from beta to rc.
2016-05-02 09:29:51 -05:00
Eric Erhardt
f2d917ed2e
Execute 'csc' with working directory set to the project directory.
...
When using a ruleset with a relative path in buildOptions, csc can't
find the file because it is not working in the same directory as the
project.
Fix #2710
2016-05-01 22:46:03 -05:00
Pranav K
9e768d9cad
Merge pull request #2767 from dotnet/prkrishn/filesystemglobber
...
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 19:57:47 -07:00
Justin Emgarten
69f1bc9937
Merge pull request #2778 from rohit21agrawal/rel/1.0.0
...
Update nuget version to 3.5.0-beta-1233
2016-04-29 19:53:48 -07:00
Mihai Codoban
57a684c912
Merge pull request #2744 from cdmihai/cdmihai/throwWhenRedirectingBadDlls
...
Add exception handling when makerunable fails
2016-04-29 18:47:35 -07:00
Pranav K
734c9fc43b
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 17:55:06 -07:00
Pranav K
1e753f7781
Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal
2016-04-29 16:06:23 -07:00
Rohit Agrawal
e0567e976f
Updating NuGet to version 3.5.0-beta-1233
2016-04-29 15:04:54 -07:00
Pranav K
944d4e543a
Merge pull request #2732 from dotnet/prkrishn/remove-cycles
...
Remove references to Microsoft.Extensions.Logging
2016-04-29 10:40:24 -07:00
Pavel Krymets
cf6fdc6dac
Merge pull request #2733 from dotnet/anurse/perf-tracing
...
Add performance tracing to dotnet cli
2016-04-29 09:45:48 -07:00
Andrew Stanton-Nurse
36e56e9d00
Add performance tracing
2016-04-29 08:16:37 -07:00
Mihai Codoban
b480eb9072
Better error messages when makerunnable fails
2016-04-28 17:49:04 -07:00
Pranav K
54cfe01869
Remove references to Microsoft.Extensions.Logging
2016-04-28 13:07:34 -07:00
Andrew Stanton-Nurse
b98bc1289d
abort build when an unresolved dependency is found ( #2696 )
2016-04-28 10:02:05 -07:00
Pavel Krymets
f8300f8747
Merge pull request #2721 from dotnet/pakry/no-deps-yes-deps
...
Fix --no-dependencies incremental check regression
2016-04-28 08:43:59 -07:00
Eric Erhardt
a9621eb469
Merge pull request #2717 from eerhardt/Spaces
...
dotnet build fails with xmlDoc = true and spaces in the path.
2016-04-27 20:36:36 -05:00
Pavel Krymets
9ffa4ad399
Fix --no-dependencies incremental check regression
2016-04-27 15:29:12 -07:00
Eric Erhardt
2ed81240fa
dotnet build fails with xmlDoc = true and spaces in the path.
...
Need to quote the xmlDoc argument to the csc compiler.
Fix #2600
2016-04-27 15:43:12 -05:00
Ajay Bhargav Baaskaran
44fd8bc2de
Updated ProjectModel
...
- Added PackOptions, RuntimeOptions, PublishOptions and updated CompilationOptions
- Added IncludeFilesResolver to parse include, exclude patterns
- Added compile, embed and copyToOutput to compilationOptions
- Renamed compilationOptions to buildOptions
- Moved compilerName into buildOptions
- This change is backwards compatible
- Added warnings to be shown when the old schema is used
- Handled diagnostic messages in ProjectReader
- Added unit and end to end tests
2016-04-27 11:49:44 -07:00
eerhardt
f8a155a4e6
Updating CoreFx to rc2-24027
2016-04-27 05:41:53 +00:00
Eric Erhardt
dd327b52a5
dotnet run doesn't accept '--' arg separator anymore
...
When moving from System.CommandLine to the DNX arg parser, we regressed in parsing arguments that should be passed to the underlying process.
Fix #2643
2016-04-26 19:57:29 -05:00
Krzysztof Wicher
c61368387b
Merge pull request #2694 from dotnet/krwq-patch-4
...
Update dotnet-pack README.md
2016-04-26 14:38:27 -07:00
Krzysztof Wicher
b7b467e5bc
Update dotnet-pack README.md
...
Skip CI please
2016-04-26 12:13:44 -07:00
Eric Erhardt
5c8ef57585
Adding all code pages for dotnet CLI.
...
Since we write to the console and create new processes and read from their stdout and stderr, we need to ensure we have all the code pages in our process. This way we can encode/decode strings correctly when writing to our Console, and when reading from spawned process's output.
Fix #2486
2016-04-26 09:36:24 -05:00
Andrew Stanton-Nurse
a729b97b35
align code in dotnet-run ( #2679 )
...
we used to use different code when --framework was specified than when it was not specified, this synchronizes them to use the same code path which removes a hidden NullRef
also adds tests to cover both cases
2016-04-25 13:53:02 -07:00
Mihai Codoban
91fb67835d
Merge pull request #2619 from cdmihai/cdmihai/globChangeDetectionRelMerge
...
Cache inputs for globbing change detection
2016-04-25 09:32:24 -07:00
Pranav K
4974df41ee
Merge pull request #2527 from dotnet/prkrishn/run-all-the-tests
...
Modify dotnet-test to run testRunner for all tfms
2016-04-24 21:51:57 -07:00
Pranav K
4e496c3523
Modify dotnet-test to run testRunner for all tfms
...
Fixes #2506
2016-04-22 16:40:03 -07:00
Mihai Codoban
a3b7c85451
Add input caching for glob change detection
2016-04-22 16:05:50 -07:00
Rohit Agrawal
7509e4d175
Update nuget version to 3.5.0-beta-1199
2016-04-22 15:27:00 -07:00
Andrew Stanton-Nurse
ef0ca39da1
Memory usage improvements in build ( #2626 )
...
* Use a WorkspaceContext in dotnet-build to cache project data across
multiple compilations in a single build action
* Dramatically reduce string and object duplication by introducing a
"Symbol Table" that shares instances of NuGetVersion, NuGetFramework,
VersionRange and string across multiple lock-file parses
Test Results:
* Testing was done by compiling Microsoft.AspNetCore.Mvc (and it's
dependencies) and taking memory snapshots after each compilation in
dotMemory
* We used to allocate ~3MB and deallocate ~2.5MB on EACH compilation in
a single build action. This has been reduced to ~120KB
allocated/deallocated
* After introducing WorkspaceContext, total memory usage spiked from 6MB
across the whole build action to about 13MB, introducing the symbol
table dropped it back to about 5-6MB.
2016-04-22 15:01:56 -07:00
Eric Erhardt
e420515c2b
Updating CoreFX to rc2-24022
2016-04-22 10:58:43 -05:00
Eric Erhardt
0c64a7ebc9
Merging with latest code.
2016-04-20 18:52:23 -05:00
Eric Erhardt
02194fca67
Fixing compiler command line options bugs.
...
- Ensure the long names start with `--`
- Handle null strings in UnescapeNewlines
- Handle bool options correctly.
- Allow dotnet run, compile-csc, and compile-fsc to handle .rsp files.
2016-04-20 18:47:38 -05:00
Eric Erhardt
6fa3a8132e
Enhance CommandLine
...
- Allow CommandLineApplication to handle .rsp files.
- Allow CommandOption to handle MultilpeValue options that have "..." at the end of their template.
- Allow CommandOption to handle boolean values with explicit or null values.
2016-04-20 18:47:37 -05: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
Eric Erhardt
d06418509d
Merge pull request #2606 from eerhardt/UpdateAspDeps
...
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
2016-04-20 18:37:16 -05:00
Pavel Krymets
88ffa548ba
Merge pull request #2574 from dotnet/pakrym/graph
...
Add multiple input project support
2016-04-20 16:12:23 -07:00
Pavel Krymets
03e698f0c2
Improve traversing performance
2016-04-20 14:01:32 -07:00
Pavel Krymets
3472aee5c9
Remove native compilation, add multiple project files and globbing
2016-04-20 11:54:16 -07:00
Eric Erhardt
bc619cb9be
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
...
The places where I removed a dependency is because a lower package (InternalAbstrations) was already bringing in that dependency.
Fix #2567
2016-04-20 13:50:34 -05:00
Zlatko Knezevic
f2515235b7
Merge branch 'rel/1.0.0' into blackdwarf-patch-2
2016-04-20 10:30:30 +02:00
Pavel Krymets
3e5b68dc43
Add project to project graph
2016-04-19 21:16:18 -07:00
Piotr Puszkiewicz
bc8b0c065f
Merge pull request #2548 from dotnet/piotrpMSFT/issue2499/importDnxcore50
...
import dnxcore50
2016-04-19 13:09:33 -07:00
Bryan Thornbury
66d6a38185
Merge pull request #2450 from dotnet/brthor/test-switch
...
Convert TestAssets to `Microsoft.NETCore.App`
2016-04-19 12:45:28 -07:00
Piotr Puszkiewicz
496ec6b474
dotnet-new template imports dnxcore50. Tests Green.
2016-04-19 11:22:45 -07:00
Pranav K
8c6c192806
Use runtime directory instead of compile directory when running tests
2016-04-19 11:15:50 -07:00
Bryan Thornbury
83d78129db
t Convert Test Assets to Microsoft.NETCore.App
...
fix dotnet-compile-fsc failures
fix test failures
2016-04-19 11:08:27 -07:00
Jonathan Miller
18ae4d4791
Merge pull request #2538 from sokket/nrefix
...
Fixing #2480 to produce an InvalidProjectException for invalid projects
2016-04-18 13:57:57 -07:00
Eric Erhardt
c9bee8a64f
Merge pull request #2550 from eerhardt/UpdateDependencies20160418052316
...
Updating CoreFx to rc2-24018
2016-04-18 15:12:57 -05:00
Jonathan Miller
a71e4a5128
Fixing #2480 to produce an InvalidProjectException when attempting to publish a
...
project folder that does not contain a project.json file
2016-04-18 11:25:54 -07:00
eerhardt
eb4952df27
Updating CoreFx to rc2-24018
2016-04-18 05:23:16 +00:00
Eric Erhardt
6afc2ca813
Invoke compile-csc in-proc
...
Since processes are expensive, suppress spawning a new process when dotnet-compile is invoking dotnet-compile-csc.
2016-04-16 00:28:57 -05:00
Andrew Stanton-Nurse
852446e859
Improve resource file support ( #2511 )
...
* Add satellite assemblies to deps file with locale data
* Publish satellite assemblies to output during publish
* Copy satellite assemblies from project-to-project dependencies on
build and publish
2016-04-15 14:45:51 -07:00
Joel Verhagen
fbe5a23318
Take the latest NuGet build
2016-04-15 12:37:45 -07:00
Zlatko Knezevic
c83a2fb6f9
Add and modify commands' README files ( #2338 )
...
* Add and modify commands' README files
Update those READMEs that are outdated. Add READMEs for dotnet pack
and dotnet restore as well.
* Removing private info, adding feedback alias
2016-04-15 10:36:31 -07:00
eerhardt
070650ebac
Updating CoreFx to rc2-24015
2016-04-15 05:25:53 +00:00
Eric Erhardt
880dcf2fc8
Merge pull request #2345 from dotnet/anurse/update-nuget
...
update nuget to 1160
2016-04-13 21:47:26 -05:00
Andrew Stanton-Nurse
71d5738fff
re-restore test projects at their destination
...
since NuGet now stores the relative path to dependent projects in the lock file, projects need to be restored when they are moved
2016-04-13 17:56:51 -07:00
Andrew Stanton-Nurse
362397a945
ensure dotnet-build can see projects under packages
2016-04-13 17:56:50 -07:00
Andrew Stanton-Nurse
2956446864
update nuget to 1160
2016-04-13 17:56:50 -07:00
Eric Erhardt
aeaf8f0380
Add back in copying of RuntimeAssets during publish.
...
Any NuGet packages that had contentFiles weren't getting the content files added to the published output directory. This breaks things like debugging in VS Code.
Fix #2459
2016-04-13 16:25:30 -05:00
Krzysztof Wicher
9d71cce383
Merge pull request #2449 from krwq/fix_2404
...
improve error message for unresolved tools
2016-04-13 12:02:00 -07:00
Pavel Krymets
482f36d26b
Merge pull request #2371 from dotnet/pakrym/low-fat
...
Make desktop publishing "half-portable" by default
2016-04-12 19:13:34 -07:00
Krzysztof Wicher
0b746ee559
improve error message for unresolved tools
2016-04-12 16:44:34 -07:00
Troy Dai
065e8352fc
Merge pull request #2441 from dotnet/troy/2420
...
Send DependencyDiagnostics after Dependencies message
2016-04-12 16:30:27 -07:00
Andrew Stanton-Nurse
a48596ff23
make 'platform' flag dependent upon CLI bitness
...
this will make net451 deployment work for x86 apps
2016-04-12 16:11:00 -07:00
Andrew Stanton-Nurse
14770ae5ba
Add tests for "half-portable" scenario
2016-04-12 16:09:53 -07:00
Pavel Krymets
2d3a1fd177
Make desktop publishing "half-portable" by default
2016-04-12 16:09:53 -07:00
Pavel Krymets
6184943910
Merge pull request #2437 from dotnet/pakrym/publish-base-path
...
Fix publish when build was ran using build-base-path
2016-04-12 15:42:58 -07:00
Troy Dai
20c24a0b36
Send DependencyDiagnostics after Dependencies message
2016-04-12 14:32:45 -07:00
Pavel Krymets
cf0673333d
Fix publish when build was ran using build-base-path
2016-04-12 13:30:18 -07:00
Bryan Thornbury
709f7b7d14
Enable Cross Publishing and add tests
...
WIP
WIP
WIP
Test out not publishing runtimeAssets
WIP
WiP x-publish
update cross-publish-test
Update Cross Publish tests
remove --config from restore
fix build
update cross publish tests
fix test compilation error
test failure fix
fix test failure
update tests
tracing
fix desktop publishing
do publish with no build, call build manually
fix
Make host publish optional, fix faux libraries?
update
Cross Publish test working
try changing test to netcore.app
fallback to host from current platform
revert change to project.json to target Microsoft.NETCore.App
fallback to compilation build output
update kestrel standalone app project.json
Make project tools command resolver test more self-contained.
make Kestrel Standalone restore against N-1
2016-04-12 13:00:04 -07:00
Senthil
38be724c3b
Make interface untyped
2016-04-11 19:58:14 -07:00
Piotr Puszkiewicz
a7ae7b0091
Merge pull request #2328 from danquirk/MoveTelemetryToDotNet
...
Move telemetry dependency out of Utils and into dotnet
2016-04-11 15:17:19 -07:00
Zlatko Knezevic
cbf5e241e3
Merge branch 'rel/1.0.0' into blackdwarf-patch-2
2016-04-08 17:53:48 -07:00
Pawel Kadluczka
44be0cb3c0
Merge pull request #2358 from dotnet/pawelka/outname_pack
...
Enabling creating packages with different names than target libraries
2016-04-08 14:24:29 -07:00
Eric Erhardt
99371436f3
Consume NETCore.App
2016-04-08 09:27:23 -05:00
Piotr Puszkiewicz
85608e42cc
Merge branch 'rel/1.0.0' into pawelka/outname_pack
2016-04-08 04:27:58 -07:00
Matt Ellis
d0ac16129d
Update package dependencies to rc2-24008
2016-04-08 04:05:26 -07:00
Pavel Krymets
ddff3a256e
Merge pull request #2342 from dotnet/pakrym/run-core-app
...
Add netcoreapp as default tfm to run
2016-04-07 20:11:08 -07:00
moozzyk
6a571e5b2a
Enabling creating packages with different names than target libraries
...
Addresses #2322
2016-04-07 16:06:59 -07:00
Pavel Krymets
ed05e164fb
Merge pull request #2337 from dotnet/pakrym/hasruntimeoutput
...
Bring `has runtime output` check back
2016-04-07 13:37:09 -07:00
Pavel Krymets
0bc7380bdb
Add netcoreapp as default tfm to run
2016-04-07 11:51:41 -07:00
Pranav K
9efebf8ef9
Merge pull request #2296 from dotnet/prkrishn/update-more-packages
...
Update to the latest AspNet packages
2016-04-07 11:04:45 -07:00
Pavel Krymets
13aee118e9
Bring has runtime output back
2016-04-07 10:22:48 -07:00
Peter Marcu
aa88de1e6c
Merge pull request #2198 from dotnet/Petermarcu-update-netcoreapp
...
Update project.json template to be netcoreapp1.0
2016-04-07 09:07:37 -07:00