Closed
Description
openedon Jun 21, 2016
I get this VS popup sporadically when trying to scaffold a new controller:
---------------------------
Microsoft Visual Studio
---------------------------
Error
There was an error running the selected code generator:
'Project WebApplication6 (.NETCoreApp,Version=v1.0) will be compiled because project is not safe for incremental compilation. Use --build-profile flag for more information.
Compiling WebApplication6 for .NETCoreApp,Version=v1.0
Running with configuration from C:\temp\WebApplication6\src\WebApplication6\bundleconfig.json
Processing wwwroot/css/site.min.css
Bundled
Minified
Processing wwwroot/js/site.min.js
Compilation failed.
0 Warning(s)
1 Error(s)
Time elapsed 00:00:05.9348301'
---------------------------
OK
---------------------------
Repro:
- Right-click on Controllers and Add -> Controller
- Select MVC Controller - Empty
- Set the controller name and click Add
Sometimes you get the above error and when pressing OK it goes back to the controller name window. Still not sure what triggers the error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment