19 March, 2021
0 Comments
1 category
On a specific system, when using msbuild in the folder: “C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin”, I was getting the error:
….csproj” (Build target) (1) ->
(MvcBuildViews target) ->
ASPNETCOMPILER : error ASPRUNTIME: '/temp' is not a valid IIS application. [C:\Dev\pri\ZvdZOnline\Source\ZvdZOnline\Zv
dZOnline.Web\ZvdZOnline.Web.csproj]
But when I build the project by using msbuild found in “C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin” the error was resolved.
To resolve the error with the msbuild found in “C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin”, I replaced the folder by one found on an other system, that did not have the error.
Category: Uncategorized