EnvDTE in Visual Studio 2022 for MVC #6543
Zahar661
started this conversation in
Tricks and Samples
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Visual Studio 2022
Error Compiling transformation: The type 'ProjectItem' exists in both 'EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'Microsoft.VisualStudio.Interop, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Error Compiling transformation: The type 'DTE' exists in both 'EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'Microsoft.VisualStudio.Interop, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Solution
in CodeGenerationHelpers.ttinclude
Remove
<#@ assembly name="EnvDTE"#>
<#@ assembly name="EnvDTE80" #>
in MultipleOutputHelper.ttinclude
<#@ assembly name="EnvDTE"#> rename <#@ import namespace="EnvDTE"#>
Beta Was this translation helpful? Give feedback.
All reactions