-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solution Restore should run in background
Resolves NuGet/Home#3816. Resolves NuGet/Home#4255. Resolves NuGet/Home#4636. In order to prevent hangs in VS Solution Restore should create a background task and push it in the restore worker queue. Added E2E test suite for .NET Standard multi-targeting class library
- Loading branch information
Showing
7 changed files
with
418 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
test/EndToEnd/ProjectTemplates/NetStandardClassLibrary.zip/Class1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace $safeprojectname$ | ||
{ | ||
public class Class1 | ||
{ | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
test/EndToEnd/ProjectTemplates/NetStandardClassLibrary.zip/ClassLibrary.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netstandard1.4;net46</TargetFrameworks> | ||
<PackageId>NuGet.TestPackage</PackageId> | ||
<PackageVersion>1.0.1-preview</PackageVersion> | ||
</PropertyGroup> | ||
|
||
</Project> |
17 changes: 17 additions & 0 deletions
17
.../EndToEnd/ProjectTemplates/NetStandardClassLibrary.zip/NetStandardClassLibrary.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010"> | ||
<TemplateData> | ||
<Name>NetStandardClassLibrary</Name> | ||
<Description>.NET Standard class library template</Description> | ||
<ProjectType>CSharp</ProjectType> | ||
<SortOrder>1000</SortOrder> | ||
<CreateNewFolder>true</CreateNewFolder> | ||
<DefaultName>NetStandardClassLibrary</DefaultName> | ||
<ProvideDefaultName>true</ProvideDefaultName> | ||
</TemplateData> | ||
<TemplateContent> | ||
<Project File="ClassLibrary.csproj" ReplaceParameters="true"> | ||
<ProjectItem ReplaceParameters="true" OpenInEditor="false">Class1.cs</ProjectItem> | ||
</Project> | ||
</TemplateContent> | ||
</VSTemplate> |
Oops, something went wrong.