Microsoft Visual Studio Community 2022
Version 17.14.13 (August 2025)
VisualStudio.17.Release/17.14.13+36414.22.-august.2025-
Microsoft .NET Framework
Version 4.8.09037
RemObjects Elements 12.0.0.3013
I am unable to build any of my Asp.net projects. It gives two incomprehensible errors (for my):
Error (MSB4217) Task host node exited prematurely. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt. WebApplicationTest C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Echoes.Legacy.targets 465
Error (MSB4028) The âOxygeneCompilerOutOfProcessâ taskâs outputs could not be retrieved from the âPositionsFileNameâ parameter. Object does not match target type. WebApplicationTest C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Echoes.Legacy.targets 536
I have tried a completely new app using ASP.NET Classic Web Application (.Net Framework 4.8) template. Without touching anything it builds, but if I add a simple field in the Global_asax class I get the errors. No matter how many tests I have done, I canât get it to work.
Curious. i think we had a similar report a few weeks back, i need to check what the status or resolution there was.
In the mean time, your project builds fine for me using plain EBuild without the MSBuild wrapper that Visual Studio unfortunaterly needs. So as a temporary workaround, could you use Water (or EBuild on the commandline) to build your project, rather than VS?
The truth is that I donât have much time. The thing is, I use Visual Studio because I have several of my own extensions and some from others that are essential in my day-to-day work.
I understand. I was merely suggesting thisas a workaround until we can solve this issue, which probably will not happen today.
Oddly, when i open your solution in VS, i get
The project file â\Mac\Home\Downloads\WebApplicationTest\WebApplicationTest.elementsâ cannot be opened.
There is a missing project subtype.
Subtype: â{349c5851-65df-11da-9384-00065b846f21}â is unsupported by this installation.
I havenât investigated further (or tried removing the subtype) yet; this might be an issue with my VS setup, as in donât use VS regularly myself. Unfortunately the team member most likely to know whats going on here is on vacation this week and part of next.
Do you see this issue too? or is this maybe related tom one of the (non-RemObjects) extensioms you use in VS that you mentioned?
Update: i also seem to be missing â$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targetsâ, which your project uses. I could imagine that this target is causing some conflict with ours that causes your error. Investigating what components iâm missing to get this, nowâŚ
{349C5851-65DF-11DA-9384-00065B846F21} is for ASP.NET MVC 5.I think itâs from your âclassic ASP.NET web applicationâ template. Itâs in all my Web Forms projects.
In more complex projects, it is impossible to achieve anything using âbuildâ or ârebuild,â but in simple projects, sometimes âbuildâ works.
I think what is happening is that it doesnât compile any code that has a real syntax error because the two MS Build errors replace the code error report. My rather large project when it didnât have an error in it compiled, threw the errors, and then when I ran it, it ran just fine because it was already compiled. When I futzed with it enough that I introduced an error, now it doesnât compile and also does not give me the error. I will try EBuild.
Note that EBuild is giving me an unsupported language error on this line:
<%@ Page Language=âOxygeneâ AutoEventWireup=âtrueâ CodeBehind=âDefault.aspx.pasâ Inherits=âetc._Defaultâ EnableEventValidation=âfalseâ %>
Interesting. I donât think EBuild will work to compile .aspx files themelves, yoâll bneed to use thew MSBuild toolchain for that. Unless i ever get arund to fully finishing this thing: ESP: Keeping Classic ASP.NET Alive. Which mighyt actuallty be what youâre hitting. Can i see the/a project that gives you the unsupported language error?
I can give you a onedrive link privately. How are we coming on the bug? The biggest issue with it is that it suppresses the reporting of syntax errors which makes anything more than a few lines impossible.