Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Error running custom tool RazorGenerator in cshtml file in .net standard console project in VS 2017 #1004

Open
gabomgp opened this issue Feb 24, 2017 · 5 comments

Comments

@gabomgp
Copy link

gabomgp commented Feb 24, 2017

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."

@atnegrete
Copy link

Hi, where you ever able to fix this? I'm having a similar problem.

@gabomgp
Copy link
Author

gabomgp commented Sep 20, 2017

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.

@barrytang
Copy link

@barrytang
Copy link

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.

@NTaylorMullen
Copy link
Contributor

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.

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

No branches or pull requests

4 participants