Commit graph

8690 commits

Author SHA1 Message Date
Nate McMaster
b0c5fddc04
Add a property to disable bundling ASP.NET Core tools, templates, and runtimes 2018-04-30 17:49:09 -07:00
Livar
d17f4ec94e
Merge pull request #9123 from johnbeisner/FixNupkgSigning
Mark both CLI NuPkgs as "NonShipping=true"
2018-04-30 15:26:16 -07:00
Peter Huene
b23259c30f
Merge pull request #9160 from peterhuene/fix-pid-file-share-mode
Fix Razor server shutdown on Windows.
2018-04-30 14:47:31 -07:00
Livar
78bd1cffb9
Merge pull request #9163 from dotnet/namc/aspnet-linux-arm
Include aspnetcore in the linux-arm build,
2018-04-30 14:47:07 -07:00
Peter Huene
56d8103181
Merge pull request #9137 from peterhuene/relative-sources
Fix --source-feed option for tool install and update commands.
2018-04-30 14:46:50 -07:00
Livar
234a7561a8
Merge pull request #9150 from kasper3/release/2.1.3xx
Use cp -u on linux-musl
2018-04-30 14:46:04 -07:00
Livar
d9154f7711
Merge pull request #9175 from dotnet/update_version_rtm
Update version to rtm
2018-04-30 14:43:36 -07:00
Livar
d65b6b0d06
Update version to rtm 2018-04-30 12:00:51 -07:00
Livar
f5e3ddbe73
Merge pull request #9167 from livarcocc/update_build_number
Empty commit for new build.
2018-04-27 14:22:09 -07:00
Livar Cunha
4719256c7a Empty commit for new build. 2018-04-27 14:16:11 -07:00
Nate McMaster
16cc6141d6
Use AspNetCoreSharedFxArchiveRid instead of AspNetCoreSharedFxInstallerRid 2018-04-27 14:14:14 -07:00
Peter Huene
b2b3947c68
Fix Razor server shutdown on Windows.
On Windows, the Razor server correctly creates the pid file with
`FileAccess.Write` and `FileOptions.DeleteOnClose`.  This requires a share mode
of `FileShare.Write | FileShare.Delete` to open.  However, the
`dotnet build-server shutdown` command was opening the file with
`FileShare.Read`.  As a result, an `IOException` was being thrown and was not
handled.

This change first opens the file with the appropriate share access and also
properly handles a failure to access or read the contents of the pid file.

Additionally, an integration test was added to test that Razor server shutdown
works as expected.

Fixes #9158.
2018-04-27 13:52:17 -07:00
Nate McMaster
2b9f00f361
Include aspnetcore in the linux-arm build, but not linux-arm64 or windows arm 2018-04-27 10:33:58 -07:00
kasper3
7ff4f27df1 Update readme: alpine-<ver>-targz to musl-targz 2018-04-26 16:58:49 +00:00
Matt Mitchell
04066cb5d8
Merge pull request #9146 from mmitche/make-override-explicit
Explicitly note whether the package version props is being overridden
2018-04-26 08:33:05 -07:00
kasper3
7b635e76a1
Use cp -u on linux-musl
This actually applies to all busybox based OS.
2018-04-26 14:26:35 +03:00
Matt Mitchell
535cac7f55 Explicitly note whether the package version props is being overridden
It's difficult to tell today whether the package version props is correctly passed and used in some scenarios.  Make it more explicit.
2018-04-25 17:11:09 -07:00
Peter Huene
b9597913dc
Fix --source-feed option for tool install and update commands.
Commit 9cc2b7cd2f regressed the `--source-feed`
option so that it no longer accepted relative paths.  Because the option is now
saved to the temp project file, any relative paths specified by the
`--source-feed` option were made relative to the temp project path and not from
the current working directory of where dotnet was run.

The fix is to use `Path.GetFullPath` of the `--source-feed` option, provided
the option specified was not an absolute URI.

