Move few GivenWeWantToRequireWindowsForDesktopApps tests (#8205)
Fix https://github.com/dotnet/installer/issues/8203
This commit is contained in:
parent
225274f1f4
commit
3232fe7ac1
4 changed files with 131 additions and 1 deletions
|
@ -25,6 +25,8 @@ namespace EndToEnd
|
|||
|
||||
public string RuntimeIdentifier { get; set; }
|
||||
|
||||
public Dictionary<string, string> AdditionalProperties { get; } = new Dictionary<string, string>();
|
||||
|
||||
public TestProjectCreator([CallerMemberName] string testName = null, string identifier = "")
|
||||
{
|
||||
TestName = testName;
|
||||
|
@ -54,7 +56,11 @@ namespace EndToEnd
|
|||
project.Root.Element(ns + "PropertyGroup")
|
||||
.Add(new XElement(ns + "RuntimeIdentifier", RuntimeIdentifier));
|
||||
}
|
||||
|
||||
|
||||
foreach (var additionalProperty in AdditionalProperties)
|
||||
{
|
||||
project.Root.Element(ns + "PropertyGroup").Add(new XElement(ns + additionalProperty.Key, additionalProperty.Value));
|
||||
}
|
||||
|
||||
if (PackageName != NETCorePackageName)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue