Open gabomgp opened 7 years ago
Hi, where you ever able to fix this? I'm having a similar problem.
Yeah. The best "solution" i found is to install the package RazorGenerator.MsBuild and don't configure the custom tool. The project compile without problems and in compilation time, the cshtml is transpiled to cs. But, in the error window in Visual Studio, appears errors that dont affects compilation. It's all.
@alexgav @NTaylorMullen @rynowak
To report new issues, use the Report a Problem tool. The GitHub Issue Tracker for the aspnet/Tooling repo is now deprecated in favor of the Report a Problem tool.
If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See here for more details.
I'd recommend logging an issue over at the RazorGenerator repo. Sadly it's not an officially supported project, some team members just developed it in their spare time 😄.
If you'd like to invest in building your own tool to do things similar to what RazorGenerator did I'd recommend looking at https://github.com/aspnet/Razor/tree/dev/src/RazorPageGenerator.
When i'm trying to run as custom tool the plugin Razor Generator (https://github.com/RazorGenerator/RazorGenerator) in Visual Studio 2017 in a cshtml file, within a .net standard console project, i'm getting the error message "Error to save the edited properties enumerated to continuation. Custom Tool. One or more values are not valid. Internal error."