Fixes #9132.
2018-04-24 20:43:14 -07:00
Livar
4db4d9b568
Merge pull request #9130 from johnbeisner/FixLinuxMusl
Fix linux musl; CLI:release/2.1.3xx
2018-04-24 18:09:37 -07:00
jbeisner
247937665f Fix a release/2.1.3xx baseline error:
error NU1605: Detected package downgrade: Microsoft.NETCore.App from 2.1.0-rc1-26423-06 to 2.1.0-rc1-26420-08
2018-04-24 20:57:42 +00:00
John Beisner
754a68524a
Merge branch 'release/2.1.3xx' into FixLinuxMusl 2018-04-24 13:31:46 -07:00
jbeisner
bb15fa8c61 Formatting... 2018-04-24 20:22:35 +00:00
jbeisner
70e3f1d30d Updating the AspNetCore version to a drop that has a 'linux-musl' asset 2018-04-24 19:51:04 +00:00
jbeisner
96674333e3 Fixing typo... 2018-04-24 19:07:33 +00:00
jbeisner
74ee6b6070 Download 'linux-musl-x64' shared framework assets when building 'linux-musl-x64' 2018-04-24 18:48:18 +00:00
jbeisner
6a26200b46 Merge remote-tracking branch 'upstream/release/2.1.3xx' into FixNupkgSigning 2018-04-24 16:06:28 +00:00
jbeisner
4dc5eb7320 Do not sign the CLI NuPkgs - they do not ship. 2018-04-23 22:03:55 +00:00
jbeisner
6d353a5963 Mark both NuPkgs as "NonShipping=true" 2018-04-23 21:56:00 +00:00
Daniel Plaisted
6ae1926fb0
Merge pull request #9097 from dotnet/johluo/implicit-app
Add bundled aspnetcore runtime framework versions
2018-04-23 13:29:29 -07:00
William Li
008e5f3d97
Remove -f short hand in dotnet tool install (#9102) 2018-04-23 13:23:35 -07:00
John Luo
441a470f54 Add bundled aspnetcore runtime framework versions
- Add integration test for implicit Microsoft.AspNetCore.App versions
2018-04-23 00:33:33 -07:00
William Li
e1c8cd6350
Merge pull request #9117 from nguerrera/prodcon-fix
Unblock build
2018-04-20 17:30:51 -07:00
Nick Guerrera
ea08319a65 Unblock build
Test build was causing restore and build in same evaluation, which was
always incorrect, but with a recent change to sdk, it will always fail
outright instead of sometimes getting lucky enough for it not to matter.
This was therefore a breaking change and we will discuss separately how
to handle it. This takes the bad pattern out of the test build to unblock
the build.
2018-04-20 16:43:41 -07:00
Livar
9b052dc97b
Merge pull request #9116 from weshaggard/addlinuxmusl-rel
[release/2.1.3xx] Replace alpine with linux-musl builds
2018-04-20 15:14:38 -07:00
Wes Haggard
1e30cf3b5f Add temporary feed to boot-strap linux-musl build 2018-04-20 14:11:06 -07:00
Wes Haggard
4a59d83b5c Update the readme to the new build definition 2018-04-20 13:23:23 -07:00
Wes Haggard
a90f10f629 Update dotnet-install to select linux-musl on alpine 2018-04-20 13:23:14 -07:00
Wes Haggard
65d5730631 Replace alpine with linux-musl builds
We still build linux-musl on the alpine OS but we no longer
produce a alpine installer/tar file instead we just have the
linux-musl version.
2018-04-20 13:23:00 -07:00
Peter Huene
e1b5272540
Merge pull request #9099 from peterhuene/razor-server-discovery
Implement Razor server discovery by pid file.
2018-04-20 12:15:52 -07:00
Livar
2f3f672a15
Merge pull request #9100 from dotnet-maestro-bot/release/2.1.3xx-UpdateDependencies
Update clicommandlineparser, climigrate, coresetup, coresetup, coresetup, fsharp, msbuild, nugetclient, roslyn, sdk, templating, templating, templating, websdk to alpha-62819-01, alpha-62819-01, rc1-26419-02, rc1-26419-02, rc1-26419-02, rtm-180418-0, preview-000169, preview1.5116, dev-62819-05, preview3-62819-01, beta3-20180418-1607235, beta3-20180418-1607235, beta3-20180418-1607235, rc1-20180418-1607241, respectively (release/2.1.3xx)
2018-04-20 11:36:32 -07:00
Peter Huene
1ade191cb6
Implement Razor server discovery by pid file.
Previously, Razor server discovery for the `build-server shutdown` command was
implemented by invoking MSBuild on a project file in the current directory to
evaluate the path to the Razor server dll.  This was problematic since it would
only discover a single running Razor server instance and required that the user
run the `build-server shutdown` command from a specific location.

Razor's server now writes a "pid file" to a well-known location
(`~/.dotnet/pids/build`) which the command can now enumerate to discover, and
shutdown, the running Razor servers.

This commit changes the Razor server discovery to use the pid files and removes
the requirement that users need to run the command in specific directories to
work.

Fixes #9084.
2018-04-20 10:49:31 -07:00
Livar
04f94c057b
Merge pull request #9101 from dotnet/brand_3xx_rc1
Updating CLI branding to RC1
2018-04-19 15:29:11 -07:00
Livar
3070750a5b
Updating CLI branding to RC1 2018-04-19 12:46:56 -07:00
dotnet-maestro-bot
8317c6f0da Update clicommandlineparser, climigrate, coresetup, coresetup, coresetup, fsharp, msbuild, nugetclient, roslyn, sdk, templating, templating, templating, websdk to alpha-62819-01, alpha-62819-01, rc1-26419-02, rc1-26419-02, rc1-26419-02, rtm-180418-0, preview-000169, preview1.5116, dev-62819-05, preview3-62819-01, beta3-20180418-1607235, beta3-20180418-1607235, beta3-20180418-1607235, rc1-20180418-1607241, respectively 2018-04-19 19:40:52 +00:00
Peter Huene
8e01912b36
Merge pull request #9089 from peterhuene/buildserver-command-rename
Rename buildserver command.
2018-04-18 11:42:54 -07:00
William Li
34060d3a23
pick up nuget loc (#9090) 2018-04-18 11:18:14 -07:00
Livar
289591d00c
Merge pull request #9081 from kasper3/master
Update dotnet manpages for Unix
2018-04-18 10:13:01 -07:00
Peter Huene
3f1ab372b4
Rename buildserver command.
This commit renames the `buildserver` command to `build-server`.

Fixes #9075.
2018-04-17 17:04:12 -07:00
John Beisner
7d375481bc
Sign the 'nupkg' files; CLI:release/2.1.3xx (#9086)
* Sign the 'nupkg' files.
* Sign 'NuPkg' files with the 'NuGet' cert.
* Use "Microsoft402"
2018-04-17 16:53:03 -07:00
William Li
ae75392078
Merge pull request #9079 from wli3/help-text-02
Help text improves
2018-04-17 12:21:39 -07:00