Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for #404 till the dependent bugs we have open against NuGet are resolved. This workaround is only complete with two xml snippets added to a WPF project: Add this just under the opening `<Project>` tag: ```xml <Import Project="$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.props" Condition=" '$(_TargetAssemblyProjectName)' != '' and '$(ImportProjectExtensionProps)' != 'false' and exists('$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.props')" /> ``` Add this just above the closing `</Project>` tag: ```xml <Import Project="$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.targets" Condition=" '$(_TargetAssemblyProjectName)' != '' and '$(ImportProjectExtensionProps)' != 'false' and exists('$(BaseIntermediateOutputPath)$(_TargetAssemblyProjectName)$(MSBuildProjectExtension).nuget.g.targets')" /> ``` This is tested to work both for .NET Framework WPF projects and .NET Core WPF projects.
- Loading branch information