AspNetDocs | Documentation for ASP.NET | Model View Controller library
kandi X-RAY | AspNetDocs Summary
kandi X-RAY | AspNetDocs Summary
Documentation for ASP.NET 4.x
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of AspNetDocs
AspNetDocs Key Features
AspNetDocs Examples and Code Snippets
Community Discussions
Trending Discussions on AspNetDocs
QUESTION
In Visual Studio 2017, when hitting Ctrl+F5 to run my ASP.NET Framework Web API server, I get:
Could not find file ... bin\roslyn\csc.exe:
Running Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r
in the package manager console is not a permanent fix in the sense that the server error appears again when the package files are missing.
How can I get rid of this error once-and-for-all so that the needed packages are automatically (and silently) reinstalled as soon as I reopen, build, and run my Visual Studio solution?
Edit - code to reproduce the error: http://schulze.000webhostapp.com/vs/SrvrErr-reproduce.zip (Originally from https://github.com/aspnet/AspNetDocs/tree/master/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client/sample/server/ProductsApp)
...ANSWER
Answered 2020-May-12 at 10:55As you already mention,
the quick fix is to use the package manager,
Tools
> Nuget Package Manager
> Package Manager Console
, to run
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install AspNetDocs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page