diff --git a/src/Microsoft.DotNet.Arcade.Sdk/tools/DefaultVersions.props b/src/Microsoft.DotNet.Arcade.Sdk/tools/DefaultVersions.props index 792fd60e1b9..f5defdb54ef 100644 --- a/src/Microsoft.DotNet.Arcade.Sdk/tools/DefaultVersions.props +++ b/src/Microsoft.DotNet.Arcade.Sdk/tools/DefaultVersions.props @@ -85,7 +85,7 @@ 5.0.7-beta.20159.1 16.6.1 1.0.0-preview.2 - 15.1.192 + 16.9.1050 $(ArcadeSdkVersion) $(ArcadeSdkVersion) 16.5.0 diff --git a/src/Microsoft.DotNet.Arcade.Sdk/tools/VisualStudio.VsixBuild.targets b/src/Microsoft.DotNet.Arcade.Sdk/tools/VisualStudio.VsixBuild.targets index 7c047567a87..823c9e13147 100644 --- a/src/Microsoft.DotNet.Arcade.Sdk/tools/VisualStudio.VsixBuild.targets +++ b/src/Microsoft.DotNet.Arcade.Sdk/tools/VisualStudio.VsixBuild.targets @@ -247,15 +247,30 @@ - + + + + + + + - - %(IntermediateZipItem.Filename)\%(IntermediateZipItem.Language)\%(IntermediateZipItem.OutputSubPath)\%(IntermediateZipItem.Culture) - - - %(IntermediateZipProject.Filename)\%(IntermediateZipProject.Language)\%(IntermediateZipProject.OutputSubPath)\%(IntermediateZipProject.Culture) + <_TemplateFile Include="@(_ItemTemplates);@(_ProjectTemplates)"> + <_TemplateName>$([System.IO.Path]::GetFileNameWithoutExtension('%(ZipFile)')) + + + <_RelativeFilePath>\%(Identity) + <_RelativeFilePath Condition="'%(RootPath)' != '\'">$([MSBuild]::ValueOrDefault('%(Identity)', '').Substring($([MSBuild]::ValueOrDefault('%(RootPath)', '').Length))) + + <_RelativeDir>$([System.IO.Path]::GetDirectoryName('%(_TemplateFile._RelativeFilePath)')) + + + %(_TemplateName)\%(Language)\%(OutputSubPath)\%(Culture)\%(_TemplateName)%(_RelativeDir)