parent
04c5d39c03
commit
2205a8577c
5 changed files with 67352 additions and 3 deletions
31880
TestAssets/TestProjects/PJTestAppSimple/project.lock.json
Normal file
31880
TestAssets/TestProjects/PJTestAppSimple/project.lock.json
Normal file
File diff suppressed because it is too large
Load diff
32042
TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.lock.json
Normal file
32042
TestAssets/TestProjects/TestAppWithLibrary/TestApp/project.lock.json
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -149,8 +149,10 @@ namespace Microsoft.DotNet.Tools.Migrate
|
|||
|
||||
var movableFiles = new DirectoryInfo(projectDirectory)
|
||||
.EnumerateFiles()
|
||||
.Where(f => f.Name == Project.FileName || f.Extension == ".xproj" ||
|
||||
f.FullName.EndsWith(".xproj.user"));
|
||||
.Where(f => f.Name == Project.FileName
|
||||
|| f.Extension == ".xproj"
|
||||
|| f.FullName.EndsWith(".xproj.user")
|
||||
|| f.FullName.EndsWith(".lock.json"));
|
||||
|
||||
foreach (var movableFile in movableFiles)
|
||||
{
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
{
|
||||
var catalog = new Dictionary<string, string>();
|
||||
|
||||
var patterns = new [] { "global.json", "project.json", "*.xproj", "*.xproj.user" };
|
||||
var patterns = new [] { "global.json", "project.json", "project.lock.json", "*.xproj", "*.xproj.user" };
|
||||
|
||||
foreach (var pattern in patterns)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue