Skip to content

Commit

Permalink
Fix UWP packing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Oct 31, 2018
1 parent 602fa5c commit 80092d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 11 additions & 3 deletions MSBuild.Sdk.Extras.sln
Expand Up @@ -4,9 +4,9 @@ VisualStudioVersion = 15.0.27130.2026
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8647C74A-083C-4EAF-B9B0-2172D4A27BFC}"
ProjectSection(SolutionItems) = preProject
.vsts-ci.yml = .vsts-ci.yml
.vsts-pr.yml = .vsts-pr.yml
.vsts-shared.yml = .vsts-shared.yml
azure-pipelines.yml = azure-pipelines.yml
Source\Directory.Build.props = Source\Directory.Build.props
Source\Directory.Build.targets = Source\Directory.Build.targets
README.md = README.md
version.json = version.json
EndProjectSection
Expand All @@ -33,6 +33,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClasslibraryAsSdk.Ref", "Te
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Classlibrary.Ref", "Tests\Classlibrary.Ref\Classlibrary.Ref.csproj", "{2760D19C-F00A-40C4-B8DF-F28249E284FE}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{19A683CB-8C5D-480B-8D60-30F28DA40660}"
ProjectSection(SolutionItems) = preProject
Tools\MSBuild.DevLocal.targets = Tools\MSBuild.DevLocal.targets
Tools\MSBuild.Packaging.props = Tools\MSBuild.Packaging.props
Tools\MSBuild.Packaging.targets = Tools\MSBuild.Packaging.targets
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -93,6 +100,7 @@ Global
{96E4CC91-6E55-4650-BA58-D6D1EF138EE2} = {26026DB4-DD68-43BF-8858-15AD2016C0B2}
{C2EE161F-0521-47F7-BE2D-0B55CA8B3C53} = {26026DB4-DD68-43BF-8858-15AD2016C0B2}
{2760D19C-F00A-40C4-B8DF-F28249E284FE} = {26026DB4-DD68-43BF-8858-15AD2016C0B2}
{19A683CB-8C5D-480B-8D60-30F28DA40660} = {8647C74A-083C-4EAF-B9B0-2172D4A27BFC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {93349570-79D8-4F89-8E78-C66401620727}
Expand Down
4 changes: 3 additions & 1 deletion Source/MSBuild.Sdk.Extras/Build/Workarounds.targets
Expand Up @@ -90,7 +90,9 @@
DependsOnTargets="PrepareLibraryLayout"
Condition="'$(GenerateLibraryLayout)' == 'true' AND '$(SDKIdentifier)' == 'Windows'">
<ItemGroup>
<TfmSpecificPackageFile Include="@(_LayoutFile)" PackagePath="lib\$(TargetFramework)\%(_LayoutFile.TargetPath)"/>
<TfmSpecificPackageFile Include="@(_LayoutFile)"
Condition="'$(ProjectName)' == '%(_LayoutFile.ProjectName)'"
PackagePath="lib\$(TargetFramework)\%(_LayoutFile.TargetPath)"/>
</ItemGroup>
</Target>

Expand Down

0 comments on commit 80092d4

Please sign in to comment.