diff --git a/MSBuild.Sdk.Extras.sln b/MSBuild.Sdk.Extras.sln index 04cc7c7..7ffac78 100644 --- a/MSBuild.Sdk.Extras.sln +++ b/MSBuild.Sdk.Extras.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2026 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29305.180 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8647C74A-083C-4EAF-B9B0-2172D4A27BFC}" ProjectSection(SolutionItems) = preProject @@ -36,6 +36,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{19A683CB Tools\MSBuild.Packaging.targets = Tools\MSBuild.Packaging.targets EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UwpClassLibrary", "Tests\UwpClassLibrary\UwpClassLibrary.csproj", "{B7617E50-4107-4C19-BDCF-012CCDB22FB0}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -74,6 +76,10 @@ Global {C2EE161F-0521-47F7-BE2D-0B55CA8B3C53}.Debug|Any CPU.Build.0 = Debug|Any CPU {C2EE161F-0521-47F7-BE2D-0B55CA8B3C53}.Release|Any CPU.ActiveCfg = Release|Any CPU {C2EE161F-0521-47F7-BE2D-0B55CA8B3C53}.Release|Any CPU.Build.0 = Release|Any CPU + {B7617E50-4107-4C19-BDCF-012CCDB22FB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B7617E50-4107-4C19-BDCF-012CCDB22FB0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B7617E50-4107-4C19-BDCF-012CCDB22FB0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B7617E50-4107-4C19-BDCF-012CCDB22FB0}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -87,6 +93,7 @@ Global {96E4CC91-6E55-4650-BA58-D6D1EF138EE2} = {26026DB4-DD68-43BF-8858-15AD2016C0B2} {C2EE161F-0521-47F7-BE2D-0B55CA8B3C53} = {26026DB4-DD68-43BF-8858-15AD2016C0B2} {19A683CB-8C5D-480B-8D60-30F28DA40660} = {8647C74A-083C-4EAF-B9B0-2172D4A27BFC} + {B7617E50-4107-4C19-BDCF-012CCDB22FB0} = {26026DB4-DD68-43BF-8858-15AD2016C0B2} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {93349570-79D8-4F89-8E78-C66401620727} diff --git a/Source/MSBuild.Sdk.Extras/Build/LanguageTargets/Windows.targets b/Source/MSBuild.Sdk.Extras/Build/LanguageTargets/Windows.targets index 7474c18..e9fc545 100644 --- a/Source/MSBuild.Sdk.Extras/Build/LanguageTargets/Windows.targets +++ b/Source/MSBuild.Sdk.Extras/Build/LanguageTargets/Windows.targets @@ -20,25 +20,6 @@ UAP$(_SdkShortFrameworkVersion.Replace('.', '_'));UAP$(TargetPlatformMinVersion.Replace('.', '_')) UAP$(_SdkShortFrameworkVersion.Replace('.', '_'))=-1,UAP$(TargetPlatformMinVersion.Replace('.', '_')) - - <_ExtrasUseVersionedWindowsWinmdFile Condition="$([System.Version]::Parse('$(TargetPlatformVersion)')) >= $([System.Version]::Parse('10.0.16299.0'))">true - - $(MSBuildProgramFiles32)\Windows Kits\10\UnionMetadata\$(TargetPlatformVersion)\Windows.winmd - $(MSBuildProgramFiles32)\Windows Kits\10\UnionMetadata\Windows.winmd - - <_ExtrasShowWindowsSdkError>false - <_ExtrasShowWindowsSdkError Condition="'$(DisableImplicitFrameworkReferences)' != 'true' AND '$(WindowsWinmdFile)' == '' ">true - - <_SdkWindowsImplicitReference Include="Windows" Private="false" HintPath="$(WindowsWinmdFile)" IsWinMDFile="true" Pack="false" /> - <_SdkWindowsImplicitReference Remove="@(Reference)"/> - - - - - - - \ No newline at end of file diff --git a/Source/MSBuild.Sdk.Extras/Build/Platforms/Windows.targets b/Source/MSBuild.Sdk.Extras/Build/Platforms/Windows.targets index 89aa5f0..18e53f3 100644 --- a/Source/MSBuild.Sdk.Extras/Build/Platforms/Windows.targets +++ b/Source/MSBuild.Sdk.Extras/Build/Platforms/Windows.targets @@ -19,8 +19,6 @@ WINDOWS8 - $(MSBuildProgramFiles32)\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd - false @@ -32,8 +30,6 @@ WINDOWS8_1 - $(MSBuildProgramFiles32)\Windows Kits\8.1\References\CommonConfiguration\Neutral\Windows.winmd - false @@ -59,9 +55,6 @@ $([System.Version]::Parse('$(_SdkShortFrameworkVersion)')).0 false - - false - diff --git a/Source/MSBuild.Sdk.Extras/DefaultItems/ImplicitPackages.targets b/Source/MSBuild.Sdk.Extras/DefaultItems/ImplicitPackages.targets index 091ec31..4e7a28a 100644 --- a/Source/MSBuild.Sdk.Extras/DefaultItems/ImplicitPackages.targets +++ b/Source/MSBuild.Sdk.Extras/DefaultItems/ImplicitPackages.targets @@ -8,7 +8,7 @@ Package Version property for Implicit Packages included in the props file --> - 6.1.9 + 6.2.9 diff --git a/Tests/UwpClassLibrary/Class1.cs b/Tests/UwpClassLibrary/Class1.cs new file mode 100644 index 0000000..89abec2 --- /dev/null +++ b/Tests/UwpClassLibrary/Class1.cs @@ -0,0 +1,8 @@ +using System; + +namespace UwpClassLibrary +{ + public class Class1 + { + } +} diff --git a/Tests/UwpClassLibrary/UwpClassLibrary.csproj b/Tests/UwpClassLibrary/UwpClassLibrary.csproj new file mode 100644 index 0000000..2a325dd --- /dev/null +++ b/Tests/UwpClassLibrary/UwpClassLibrary.csproj @@ -0,0 +1,12 @@ + + + + + + uap10.0.16299 + + + + + +