Commit graph

1136 commits

Author SHA1 Message Date
Bryan
39682cd14b dotnet-restore fix
add rid to all restores in test

Add Rid to appdep script, fix common

more script fixes!

fixes

script fix

script fix

Fix up the Runtests script

more fixes :)
2016-01-30 00:21:15 -08:00
Bryan Thornbury
afacc2c0a6 Finish Refactoring Test Scripts
remove publish todo

small fixes

small fixes

fix packaging test bug

Fix script bug

script changes

fix packaging test

NuGet task cancelled workaround

script fixes further

more script fixes, + workaround tweak

use build rather than compile in package command test
2016-01-30 00:21:14 -08:00
piotrp
51eca0bcba Refactoring test scripts
_nuget needs some RepoRoots

get the cats in line (d)

spaces

Fix Linux build breaks

add execution permissions

Pick up #999 Finish refactoring test scripts

remove auth

Reorder publishing to work!

fix rebase errors

fix more rebase errors

small fixes
2016-01-30 00:21:13 -08:00
Pranav K
4e365921f7 Merge pull request #1078 from dotnet/prkrishn/lastwritetimeutc
Switch to using File.LastWriteTimeUtc
2016-01-29 19:35:38 -08:00
Pranav K
be18ee31be Switch to using File.LastWriteTimeUtc 2016-01-29 19:22:31 -08:00
Bryan Thornbury
41c8ec4ec6 Merge pull request #1097 from brthor/restore_optimize
Remove Restore from Tests except E2E
2016-01-29 18:49:07 -08:00
Bryan
b8d54e5a0f Fix Binding Redirect Test and other fixes 2016-01-29 17:37:08 -08:00
Pavel Krymets
07fbb3d967 Merge pull request #960 from dotnet/pakrym/publishrefs
Copy refs only on publish
2016-01-29 11:41:06 -08:00
Livar
c4f834b4e0 Merge pull request #1114 from livarcocc/fix_compile_stage
Updating build scripts to publish to stage\bin flat folder again
2016-01-29 10:26:34 -08:00
Pavel Krymets
35d6fc4477 Copy refs only on publish 2016-01-29 10:20:28 -08:00
Sridhar Periyasamy
cbdd098ef6 Merge pull request #1063 from robmen/msi-perf
Improve MSI performance
2016-01-29 08:54:35 -08:00
Piotr Puszkiewicz
66be7381d3 Merge pull request #1113 from dotnet/piotrpMSFT/Issue1112/NuGet-559
Piotrp msft/issue1112/nu get 559
2016-01-28 23:38:24 -08:00
Piotr Puszkiewicz
ef1f5f688a Merge pull request #1077 from dotnet/anurse/go-to-rel
go to rel, go directly to rel, do not pass go, do not collect $200
2016-01-28 23:29:21 -08:00
piotrp
7f937d03bb fixes #1112 2016-01-28 22:34:09 -08:00
Andrew Stanton-Nurse
91f229ea80 fix versions in packaged command consumer tests 2016-01-28 22:33:22 -08:00
Andrew Stanton-Nurse
1a6d5c9f5e go to rel, do not pass go, do not collect $200 2016-01-28 22:33:19 -08:00
Piotr Puszkiewicz
1796586280 Merge pull request #1107 from livarcocc/fix_dotnet_test
Fix the way we pass the deps file to the host
2016-01-28 21:36:38 -08:00
Livar Cunha
325d25235a Removing the publishing of the CLI to a separate compilation folder, we don't need it anymore after allowing publish to publish to flat output folders again. This simplifies the scripts. I kept packaging happening in a separate compilation folder because for that we need the tfm folder structure. This also fixes a bug where binaries were only being copied for the first time we built, because we checked that compilationfolder/bin/config/tfm was there. After fowler changes, this was not true for the published CLI, but the packaged folders were still creating this structure, which cause in subsequent build to only the binaries under compilationfolder/bin/debug/dnxcore50 to be copied to stage2dir/bin, instead of everything. 2016-01-28 20:34:19 -08:00
N. Taylor Mullen
8ecef6b20d Compare AssemblyNames correctly.
- Calling `AssemblyLoadContext.LoadFromAssemblyName(new AssemblyName("foo"))` would not work prior to this because the assembly path lookup was a dictionary where the key was `AssemblyName` without a proper `AssemblyName` comparer.

#1084
#955
2016-01-28 20:01:35 -08:00
Livar Cunha
9c87983fdf When doing the argument escaping work, we changed the way we pass the depsfile to the host, this broke the dotnet test command. Moving the parameter back to its original and expected format. 2016-01-28 18:12:28 -08:00
Piotr Puszkiewicz
e6026cbde8 Merge pull request #1086 from piotrpMSFT/piotrpMSFT/issue1080/projectNames
Piotrp msft/issue1080/project names
2016-01-28 16:48:35 -08:00
PiotrP
f3fa6be568 Fix dotnet-compile-native scripts 2016-01-28 14:22:48 -08:00
PiotrP
8a36a61213 Fixing imports for dotnet5.4 2016-01-28 12:49:08 -08:00
PiotrP
462bee83bd revert dontet5.4 dependencies 2016-01-28 12:15:10 -08:00
PiotrP
e792387d7a Adjust imports to portable45 2016-01-28 10:55:22 -08:00
piotrp
f190fa0895 Move to latest System.CommandLine 2016-01-28 10:53:34 -08:00
piotrp
6109e33455 test reference fix 2016-01-28 10:53:33 -08:00
piotrp
25a7be1b21 Remove 'name' property from PJs 2016-01-28 10:53:32 -08:00
piotrp
63d79b06b4 projectmodelserver 2016-01-28 10:53:31 -08:00
piotrp
9a7cab4cda build scripts and md 2016-01-28 10:53:31 -08:00
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