Commit graph

1100 commits

Author SHA1 Message Date
piotrp
5e72c88104 Rename test projects 2016-01-28 10:53:30 -08:00
piotrp
47db1b91e2 Tools Projects rename 2016-01-28 10:53:29 -08:00
Sridhar Periyasamy
c6f060d9e9 Merge pull request #1062 from robmen/fix-component-rules
Fix Component Rules violations.
2016-01-28 10:06:04 -08:00
David Fowler
4ebc704e67 Merge pull request #1067 from dotnet/davidfowl/output-paths
Fix output paths (and some other stuff associated with it)
2016-01-27 21:56:46 -08:00
David Fowler
6edac85dce Fixed copying output assets to the publish directory 2016-01-27 20:35:43 -08:00
David Fowler
d4a8fa24db Oops, fixed the asset name for the main asset 2016-01-27 14:22:06 -08:00
David Fowler
b09b00f8a5 Added a way to get output assets
- Flow it through the project context so things end up
everywhere (mostly)
2016-01-27 13:07:26 -08:00
David Fowler
543783dae4 Use consistent version of logging 2016-01-27 11:39:25 -08:00
David Fowler
096715e1a9 Fixed test
- There should not be a deps file for the full desktop case
2016-01-27 11:13:45 -08:00
David Fowler
4b80ff7490 Fixed the analyzer test 2016-01-27 11:13:45 -08:00
David Fowler
a35ae177ff - Make all of the code looking for built assets use the OutputPathCalculator
- Project dependencies are always built into their specific folders and the main project is the only one that uses the output path and intermediate output path variable.
- Publish respects the output path for publish only, not compile as part of publish. This means that publishing multiple runtimes will stomp on each other. So don't do that. We can throw if you specify and output location and you haven't specified a specific combination of RID and framework. Alternatively it should probably just pick the first TFM/RID pair from the lock file. This is similar to how `dotnet run` works.
- Cleaned up the incremental build output formatting
- Use a single stream (output stream) since interleaving them was causing formatting issues (like losing random characters in the middle of outputting things).
- Didn't change how pack works, it still preserves the output structure when passing `--output`, this one is worth discussing. We could leave the build output inplace and only move the package to the output location. That's more consistent with how everything else works and can be a follow up PR.
2016-01-27 11:13:45 -08:00
Piotr Puszkiewicz
788194e48e Merge pull request #1004 from piotrpMSFT/anurse/bootstrap-with-nuget-finally
Anurse/bootstrap with nuget finally
2016-01-27 11:03:19 -08:00
Piotr Puszkiewicz
c67ad6f8da Merge pull request #1056 from dotnet/appcontextbase
Set AppContext BaseDirectory
2016-01-27 09:15:10 -08:00
piotrp
60450bd94a Bump NETStandard.Library to 23727 2016-01-27 09:11:08 -08:00
piotrp
d9ad86282a normalize centos version in RID to .7 2016-01-27 00:14:10 -08:00
piotrp
7b14149c8c Bad Merge 2016-01-26 23:25:42 -08:00
piotrp
ce5efda8df Add --runtime parameter in bash restore to minimize package downloads and avoid trying to download non-existant packages. 2016-01-26 23:25:40 -08:00
piotrp
a66546d8fb Maintain test artifacts
Improved test diagnostics
Providing diagnostics about failed process.
Workaround for https://github.com/NuGet/Home/issues/1977
get past crossgen errors!
2016-01-26 23:25:39 -08:00
Andrew Stanton-Nurse
066bebcc6c bootstrap using nuget instead of dnx 2016-01-26 23:25:37 -08:00
Rob Mensching
b6c72d725d Fix Component Rules violations.
All resources should be installed by one and only one Component, where
Component is defined by the Component/@Guid. The SetupRegistry_x64 and
SetupRegistry_x86 Components were sharing the env vars across the 32-bit
and 64-bit packages. That is a Component Rule violation.

