Closed akash07k closed 11 months ago
Same issue
Same issue here too
Same Issue
Sadly same issue - was really looking forward to test Template Studio - perhaps it's not compatible with the latest Visual Studio Preview or DotNet 8?
I think need to check the assembly "Microsoft.TemplateEngine.Edge.dll" under C:\Users\
I couldn't find out the get_Templates() in ScanResult method of the assembly.
Maybe the IReadOnlyList of its arguments is null. But the all related project template source files in there.
Template source test is working well. I think VS 2022 new release has fault to run template studio for wpf.
Seems it's a similar issue of https://github.com/AvaloniaUI/TemplateStudio/issues/25
Seems like another abandoned project :)
I've submitted a new bug on https://developercommunity.visualstudio.com And I'm going to attach the ticket link as soon as it gets reviewed
UPD: This is my bug report: https://developercommunity.visualstudio.com/t/TemplateEngine-can-not-find-Teplate-Stud/10489545
Related issue we encountered in the past: https://github.com/microsoft/TemplateStudio/issues/4589.
In that case, the problem was with VS, which seems likely again here given you're reporting similar issues with other projects like Avalonia.
Thank for reporting. I am aware of it and actively working to find root cause of it. https://developercommunity.visualstudio.com/t/Template-Studio-for-WinUI-C-crashes-V/10379299#T-ND10469906 where it was first reported. It looks like some internal VS plugin development api changed with new preview which our templating nuget package depends. Updating templating nuget to newer one doesn't help either. I have fixed a few missing method exception by moving away from deprecated methods but it is now showing with newer apis too. 😔 While I continue to investigate it, I have filed this issue with templating team : https://github.com/dotnet/templating/issues/6991
They have had a new nuget release which I haven't upgraded TS to, maybe that could help.
@pratikone Have you tested with VS 17.8 Preview 4? Because when I test your branch (https://github.com/microsoft/TemplateStudio/tree/runson2022), it works fine ^^.
@pratikone Have you tested with VS 17.8 Preview 4? Because when I test your branch (
runson2022
), it works fine ^^.
yes, it now works. The VS .net team fixed in preview 5. I guess 4 too.
Describe the bug
I'm using Visual Studio 17.8 Preview 1 and latest Template Studio (5.4). When I try to create any project by choosing Template Studio either for WPF or WinUI, it fails with System.MissingMethodException. Below is the complete stack trace:
I'm also attaching the logs. WTS_LocalEnv_20230815.log
To Reproduce
Additional context
Applies to the following platforms:
About your setup