Commit graph

3756 commits

Author SHA1 Message Date
Mattias Karlsson
1f52591d9e Fix invalid json in runtimeconfig (#3871)
The json in  [appname].runtimeconfig.json example is invalid, this adds the missing `,`
2016-07-15 08:52:09 -07:00
Piotr Puszkiewicz
5059e9c61b CLI Build Cleanup: Round 1 (#3869)
* dotnet-cli-build non-runnable

* Usings + License
2016-07-15 08:31:50 -07:00
Piotr Puszkiewicz
a477fe7253 Incremental build of test projects (#3859)
* If restore incrementality fails, clean out all lock files to re-enable incrementality.

* Incremental build of TestProjects

* Remove reduntant build of test projects

* Fix CI

* Fix list of executable tests

* Msi tests on net46

* Path Separators

* PR Feedback

* Win Diag

* Let's try a hack!

* And another!

* Mor Diag

* McHack

* Slashety slash slash

* One more hack
2016-07-15 00:20:23 -07:00
Livar Cunha
6d7f110122 Uploading assets using msbuild.
Copying Microsoft.WindowsAzure.Storage.dll to the sdk stage0 folder to get around issue https://github.com/Microsoft/msbuild/issues/658.
2016-07-14 16:56:20 -07:00
Eric Erhardt
164244f4df Merge pull request #3760 from svick/broken-links
Fixed docs links in READMEs
2016-07-14 15:20:17 -05:00
Eric Erhardt
dd5ae66215 Merge pull request #3857 from dotnet/ajbaaska/fix-dup-mappings
Fixed few bugs in include patterns and mappings
2016-07-14 15:18:37 -05:00
Ajay Bhargav Baaskaran
01021a0a6d Addressed feedback 2016-07-13 15:52:23 -07:00
Ajay Bhargav Baaskaran
dbf7435c3c [Fixes #3502] Fix: publishOptions: [...] not respected 2016-07-13 15:09:22 -07:00
Ajay Bhargav Baaskaran
c748c81a4a [Fixes #3856] Allow mapping of the same file to multiple target paths 2016-07-13 14:56:22 -07:00
Eric Erhardt
084d556cb4 Merge pull request #3836 from danielrbradley/fix-cmd-path-spaces
Fix building from build.cmd on a path containing spaces
2016-07-13 16:25:19 -05:00
Krzysztof Wicher
44bf7b499e Merge pull request #3812 from josteink/terminal-probe
Handle missing terminal capabilities.
2016-07-13 13:34:05 -07:00
Piotr Puszkiewicz
f63258ebaa Incremental Test Part 2 - TestAssetProjects (#3854)
* Incremetntal build of TestAsset Projects

* Cleanup

* PR Feedback
2016-07-13 12:52:33 -07:00
Bryan Thornbury
36369d2180 Merge pull request #3845 from brthor/brthor/deb
Deb Package Targets
2016-07-13 12:48:43 -07:00
Bryan Thornbury
5150f7c89b remove commented last version url 2016-07-13 12:11:23 -07:00
Bryan Thornbury
9e20cd2669 PR Feedback 2016-07-13 11:19:38 -07:00
Bryan Thornbury
975727df6b continue on error for ubuntu 16 2016-07-13 11:07:16 -07:00
Bryan Thornbury
e9d97ea7bd Fixup dotnet-sdk-debug layout 2016-07-13 11:07:16 -07:00
Bryan Thornbury
7d10620c6d fix restore issue in deb targets 2016-07-13 11:07:15 -07:00
Bryan Thornbury
38ba3066ea fix archive targets bug 2016-07-13 11:07:14 -07:00
Bryan Thornbury
003e6ba282 Deb Package Targets 2016-07-13 11:07:14 -07:00
Livar
660d81901b Merge pull request #3849 from brthor/brthor/versionbadge
Brthor/versionbadge
2016-07-13 09:17:18 -07:00
Eric Erhardt
9913f655ba Merge pull request #3848 from eerhardt/NuGetImportsBeforeAfter
NuGet imports before and after
2016-07-13 11:14:55 -05:00
Daniel Bradley
c15fc24500 Merge branch 'rel/1.0.0' into fix-cmd-path-spaces 2016-07-13 16:28:15 +01:00
Eric Erhardt
69eed12132 Merge pull request #3846 from cartermp/fs-update
Add missing comma to F# lib project.json
2016-07-12 21:08:37 -05:00
Piotr Puszkiewicz
16bedef2c5 Piotrp msft/msbuild/incremental test (#3842)
* Incremental Testing - Part 1

* Fix 'clean' bug

* Remove --fallbacksource from TestAssetPackage restore.
2016-07-12 17:10:48 -07:00
Bryan Thornbury
9229db2503 Wire version badge in publish targets 2016-07-12 17:04:24 -07:00
Bryan Thornbury
610626dce3 version badge target 2016-07-12 16:52:58 -07:00
Eric Erhardt
703da0da3e Microsoft.NuGet.ImportBefore and ImportAfter
Add Microsoft.NuGet.ImportBefore and ImportAfter files so .nuget.props and .nuget.targets files get picked up invoking 'dotnet build3'.

I also fixed some .xproj and .sln file issues to get our code to work in VS.
2016-07-12 18:44:16 -05:00
cartermp
e1be430f59 Add missing comma to F# lib project.json 2016-07-12 15:33:18 -07:00
Livar
caa4cf373c Merge pull request #3818 from livarcocc/pass_through_arguments
Pass through arguments to dotnet build3
2016-07-12 12:50:57 -07:00
Eric Erhardt
fc73287c53 Merge pull request #3789 from cartermp/fs-update
Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
2016-07-12 13:45:43 -05:00
Livar Cunha
fd077bbf28 Adding a comment about the code that removes empty spaces from the arguments array but also breaks quoted arguments. We are picking the devil we know in this case. 2016-07-12 11:23:34 -07:00
Daniel Bradley
600da0a8ac Fix building from build.cmd on a path containing spaces
Add additional quoting when passing the initial command to powershell.
2016-07-11 23:36:54 +01:00
Piotr Puszkiewicz
08e9bc903e CLI Testing via msbuild (#3779)
* Rebase

* Remove Multi-Project Validator

* Remove projectmodelserver tests

* Enable test package creation

* Incremental test restore

* WiP

* Enable Test Asset Project restore

* Build Test Assets & Restore Test Projects

* Build Test projects

* Enable Test Execution

also moves Test Targets to a well-known CLI Version [Stage 2]

* Pass throuh existing telemetry profile

* 2-space tabs

* Revert TestTargets.cs

* WiP PR feedback

* Refactoring

* Fix naming of RestoreTestAssetPackages

* DotNetTest task

* Fix merge issue

* ExecuteWithCapturedOutput

MSBuild considers StdErr output to be failures. This causes output of any test command which is expected to produce an error to be swallowed in the test.

* Workaround for always-on tracing functionality in dotnet-test

* Fix Path Separator Windows/Unix

* Seperate package build from pack

* Windows Pathing issues

* PR Feedback

* Workaround for msbuild #773

https://github.com/Microsoft/msbuild/issues/773
2016-07-11 12:46:27 -07:00
Livar
ec7fc0fc2d Merge pull request #3822 from csMACnz/patch-1
Fix typo in `Avaiable` for `dotnet new --type` error output
2016-07-11 10:13:52 -07:00
Eric Erhardt
fa59167974 Merge pull request #3794 from freefair/rel/1.0.0
Fixed bug in build process with ReadOnly file flag
2016-07-11 09:25:21 -05:00
Mark Clearwater
6df15c341a Fix typo in Avaiable
* Should be Available
2016-07-09 19:10:54 +01:00
Livar Cunha
eaf9d9603d Fixing logic to remove already processed arguments in the case of bash scripts and adding a missing come in the case of the powershell script. 2016-07-08 16:40:44 -07:00
Livar Cunha
b1ca63c7de Because we are using a CI that is still built for our old custom build, we are passing arguments there that we no longer need and that MSBuild does not understand. We can't pass them along to MSBuild, so we need to filter them out. This is what we are doing here. 2016-07-08 16:10:08 -07:00
Jonathan Miller
9885196eef Merge pull request #3811 from sokket/buildtools
Bringing down BuildTools into the build
2016-07-08 13:56:06 -07:00
Livar
d4193cd5c1 Merge pull request #3808 from livarcocc/no_forward_std_err_out
Removing ForwardStdOut and ForwardStdErr from a couple of extra places
2016-07-08 13:50:12 -07:00
Livar Cunha
0a12e1e82b Passing through extra arguments to msbuild for our powershell script. 2016-07-08 13:39:49 -07:00
Livar Cunha
3d44a2b189 Adding support to pass parameters to msbuild through build.sh. Now we need to do it for powershell. 2016-07-08 13:38:57 -07:00
Jonathan Miller
ea9a41b81c Pulling in BuildTools into CLI via the build 2016-07-08 13:16:33 -07:00
Livar
36c9a04153 Merge pull request #3809 from livarcocc/align_run_build
Aligning the two versions of run-build
2016-07-08 09:55:29 -07:00
Jostein Kjønigsen
2cba2c7688 Handle missing terminal capabilities.
When probing for terminal capabilities, tput will return exit-code 1
when the attribute is not valid for the current terminal.

If we don't handle that exit-code, the shell-script too will exit with
failure.

This patch simply ignores errors for attributes we cannot use,
resulting in the same result as if we never probed for it in the first
place.
2016-07-08 10:10:20 +02:00
Livar
dedf3f981e Merge pull request #3806 from svick/patch-5
Fixed instructions to compile without tests
2016-07-07 16:18:33 -07:00
Livar Cunha
c2fdd41764 Aligning the two versions of run-build we have in what each do and the parameters they get. 2016-07-07 16:16:53 -07:00
Livar Cunha
17ef19e788 Removing ForwardStdOut and ForwardStdErr from the ConsoleTestRunner and from dotnet verbs that are not built-in. BuiltIn verbs were already not using it. 2016-07-07 14:51:35 -07:00
cartermp
fd1da95522 Don't print arguments in F# console app 2016-07-07 14:00:42 -07:00