The fix is simple. Since the 32-bit registration is always required, let
it handle the env var installation. The code is cleaner as well.
2016-01-26 22:48:39 -08:00
Piotr Puszkiewicz
90fad34d5a Merge pull request #1058 from piotrpMSFT/piotrpMSFT/Issue1057/NuGet-536
Bump NuGet dependency to -536
2016-01-26 21:40:07 -08:00
Piotr Puszkiewicz
55e838427f Merge pull request #927 from agocke/analyzer-support
Add analyzer support
2016-01-26 19:19:42 -08:00
Piotr Puszkiewicz
511015c331 Merge pull request #1027 from enricosada/teach_fsharp_to_dotnet_new_rel_1.0.0
teach fsharp to dotnet new
2016-01-26 19:18:12 -08:00
Piotr Puszkiewicz
b72975bf4c Merge pull request #1051 from dotnet/pawelka/strongname
Strong naming Microsoft.Dotnet.Cli.Utils
2016-01-26 19:16:41 -08:00
Piotr Puszkiewicz
7392b2d119 Merge pull request #1055 from dotnet/prkrishn/framework-assembly
Ignore framework assemblies when compiling for package based frameworks.
2016-01-26 18:54:37 -08:00
piotrp
bd109c1bf4 Bump NuGet dependency to -536 2016-01-26 18:47:03 -08:00
Senthil
5a01557501 Set AppContext BaseDirectory 2016-01-26 18:38:21 -08:00
Pranav K
ec73b1de23 Ignore framework assemblies when compiling for package based frameworks.
Fixes #1054
2016-01-26 17:41:11 -08:00
moozzyk
0d3f1bf5f2 Strong naming Microsoft.Dotnet.Cli.Utils 2016-01-26 16:18:38 -08:00
Andy Gocke
75859c5dc0 Merge branch 'rel/1.0.0' into analyzer-support 2016-01-26 10:43:34 -08:00
Piotr Puszkiewicz
9e8f101ae3 Merge pull request #976 from jhendrixMSFT/rel/1.0.0
The dotnet MSI doesn't properly set ALLUSERS property.
2016-01-26 01:22:21 -08:00
Piotr Puszkiewicz
e7053b5339 Merge pull request #1030 from dotnet/fixhelp
Fix the dotent help screen
2016-01-26 01:19:52 -08:00
Piotr Puszkiewicz
4c0b350530 Merge pull request #1037 from piotrpMSFT/piotrpMSFT/Issue1036/NuGet531
Bump NuGet to -531
2016-01-26 00:43:56 -08:00
piotrp
bfdf0a5fe1 Bump NuGet to -531 2016-01-25 22:58:54 -08:00
Zlatko Knezevic
cd1837d189 Fix the dotent help screen
Replace the compile verb with build.
2016-01-25 12:48:21 -08:00
Piotr Puszkiewicz
e40f860d12 Merge pull request #1025 from dotnet/pawelka/bug-1014
Fixing wrong output path passed to pre/post publish scripts
2016-01-25 11:20:29 -08:00
Enrico Sada
91b37f82b4 teach fsharp to dotnet new
- add --lang <LANG> [C#|F#] with alias (csharp/cs)
- renamed template directories, format "LANGUAGE-TEMPLATE"
- add --type <TYPE>

    default to first template of the language ( "Console" )

- show all avaiable types, if invalid argument --type

    ```
    Unrecognized type: notexists
    Avaiable types for F# :
    - Console
    ```
2016-01-25 19:52:52 +01:00
Piotr Puszkiewicz
044b9473e9 Merge pull request #1012 from dotnet/davidfowl/auto-facade
Auto reference facades in the common cases
2016-01-25 10:43:21 -08:00
Pawel Kadluczka
63e8ed898b Merge branch 'rel/1.0.0' into pawelka/bug-1014 2016-01-25 10:01:16 -08:00
Pavel Krymets
231cc037fd Merge pull request #947 from dotnet/pakrym/configtest3
Add test for desktop config generation
2016-01-25 09:59:48 -08:00
Pavel Krymets
57030b4a96 Add test for desktop config generation 2016-01-25 09:30:02 -08:00
moozzyk
813979de0e Fixing wrong output path passed to pre/post publish scripts
Fixes #1014
2016-01-25 09:24:27 -08:00
Andy Gocke
c716ad6571 Add analyzer support
With this change, any referenced analyzer project will be parsed by the
project system and the assemblies will be passed down to the compiler.
By default, the analyzer language is considered to be "cs". If another
language is used, the "languageID" option should be specified inside the
"analyzerOptions" section of the project.json file.

Resolves #83
2016-01-24 21:38:42 -08:00
David Fowler
0bf95241be Remove unused list 2016-01-24 11:09:59 -08:00
David Fowler
2807db8044 Auto reference facades in the common cases
- There are 2 major cases to auto reference facades:
1. When using a netstandard/dotnet* based package on a platform where the System.* packages don't provide any compilation assemblies.
2. When referencing a PCL where no dependencies were specified in the nuspec.
- For 1, we handle it by replacing package references with reference assemblies if possible. For 2. We turn assembly references of PCL assemblies into package dependencies.
This should cover the 90% case where people had to manually reference facades anytime they wanted to use a PCL on Net4.x.

TODO: P2P PCL references

#164
2016-01-24 11:05:31 -08:00
Piotr Puszkiewicz
ea43482551 Merge pull request #985 from brthor/525/arg_forwarding
Argument Forwarding Changes #525
2016-01-23 20:55:56 -08:00
Bryan Thornbury
4a8b4116aa Fix Nuget package creation arg passing 2016-01-23 16:56:22 -08:00
Bryan Thornbury
ed5538292e Changes to restore CentOS properly in arg forwarding test. 2016-01-23 15:00:04 -08:00
Bryan
4c41c9699c Last necessary test changes
Fix the refactoring bugs

fix restore

downgrade version of package command test

Linux Test Script Fixes

use corehost instead of corerun for arg testing

don't copy corehost

fix scripts

Account for change in publish path, use corerun. Issue with AppContext.BaseDirectory in corehost.

Case Sensitive Reflector

wait for process exit

Fix bug in runtests.ps1

fix release build output path

fixup bug in runtests.sh
2016-01-23 14:32:50 -08:00
Bryan
cd9e5e2f08 Make the move off of * dependencies
move tests back to 23704

name changed, feedback
2016-01-23 13:01:37 -08:00