MVC

VS2015 TypeScript Cannot compile modules unless the ‘–module’ flag is provided build error

Introduction In Visual studio 2015 i had big troubles using TypeScript import statements in combination with exporting modules. At build i got TypeScript compiler errors stating :¬†Cannot compile modules unless the ‘–module’ flag is provided build error. I used TypeScript and modules before without running into this problem, but in those cases i didn’t use […]

MvcBuildViews setting depending on build configuration

Introduction By default, in a MVC web application, MVC Razor views (.cshtml files) are not compiled at build time, so any errors in these parts of the application will only occure during run time. When you are¬†editing a .cshtml file your Error window will show the errors in that specific file, but these errors will […]