Commit graph

4122 commits

Author SHA1 Message Date
Livar
9862fbb4d7 Checking that the lock file exists before trying to acquire the lock for it. (#4797)
* Checking that the lock file exists before trying to acquire a lock for it, which takes up to 30 seconds.

* Adding a test for failing when reading the lock file and it does not exists.
2016-11-23 22:59:54 -08:00
Enrico Sada
2cf0675270 add F# templates to dotnet new (#4789)
* add F# templates to `dotnet new`

* add dotnet new tests

* avoid conflict with cs test dir

* fix test
2016-11-23 22:57:54 -08:00
Livar
e546af19a2 Merge pull request #4831 from phenning/updateWeb
Update Web Template from Template repo
2016-11-23 15:29:20 -08:00
Livar
923320b66b Merge pull request #4829 from jeffkl/4753
Move project.lock.json during migration
2016-11-23 14:02:35 -08:00
Phil Henning
14445b936e Remove Exclude from Compile/Embeddedresource 2016-11-23 10:16:44 -08:00
Phil Henning
45b817a953 Update Web Template from Template repo 2016-11-23 10:03:53 -08:00
Jeff Kluge
2205a8577c Move project.lock.json during migration
Closes #4753
2016-11-23 09:46:36 -08:00
Livar
da0e7b744b Revert "update NuGet to 4.0.0-rc2 build (#4802)" (#4818)
This reverts commit 0bafbd061e.
2016-11-23 09:01:32 -08:00
Livar
04c5d39c03 Merge pull request #4805 from hqueue/typo/doc
Fix broken link to README.md in cli-installation-scenarios.md
2016-11-22 14:19:15 -08:00
Piotr Puszkiewicz
a70adb5d2c Merge branch 'rel/1.0.0' into typo/doc 2016-11-22 03:05:41 -08:00
Rob Relyea
0bafbd061e update NuGet to 4.0.0-rc2 build (#4802) 2016-11-22 00:51:12 -08:00
Hyung-Kyu Choi
ccda6aa31f Fix broken link to README.md
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
2016-11-22 16:19:50 +09:00
Livar
740a7fe3fd Merge pull request #4793 from wli3/dotnet_info_should_display_the_path
Add the path to the dotnet being used to --info
2016-11-21 13:22:01 -08:00
William Li
98a3974557 Add the path to the dotnet being used to dotnet--info
Utilize ApplicationEnvironment.ApplicationBasePath of
DotNet.PlatformAbstractions
2016-11-20 10:29:23 -08:00
Scott Carlton
706b8a802d Extract localizable strings from dotnet-run (#4769)
* Localization changes for dotnet-run

* Fixed LocalizableString to correctly be LocalizableStrings

* Localization changes for dotnet-restoreProjectJson

* Loclization changes for dotnet-restore command.

* Update Program.cs
2016-11-19 11:45:46 -08:00
Livar
a57b9e5d01 Merge pull request #4782 from dasMulli/dead-code-in-tool-resolving
Remove unused lock file read from tool resolving logic.
2016-11-18 19:30:50 -08:00
Livar
05670d6d7f Workaround for empty restore.txt file under .tam (#4771)
* For some reason, specially in CI, the restore.txt file under .tam is ending up empty. As a workaround for it, I am going to retry the restore if that happens.

* Change how we diff the existing files in the TAM by using the explicit list from the .txt file.

* Using Nuget ReplaceWithLock utility to get around a concurrency issue on windows.
2016-11-18 19:28:38 -08:00
dasMulli
4ee8317834
Remove unused lock file read from tool resolving logic. 2016-11-19 00:25:26 +01:00
Livar
dd2fe2fac5 Merge pull request #4777 from dasMulli/bugfix/assembly-attributes-migration
Migration: Handle different variations of specifying assembly attributes.
2016-11-18 13:56:30 -08:00
Piotr Puszkiewicz
5fb561ee50 Merge pull request #4750 from mattscheffer/locWork
Extract Localizable strings from dotnet-build
2016-11-18 12:49:14 -08:00
dasMulli
acb4d64c07
Migration: Handle different variations of specifying assembly attributes. 2016-11-18 18:05:00 +01:00
Piotr Puszkiewicz
e6d3cf0ffb Merge pull request #4763 from dasMulli/feature/verb-docs
Show nuget and msbuild commands in dotnet-help
2016-11-17 17:33:27 -08:00
dasMulli
09cb9bf607
Show migrate, nuget and msbuild commands in dotnet-help.
Also split the help text into commands and advanced commands sections
2016-11-17 19:11:41 +01:00
v-masche
b205bfdc02 Fixing the namespace to match the Program.cs in the same folder 2016-11-16 16:39:44 -08:00
v-masche
b0077f4f25 Adjusted ProjectArgumentDescription to be a single string rather than divided into two strings. 2016-11-16 14:57:57 -08:00
Livar
09f62cdd7e Merge pull request #4741 from piotrpMSFT/piotrpMSFT/issues/4739-xprojUser
add *.xproj.user to backup file types
2016-11-16 09:30:17 -08:00
Livar
9847196c95 Merge pull request #4737 from livarcocc/migrate_authors
Adding Authors migration.
2016-11-16 09:29:13 -08:00
Livar
11f871b715 Merge pull request #4733 from livarcocc/migrate_adds_rids_for_desktop
Emitting runtime identifiers if the source project has any full framework TFMs
2016-11-16 09:29:01 -08:00
Livar
24ee56fb35 Merge pull request #4728 from livarcocc/fix_powershell_script
Just moved the file check to after we have created the item.
2016-11-16 09:28:48 -08:00
Piotr Puszkiewicz
d39ee4a463 add *.xproj.user to backup file types 2016-11-16 01:10:55 -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
v-masche
3b8567248a Extract localizable strings from dotnet-build 2016-11-15 17:12:26 -08:00
Livar Cunha
c364f27346 Adding Authors migration. 2016-11-15 16:36:04 -08: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
Livar Cunha
9513428013 Emitting runtime identifiers if the source project has any full framework TFMs. 2016-11-15 14:07:35 -08:00
Livar Cunha
91e24d886b Just moved the file check to after we have created the item. 2016-11-15 12:19:12 -08:00
Krzysztof Wicher
7a3bc96f75 Fix 4508: CLI verbs that call into msbuild should control their output (#4719)
* Fix 4508: CLI verbs that call into msbuild should control their output

* fix failing tests + tiny bufix in dotnet test
2016-11-15 11:56:39 -08:00
Krzysztof Wicher
43df9a170d Fix 4655: Migrate errors are not getting put in formatted output (#4718)
* Fix 4655: Migrate errors are not getting put in formatted output

* Move test asset to NonRestoredTestProjects

* use group test asset manager: NonRestoredTestProjects
2016-11-15 09:39:58 -08:00
Piotr Puszkiewicz
bf425a6f0a Removing dotnet-test-mstest when migrating because that package is no longer needed. (#4690) 2016-11-14 14:59:59 -08: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
Falco
b2a83e0072 check for free disk space upfront (#4647)
* check for free disk space upfront

* driveletter now derives from $InstallRoot

* whitespace corrected

* one space added
2016-11-11 17:54:46 -08:00
Livar Cunha
df755b5554 Removing dotnet-test-mstest when migrating because that package is no longer needed. 2016-11-11 10:52:33 -08:00
Livar
43dfa6b8ba Updating script migration to use the correct BeforeTargets. (#4680) 2016-11-10 18:24:35 -08: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
25ee09a29b I had a wrong condition before, where I forgot to reference a variable. Fixing that here. (#4665) 2016-11-09 16:44:35 -08:00
Livar
5f3885cff4 Merge pull request #4656 from livarcocc/improve_lzma_build
Changing the lzma generation
2016-11-09 11:38:59 -08:00
Livar
9869b82412 Merge pull request #4662 from livarcocc/remove_dotnet_test_xunit_migration
Removing dotnet-test-xunit when migration from project.json to csproj
2016-11-09 11:11:17 -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
7f549314ff Removing dotnet-test-xunit when migration from project.json to csproj, as that package is no longer needed. 2016-11-09 09:52:52 -08:00