Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS2017 System.Runtime.InteropServices.COMException (0x80041FEB): There is no editor available for T4MVC.tt #116

Open
sojan80 opened this issue Oct 31, 2018 · 0 comments

Comments

@sojan80
Copy link

sojan80 commented Oct 31, 2018

When I try to run the tool in my Web.Mvc project I get this error:
Error Running transformation: System.Runtime.InteropServices.COMException (0x80041FEB): There is no editor available for 'C:\Projects\AppDev\Campus\UWSP.Personnel\src\Web.Mvc\T4MVC.tt'.

Make sure the application for the file type (.tt) is installed.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.FileDocumentManager.Open(SimpleHierarchyNode projectItem, Boolean openWith, UInt32 editorFlags, Guid& editorType, String physicalView, Guid& logicalView, IntPtr docDataExisting, IVsWindowFrame& windowFrame, WindowFrameShowAction windowFrameAction)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.FileDocumentManager.Open(SimpleHierarchyNode projectItem, Boolean openWith, Guid logicalView, IVsWindowFrame& frame, WindowFrameShowAction windowFrameAction)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProjectItem.<>c__DisplayClass55_0.b__0()
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProject.<>c__DisplayClass70_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at Microsoft.VisualStudio.ProjectSystem.ProjectMultiThreadedService.ExecuteSynchronously(Func1 asyncAction) at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProject.ExecuteSynchronously(Func1 asyncAction)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAProjectItem.Open(String ViewKind)
at EnvDTE.ProjectItem.Open(String ViewKind)
at Microsoft.VisualStudio.TextTemplating0C38F607A00AAD8E1C017AC8FB3FAFFF668650E340FB75AF2324931BC77E1CAE8BE3F01BEF133A62B084AA5930BD22BE14360445E3A39785D4C9C7F6DDCF1522.GeneratedTextTransformation.XmlSettings.Init(ITextTemplatingEngineHost host) in C:\Projects\AppDev\Campus\UWSP.Personnel\src\Web.Mvc\T4MVC.tt:line 2578
at Microsoft.VisualStudio.TextTemplating0C38F607A00AAD8E1C017AC8FB3FAFFF668650E340FB75AF2324931BC77E1CAE8BE3F01BEF133A62B084AA5930BD22BE14360445E3A39785D4C9C7F6DDCF1522.GeneratedTextTransformation.XmlSettings.Load[T](ITextTemplatingEngineHost host) in C:\Projects\AppDev\Campus\UWSP.Personnel\src\Web.Mvc\T4MVC.tt:line 2551
at Microsoft.VisualStudio.TextTemplating0C38F607A00AAD8E1C017AC8FB3FAFFF668650E340FB75AF2324931BC77E1CAE8BE3F01BEF133A62B084AA5930BD22BE14360445E3A39785D4C9C7F6DDCF1522.GeneratedTextTransformation.MvcSettings.Load(ITextTemplatingEngineHost host) in C:\Projects\AppDev\Campus\UWSP.Personnel\src\Web.Mvc\T4MVC.tt:line 2231
at Microsoft.VisualStudio.TextTemplating0C38F607A00AAD8E1C017AC8FB3FAFFF668650E340FB75AF2324931BC77E1CAE8BE3F01BEF133A62B084AA5930BD22BE14360445E3A39785D4C9C7F6DDCF1522.GeneratedTextTransformation.TransformText() in C:\Projects\AppDev\Campus\UWSP.Personnel\src\Web.Mvc\T4MVC.tt:line 39 Web.Mvc C:\Projects\AppDev\Campus\UWSP.Personnel\src\Web.Mvc\T4MVC.tt 2578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant