Piotr Puszkiewicz
664f089985
Reduce chmod
2017-02-28 18:16:51 -08:00
Eric Erhardt
ab887ec024
Merge remote-tracking branch 'upstream/rel/1.0.0' into rel101
2017-02-25 14:30:53 -06:00
Piotr Puszkiewicz
8fc6766785
Merge branch 'rel/1.0.1' into Merge100To101
2017-02-23 18:22:02 -08:00
Eric Erhardt
ace9526681
Merge remote-tracking branch 'refs/remotes/upstream/rel/1.0.0'
...
Conflicts:
README.md
build/Microsoft.DotNet.Cli.Monikers.props
test/dotnet-build.Tests/GivenDotnetBuildBuildsCsproj.cs
2017-02-23 15:42:35 -06:00
Eric Erhardt
5227896d0f
Fix Ubuntu16.10 BuildSdkDeb
...
We need to replace a string with string.Empty in the debian .json file. Fixing ReplaceFileContents to support this scenario.
2017-02-23 15:29:11 -06:00
Livar Cunha
7f4f35db65
Adding the SDK version to the hash of the lzma archive, since the SDK has implicit package refs in it that will impact the archive when they change.
2017-02-23 01:13:58 -08:00
Eric Erhardt
916a19c493
Add support for Fedora 24, OpenSUSE 42.1 and Ubuntu 16.10
2017-02-22 15:13:02 -06:00
Mike Lorbetske
e145ca88e4
Placeholder for template update
2017-02-21 16:28:47 -08:00
Livar Cunha
1c409befbe
Updating DependencyModel to 1.0.2
2017-02-17 00:29:17 -08:00
Livar Cunha
3eafd9de02
Updating Microsoft.DotNet.PlatformAbstractions version to 1.1.0.
2017-02-16 22:46:04 -08:00
Matt Ellis
47b75cfa12
Misc build changes
...
For injestion into a composed build, I'm adding some minor tweaks to
our build system:
- Teach DownloadFile task how to consume file:// URLs so we can pass
around artifacts using local sources.
- Add `SkipBuildingInstallers`, an MSBuild property that can be set
to true when installers (pkgs, msis, debs, rpms and the like) do
not need to be built.
- Add `IncludeAdditionalSharedFrameworks`, an MSBuild property that
can be set to prevent additional shared frameworks (i.e. shared
frameworks that the CLI does not use at runtime) from being
downloaded and included in our payload.
- Add `IncludeNuGetPackageArchive` an MSBuild property that can be
set to prevent the lzma archive containing all the nupkgs we
restore on first run from being included in the final output.
- Provide a way to change the Uri use for blob storage (so the
composed build and point at a local folder that looks like blob
storage to pick up artifacts from).
2017-02-15 16:52:46 -08:00
Livar
6ef4bdf4e2
Merge branch 'rel/1.0.0' into new_shared_framework_versions
2017-02-13 13:44:57 -08:00
Livar Cunha
1d61bf97ed
Updated the Shared Framework to 1.1.1 and 1.0.4.
2017-02-10 23:05:16 -08:00
Justin Goshi
483e6bd9c1
Address PR comments
2017-02-10 14:13:44 -08:00
Justin Goshi
33d83d6639
Refactor tasks
2017-02-10 12:13:44 -08:00
Eric Erhardt
454dd10f8d
Update dotnet new to use the new 2.0 templates.
2017-02-09 10:18:39 -06:00
Livar Cunha
35fc8c1d0e
Step one of introducing a flag to drop the suffix out of our build versions.
2017-02-08 15:26:47 -08:00
Eric Erhardt
56d391caad
Fix up the merge so it gets past Prepare and Compile.
2017-02-08 12:26:04 -06:00
Piotr Puszkiewicz
b0a5d53ed5
Merge rel/1.0.0 to master
2017-02-06 12:43:57 -08:00
Eric Erhardt
a2c1a39d07
Fix projects and tests after merge of rel/1.0.0.
2017-02-01 18:35:52 -06:00
Eric Erhardt
9f0bb778a1
Merge rel/1.0.0 into master.
2017-02-01 14:32:59 -06:00
seancpeters
2d93968a88
New3 integration ( #5430 )
...
* Partial conversion to new3. 2 tests fail due to browserlink not restoring.
* new cache initialization
* More lzma changes, and removed a razor ref from templates
* Ephemeral hive flag added to tests that need it
* Updated the template engine version to build against. Minor code cleanup
* Config changes to make template versions separate from template engine versions
* Changed dotnet new versioning to use Product.Version
* Fixing Archiver.csproj
* Fixing dotnet new test.
* Fix LZMA Package Source Condition
* Workaround for newline differences.
* fixed tests with changed template parameters. Added a new3 template non-match test
2017-01-31 17:31:37 -08:00
Eric Erhardt
fd65cb03b6
Update dotnet new to generate a "2.0" project.
2017-01-29 09:46:46 -06:00
Piotr Puszkiewicz
ba69c88c79
Work around build test.sln
race condition until fixed ( #5490 )
...
* Remove GenerateRuntimeConfigurationFiles from this library
* Disable parallel build of test.sln
* PR feedback
2017-01-27 17:13:04 -08:00
Piotr Puszkiewicz
0ab87924b2
Add DOTNET_RUNTIME_ID to kept environment variables
2017-01-27 01:18:50 -08:00
Piotr Puszkiewicz
c4e928a18d
Cleanup
2017-01-27 00:46:09 -08:00
Piotr Puszkiewicz
d70aeb950b
Success!
2017-01-27 00:46:09 -08:00
PiotrP
a473c2bad7
WiP
2017-01-27 00:46:09 -08:00
Piotr Puszkiewicz
94e74d846a
WiP
2017-01-27 00:46:09 -08:00
Piotr Puszkiewicz
c25abfb7c7
WiP
2017-01-27 00:46:09 -08:00
Piotr Puszkiewicz
19ed5a558b
WiP
2017-01-27 00:46:09 -08:00
Eric Erhardt
0073fc8534
Update CLI to run on netcoreapp1.1.
2017-01-26 14:48:39 -08:00
Eric Erhardt
f6b0196b0f
Turn off multi-proc building of the test .sln to work around "cannot access file becuase it is being used by another process" errors.
2017-01-26 07:29:00 -06:00
PiotrP
9008aaff85
merge RC3 into rel/1.0.0
2017-01-11 13:03:09 -08:00
Eric Erhardt
82317c7a0a
Merge pull request #5257 from eerhardt/UpdateNuGet
...
Update NuGet to 4.0.0-rc3-2193 to bring in new TFMs for netstandard/netcoreapp 2.0
2017-01-11 10:45:45 -06:00
Eric Erhardt
c481ad9cdc
Merge all hard-coded versions and version suffixes to be defined in a single spot.
2017-01-10 20:54:11 -06:00
Livar Cunha
d3157de6ee
Fixing nuget API calls and fixing the nuget test package directory creation, so that nuget can restore using it.
2017-01-10 16:48:28 -06:00
Livar Cunha
e71c58c156
Fixing nuget API calls and fixing the nuget test package directory creation, so that nuget can restore using it.
2017-01-10 10:43:05 -08:00
Eric Erhardt
0f2c305dc1
Add NuGet version to DependencyVersions.props.
2017-01-10 10:48:37 -06:00
Eric Erhardt
5035320247
Add NuGet version to DependencyVersions.props.
2017-01-10 10:43:14 -06:00
Livar
f2f37729b8
Merge pull request #5235 from eerhardt/PopulateNuGetCache11
...
Populate nuget cache for shared fx and asp.net 1.1
2017-01-07 11:31:54 -08:00
Rohit Agrawal
5bbfbfeeed
update nuget to 4.0.0-rc3 and sdk to 1.0.0-alpha-20170105-5 ( #5214 )
...
* update nuget to 4.0.0-rc3 and sdk to 1.0.0-alpha-20170105-5
* Modifying restore project.json to use the project.json stage0 CLI instead of restore-projectjson command.
* add a nuget dependency so migrated project has packageref and generates an assets file on restore
2017-01-06 16:28:04 -08:00
Eric Erhardt
0cfc54c377
First time experience populating the NuGet cache with 1.1 packages.
2017-01-06 17:45:34 -06:00
Eric Erhardt
12f28a6019
Merge pull request #5225 from eerhardt/AddSharedFx11
...
Install Shared Framework 1.1 when installing the CLI
2017-01-06 11:21:14 -06:00
Livar Cunha
b41eb43883
Updating our projects and test assets to work with the latest SDK.
2017-01-05 19:44:52 -08:00
Eric Erhardt
e5e11c19c2
Download and extract shared framework 1.1. This initial change gets 1.1 into the archive installers. Still need to bring it into the native installers as well.
2017-01-05 15:03:56 -06:00
Krzysztof Wicher
dfb0a28224
Merge pull request #5180 from krwq/5070b
...
Remove some cross project compile includes on cs files
2017-01-05 12:13:54 -08:00
Livar Cunha
44ad9ec2c7
Removing -- separator from dotnet publish task. Dotnet publish nor any other command uses -- as a paramater separator for msbuild params.
2017-01-04 14:18:44 -08:00
Krzysztof Wicher
b813695fc0
remove cross project cs dependencies from dotnet-cli-build.csproj
2016-12-29 16:14:49 -08:00
Justin Goshi
b72d625168
Include ASP packages in offline cache ( #5124 )
...
* Archive asp.net package references
* Archive asp.net package references
* Change the hash input so it's the same on all platforms
* Address PR comments
2016-12-27 11:28:24 -10:00
Livar Cunha
fadacc0aac
Updating the projects files in the repo to use the SDK attribute.
2016-12-20 15:52:50 -08:00
Zlatko Knezevic
7a2c6ad086
Quote temp path output and input in crossgen ( #5089 )
...
Fixes #5088
2016-12-20 11:36:48 -08:00
Arun Mahapatra
8a6f67a84b
Fix no build option in dotnet test task
2016-12-16 20:42:57 +05:30
Nick Guerrera
9cf2d74c8b
Work around msbuild bug that blocks git tool tasks in VS2017 prompt
2016-12-13 16:12:01 -08:00
Piotr Puszkiewicz
d2d0353e60
Include Microsoft.Net.Sdk in CLI layout ( #4895 )
...
* WiP
* Update test
* Working version of Net SDK
* Latest SDK doesn't work as packageref
* DCR + PR
* Harden CLI tests against #4884
2016-12-03 14:19:54 -08:00
Rohit Agrawal
4311926366
update nuget to 4.0.0-rc2 (dev build 2067) ( #4904 )
2016-12-02 19:19:54 -08:00
Piotr Puszkiewicz
da82bdb05d
Centralize Microsoft.Net.SDK Version ( #4890 )
...
* Centralize Microsoft.Net.Sdk package version
Note: Templates were omitted as their version needs to be static.
* Unifying additional missmatched versions
* prefercliruntime
whitespace threw off ReplaceAll
* Additional missed globs
* Revert SDK version for performance tests
* PR Feedback
* Roll back VSTestXunitDesktopAndNetCore.csproj SDK version
2016-12-02 09:34:03 -08:00
Piotr Puszkiewicz
f18967e39a
Update CLI's MSBuild Version to 15.1.0-preview-000451-02 ( #4889 )
...
* Centralize definition of MSBuild Version in CLI
* MSBuild --> 15.1.0-preview-000451-02
2016-12-01 20:10:42 -08:00
Justin Goshi
be61afcfa5
Remove unused project.json and .xproj files ( #4735 )
...
* Remove unused project.json and .xproj files
* Update the test msi script
2016-11-15 16:12:19 -10:00
Justin Goshi
51562109ea
Migrate test packages ( #4720 )
...
* Migrate TestPackages
* Add check for desktop available
* Revert previous change
* WIP try something for non-Windows
* Another attempt to pack properly on non-windows
* Another attempt to fix pack errors
* Remove spaces
* Another attempt to make pack work cross-platform
2016-11-15 12:12:28 -10:00
Krzysztof Wicher
9212605e89
binding redirects tests: Simplify and get ready for enabling ( #4692 )
...
* binding redirects tests: Simplify and get ready for enabling
* fix targets broken during cleanup
* fix non-windows build
* apply pr feedback: remove some not needed code
* remigrate BindingRedirects samples, add x64 to bind redir proj
2016-11-14 14:26:03 -08:00
Justin Goshi
6d57ca7e14
Migrating all test projects ( #4668 )
...
* WIP migrate tests
* WIP fixing more tests
* WIP fix test build break
* Test results files are now trx
* Get CI to pass until we get an xunit xml logger
* Added DotNetTestPJ since that was needed for one test
* Fix build break
* Forgot to add DotNetTestPJ as a build task
* Need to restore project.json for the project used in ubuntu test
* Restore PJ for ubuntu test
* Switch the Ubuntu test to csproj based
2016-11-11 21:46:29 -10:00
Piotr Puszkiewicz
b354e1a3c6
Eliminate imports from CLI, where possible ( #4673 )
...
* Remove imports from dotnet.dll
* Add back dotnet5.4 to dotnet.dll due to AppInsights
* dotnet-cli-build.csproj: OData
redist.csproj: AppInsights
2016-11-10 10:19:37 -08:00
Livar Cunha
de0ca4823f
Fixing how we clean the file when it fails to download. We were doing it inside the using statement, so it still had a lock to the file and failed to delete it.
2016-11-09 10:05:05 -08:00
Livar Cunha
087852b1b8
Changing the lzma generation to first trying to download it from blob. If that fails, generate it. And if we generate it and we are uploading things to azure, upload it as well.
2016-11-08 15:14:47 -08:00
Piotr Puszkiewicz
24596b23ae
02->2
2016-11-04 10:30:00 -07:00
Piotr Puszkiewicz
6e5527ba4c
Final Version Numbers
2016-11-04 10:09:22 -07:00
seancpeters
40c34f891a
Updating the Microsoft.Net.Sdk & Microsoft.Net.Sdk.Web versions ( #4585 )
...
* Updating the Microsoft.Net.Sdk & Microsoft.Net.Sdk.Web versions
* Fixed merge conflicts. Had to re-update the Sdk version in one place.
* re-migrate dotnet.dll
* Revert Performance Test Projects
* Fix test test
* Add missing WithRuntime
* Disable failing test test
2016-11-03 22:12:33 -07:00
Rob Relyea
f961fef8e0
update NuGet in CLI to 4.0.0.2048 ( #4614 )
...
* update NuGet in CLI to 4.0.0.2047
* update NuGet in CLI to 4.0.0.2048
2016-11-03 22:11:44 -07:00
Piotr Puszkiewicz
fd9cb55f1a
Add msbuild-based stage0 where possible ( #4597 )
...
* Add msbuild-based stage0 where possible
* Fix bash initialization script
* Windows Fixes
* Fix dotnet deb tool
2016-11-02 23:01:57 -07:00
Livar Cunha
c2f60cede4
Updating the SDK to the latest.
2016-11-01 00:29:54 -07:00
Jeff Kluge
595a768e30
Custom logger for MSBuild to receive telemetry events ( #4551 )
...
* Upgrade MSBuild references to 15.1.0-preview-000370-00
* Custom logger for MSBuild to receive telemetry events
Had to make the telemetry session ID a static variable so that the forwarding app could use it.
I've tested this all manually and will be writing tests after everyone signs off on the implementation here.
2016-10-31 16:16:39 -07:00
Justin Goshi
a4776a2b2c
Migrate src and tools to csproj ( #4538 )
...
Thanks for getting this in!
2016-10-29 01:04:20 -07:00
Livar
3ec5279491
Merge pull request #4516 from dagood/disable-parallel
...
Use --disable-parallel during xplat restores
2016-10-29 00:49:09 -07:00
Justin Emgarten
54cad0b7a6
Updating nuget to 4.0.0-rc-2037
2016-10-28 17:13:29 -07:00
Davis Goodin
59a6c72be7
Use --disable-parallel during xplat restores.
...
Works around NuGet parallel restore timeouts becoming build failures when the machine has a slow connection, for example in our Docker Fedora containers.
2016-10-28 10:53:56 -05:00
Piotr Puszkiewicz
6fcbefa4f7
[WIP] Removes *3 verbs, making msbuild the driver ( #4456 )
...
Removes *3 verbs, making msbuild the driver
2016-10-27 18:46:43 -07:00
Eric Erhardt
33ec55aee3
Fix dotnet run3 --project to pass the project to msbuild.
...
Also update Microsoft.NET.Sdk to 1.0.0-alpha-20161026-2 since this has the corresponding fix needed for https://github.com/dotnet/sdk/issues/301 .
2016-10-26 00:04:40 -05:00
Livar Cunha
368d7a19af
Updating the SDK version to the latest.
2016-10-19 16:21:54 -07:00
Justin Goshi
a6d37d25f5
Clean up dotnet-cli-build.csproj ( #4416 )
...
Clean up dotnet-cli-build.csproj
2016-10-17 23:50:22 +00:00
Livar Cunha
391d04c67a
Adding net46 to some of our libraries back, so that we can run binding-redirect tests again. We need those tests for tool and we need to keep them running.
2016-10-16 18:44:07 -07:00
Justin Goshi
a3deb373e1
Merge branch 'rel/1.0.0' into dev/jgoshi/switchToMsbuild
2016-10-14 12:31:53 -07:00
Justin Emgarten
bc82b16a01
Merge pull request #4406 from dotnet/emgarten/solutionRestore
...
Adding recursive restore and solution level restore
2016-10-14 11:18:24 -07:00
Piotr Puszkiewicz
02a19aff56
dotnet-new csproj templates ( #4382 )
...
Make csproj templates first-class in dotnet-new.
2016-10-14 00:06:35 -07:00
Justin Emgarten
53b436c5d5
Updating NuGet to 3.6.0-rc-1984
2016-10-13 19:31:15 -07:00
Justin Goshi
18bc875dca
Change cli build to csproj files (First step on one project)
...
First doing this just for dotnet-cli-build
2016-10-13 18:09:30 -07:00
Nate Amundson
3ae14ab618
Upload checksums for installation artifacts ( #4191 )
...
The checksums are SHA-512 hashes, which users can use to verify file
integrity and authenticity.
2016-10-12 14:25:06 -05:00
Justin Emgarten
f2eef338db
Updating NuGet to 3.6.0-rc-1979
2016-10-12 00:49:44 -07:00
Livar Cunha
09d811fdbd
Adding an OverrideRid property used in the GetRuntimeInfo task to override the rid of the CLI. This allows us to build for osx.10.11 when building on osx.10.12.
2016-10-08 11:45:19 -07:00
Rohit Agrawal
28bd507f40
update nuget and sdk to 3.6.0-rc-1954 and 1.0.0-alpha-20161006-3 ( #4332 )
2016-10-06 09:35:58 -07:00
Nate Amundson
19f295113a
Merge pull request #4234 from naamunds/SupportCustomContainer
...
Support building with custom container name
2016-10-03 18:02:05 -05:00
Livar Cunha
082a90035d
Bumping nuget to 3.6.0-beta.1.msbuild.17
2016-09-29 12:16:41 -07:00
Eric Erhardt
04869b9997
Updating msbuild to 0.1.0-preview-00043-160929.
2016-09-29 10:26:55 -05:00
Nick Guerrera
936692acf1
Update msbuild to latest
2016-09-28 04:37:39 -07:00
Nick Guerrera
6bc099e5e0
Update msbuild to latest
2016-09-27 15:16:13 -07:00
Rohit Agrawal
cfe76534ca
bump nuget to 3.6.0-beta.1.msbuild.16
2016-09-26 16:47:20 -07:00
Rohit Agrawal
dfc5650db8
bump nuget version to 3.6.0-beta.1.msbuild.15 ( #4241 )
2016-09-23 17:14:32 -07:00
Nate Amundson
343374d7c7
Support building with custom container name
...
Currently, using a custom container name is supported for only some
publish steps. This commit makes it supported for all publish steps.
This commit also ensures that the Overwrite property is specified on all
calls to the UploadToAzure task.
2016-09-22 19:02:53 -07:00
Nick Guerrera
4807c8b0b0
Update msbuild to latest
2016-09-22 12:52:09 -07:00
Justin Emgarten
1626cf2e62
Restore3 support for PackageReference
...
Fixes https://github.com/NuGet/Home/issues/3453
2016-09-16 13:40:10 -07:00