Justin Goshi
0831316321
Allow migration of sln files ( #4949 )
...
* WIP Migrate sln files
* WIP add reference to redist
* Adding tests and fixing a few bugs
* Fix some tests
* Remove use of DeepClone
* Fix test build errors
* Fix more tests
2016-12-07 11:49:15 -10: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
Jeff Kluge
2205a8577c
Move project.lock.json during migration
...
Closes #4753
2016-11-23 09:46:36 -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
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
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
Krzysztof Wicher
e3bc102b06
When Library add reference to NETStandardLib if not present
2016-11-01 15:52:24 -07:00
Krzysztof Wicher
875e275e38
Revert "When Library add reference to NETStandardLib if not present"
...
This reverts commit 57d79bb2d3
.
2016-11-01 15:45:14 -07:00
Krzysztof Wicher
57d79bb2d3
When Library add reference to NETStandardLib if not present
2016-11-01 15:34:17 -07:00
Livar Cunha
9139c4006b
Fixing full framework tests
2016-11-01 00:31:21 -07:00
Livar Cunha
be2ab211f1
Addressing code review comments.
2016-10-31 12:39:03 -07:00
Livar
5a621b53e2
Merge pull request #4540 from livarcocc/issue4492/migrateWeb
...
Issue4492/migrate web
2016-10-31 12:26:26 -07:00
Livar Cunha
c3b57f2e72
Changing the Sdk.Web version to match the current SDK version so that we can update them together. Also added the dotnet-web to the migrated tests.
2016-10-30 21:32:11 -07:00
Piotr Puszkiewicz
5ede3b6367
post migration cleanup ( #4449 )
...
* Create tests
* Basic scenario working & tested
* Feature Complete
* prevent build of intentionally broken test asset
* Update migrate command backup
* PR Feedback
* Move negative test to negative test directory
* Fix tests
* make test output directories unique
* Merge Conflict
* make backup the default behavior
* Pass2Fail
* Remove tests' PJ dependency
2016-10-29 01:58:37 -07:00
Livar
22a5a15ba9
Merge pull request #4536 from krwq/outputNameIssue
...
Migrating project with OutputName
2016-10-28 20:55:18 -07:00
Livar Cunha
6c1dd226ec
Fixing windows failure due to path length.
2016-10-28 19:03:03 -07:00
Livar Cunha
9cbc563b55
Fixing tests in Windows.
2016-10-28 18:19:42 -07:00
Bryan Thornbury
c9f9421b93
preserve whitespace
2016-10-28 18:19:39 -07:00
Krzysztof Wicher
e9e05006da
Migrating project with OutputName
2016-10-28 17:27:42 -07:00
Livar Cunha
29bd1e12e6
Fixing a merge with a new test that I added. No more restore3, hooray.
2016-10-27 20:56:36 -07:00
Livar Cunha
83350434bc
Adding a E2E test and a indirect dependency to TestAppDependencyGraph.
2016-10-27 20:08:53 -07: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
Livar
53dc665e9b
Merge pull request #4505 from livarcocc/assembly_info_migration
...
Assembly info migration
2016-10-26 17:00:22 -07:00
Justin Goshi
68afda8e4d
Handle "runtimes" section ( #4503 )
...
* Migrate "runtimes" section as a RuntimeIdentifiers property in the resulting csproj file. Also do not call restore3 from publish3 anymore.
* Fix up the publish3 tests to call restore3 first and the csproj files to have RuntimeIdentifiers
2016-10-26 22:23:40 +00:00
Livar Cunha
017fe529c1
Adding a E2E test for migrating an app with AssemblyInfo.
2016-10-26 15:13:39 -07:00
Livar
caf072daeb
Merge pull request #4463 from brthor/brthor/imports
...
Turn on tests
2016-10-21 14:22:21 -07:00
Bryan Thornbury
5301f08423
turn on signing test ( #4460 )
...
* turn on signing test
* fix the test
* test with xplat AssemblyOriginatorKeyFile
* tweak signassembly condition
2016-10-20 20:15:42 -07:00
Bryan Thornbury
16ff3734a3
fix the multi tfm test to not build net20
2016-10-20 15:33:47 -07:00
Bryan Thornbury
1c1f4c462f
turn on multi tfm test
2016-10-20 15:19:35 -07:00
Bryan Thornbury
481aebd18a
turn on the web test
2016-10-20 15:04:53 -07:00
Justin Goshi
71666cc9b5
Auto add referenced assemblies for desktop migration
...
* https://github.com/dotnet/cli/issues/4351
Auto add referenced assemblies for desktop migration. Adds the same ones
that the build for project.json does.
* Address PR comments
* Address CR comments
* Address CR comment
Use .ToList() instead of new List
* Fix a build break
Needed .noautobuild file in my test asset project
* Change the migrate test for desktop framework to windows only
* Reducing to 120 characters per line
2016-10-18 01:02:10 +00: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 Goshi
70a8872f45
Address CR comments for the new migration tests
...
Changing the tests to also verify the error messages.
2016-10-11 11:19:04 -07:00
Justin Goshi
5016aea90c
Add tests
2016-10-10 18:01:59 -07:00
Sridhar Periyasamy
c6064677db
Address PR feedback
2016-10-05 17:58:42 -07:00
Sridhar Periyasamy
1d85c241b1
Add support to migrate folders specified in global.json
2016-10-05 16:27:17 -07:00
Sridhar Periyasamy
a396630576
Fix P2P migration
...
Fixes #4269 by deep cloning the MsbuildTemplateProject for each P2P reference. Add test which migrates and builds P2P references.
2016-10-05 16:25:28 -07:00
Bryan Thornbury
bf5404373f
add signed verification test
2016-10-04 16:48:14 -07:00
Bryan Thornbury
46b16d2de0
fix signing migration
2016-10-04 16:06:45 -07:00
Bryan Thornbury
a078e8b845
dir
2016-10-04 10:13:01 -07:00
Bryan Thornbury
adff632929
green
2016-10-03 20:10:09 -07:00
Bryan Thornbury
bf45ab19ca
PackageReference
2016-10-03 17:12:57 -07:00
Livar Cunha
4173d19b3c
Pinning the SDK version for migrated apps.
2016-09-30 09:27:16 -07:00
Livar Cunha
29b197534c
Updating to a new SDK and adding a work around to set project.lock.json for migrated projects.
2016-09-30 09:27:15 -07:00
Livar Cunha
7e16ad0388
Adding TargetFrameworks even for single TFM and cleaning up PackageRef.
2016-09-30 09:27:15 -07:00
Sridhar Periyasamy
a50708ac5c
Address PR feedback
2016-09-28 09:00:15 -07:00
Sridhar Periyasamy
7ee2bd1f26
Add support to migrate a directory.
...
- Given a directory migrate all the project.jsons in it recursively.
- Remove '-p/--project' option. Instead directly pass a directory or project.json as argument.
- Add tests.
2016-09-26 14:16:17 -07:00
Sridhar Periyasamy
ec7aa87576
Add xproj tests to test migrate command.
2016-09-23 17:33:35 -07:00