Commit graph

1256 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
Rob Mensching
252456a28e Enable all MSIFASTINSTALL optimizations
The dotnet/cli is a very self contained installation package primarily
composed of files. Thus system restore adds little value and costing
only files is sufficient to verify disk space. The result is a 20%
install time reduction, ~2 seconds, on my machine where system restore
is disabled. The win is *much* larger where system restore is still on
(the default).
2016-01-27 00:10:26 -08:00
Rob Mensching
ceb9c90d54 Better compression for smaller package
Increasing the compression from "mszip" (which is notoriously out of
 date) to "high" reduces the package size by 17% with no appreciable
change in build or install time. In other words, this is a free 8 MB
savings off the download size/time.
2016-01-27 00:10:25 -08:00
Rob Mensching
f866bb6830 Minor code clean up.
There is now less code and it is more consistent with the other code in
the project.
2016-01-27 00:10:24 -08:00
Rob Mensching
d4fbfd51bf Ensure LaunchCondition will not prevent repair/uninstall
A typical LaunchCondition should not block the user from removing a
package. LaunchConditions should also not prevent repair from fixing
the machine state, especially if the machine state needs to be repaired
for the LaunchCondition to evaluate. To avoid both problems the
condition was updated such that once installed the package can always
be repaired and uninstalled.
2016-01-27 00:10:23 -08:00
Rob Mensching
49a992dd2d Remove unnecessary custom action
Type 51 custom actions, SetProperty, are mostly benign but if possible
custom actions should be avoided at all costs. Here we centralize the
build type check in a single location and use preprocessor variable to
remove the need for the custom action.
2016-01-26 23:28:02 -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
74f0c7a839 Remove ProgramFiesFolder name
Providing a name, particularly a long name, for ProgramFilesFolder in
a compressed MSI only bloats the installation.
2016-01-26 23:24:50 -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