Add/remove solution items based on directory structure (#5197)
* WIP support solution folders for dotnet add and remove * Add/remove solution folders based on directory hierarchy * Fix tests * Disable the solution building tests * Address PR comments * Fix a build break due to a new tool version used in the build * Create SlnProjectExtensions and SlnProjectCollectionExtensions per PR comments
This commit is contained in:
		
					parent
					
						
							
								05b448944c
							
						
					
				
			
			
				commit
				
					
						d0151a6111
					
				
			
		
					 23 changed files with 757 additions and 46 deletions
				
			
		| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
 | 
			
		||||
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <TargetFramework>netstandard1.4</TargetFramework>
 | 
			
		||||
    <ProjectGuid>{84A45D44-B677-492D-A6DA-B3A71135AB8E}</ProjectGuid>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Compile Include="**\*.cs" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <PackageReference Include="NETStandard.Library" Version="1.6" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
 | 
			
		||||
</Project>
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
using System;
 | 
			
		||||
 | 
			
		||||
namespace Lib
 | 
			
		||||
{
 | 
			
		||||
    public class Library
 | 
			
		||||
    {
 | 
			
		||||
        public static string GetMessage()
 | 
			
		||||
        {
 | 
			
		||||
            return "Message from Lib";
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in a new issue