cannot compile asp.net 4.7 website using aspnet_compiler.exe

Questions about Wine on Linux
Locked
carlatpg
Newbie
Newbie
Posts: 1
Joined: Wed Jun 26, 2019 9:02 pm

cannot compile asp.net 4.7 website using aspnet_compiler.exe

Post by carlatpg »

I used the last release of winetricks (20190615) to install dotnet48 on an Ubuntu 16.04 distro. I've also tried this with dotnet471 and dotnet472 with the same results. I tried changing between the release, staging, and developing version of wine with the same results.

wine release version I'm using:

Code: Select all

# wine --version
wine-4.0.1
Here is the command I'm using to compile the asp.net 4.7 website:

Code: Select all

WINEPREFIX=/home/wineuser/dotnet48 WINEDEBUG=-all wine "C:\\WINDOWS\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_compiler.exe" -f -p "c:\\test-web\\_PublishedWebsites\\testweb" -v / "c:\\test-web-nonupdate"
Here is the output I get from it, that includes the error message:

Code: Select all

003a:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0x1002a1a0, 0x10082460, 0x10082478) stub.
003a:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x10003241, 28) stub
003a:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0x93b8f0, 0xe81058, 0xe81070) stub.
003a:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x7509ad, 28) stub
003a:fixme:kernelbase:QuirkIsEnabled3 (0033F540, FFFFFFFF) stub!
003a:fixme:process:GetNumaHighestNodeNumber (0x33fc74): semi-stub
003a:fixme:thread:SetThreadStackGuarantee (0x33fc64): stub
003a:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0xa74330, 0xe81100, 0xe8c108) stub.
003a:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0xa74330, 0xe82258, 0xe822c8) stub.
003a:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0xa74330, 0xe8ac30, 0xe8c118) stub.
003a:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0xa74330, 0xe81220, 0xe81288) stub.
003a:fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 0x740000) stub!
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 00175EB4 0033D0B8 0033D700 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00176068 0033D2A8 0033D8F0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00176068 0033D2A8 0033D8F0 00000000
003a:fixme:path:parse_url failed to parse L"System.Web"
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 001762E4 0033D5F8 0033DC40 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 001762E4 0033D7E8 0033DE30 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 001762E4 0033D7E8 0033DE30 00000000
003a:fixme:path:parse_url failed to parse L"System"
003a:fixme:nls:LocaleNameToLCID unsupported flags 8000000
003a:fixme:nls:LCIDToLocaleName unsupported flags 8000000
003a:fixme:nls:get_dummy_preferred_ui_language (0x8 0x33ec34 (nil) 0x33ec38) returning a dummy value (current locale)
003a:fixme:nls:get_dummy_preferred_ui_language (0x8 0x33ec34 0x17d7d8 0x33ec38) returning a dummy value (current locale)
003a:fixme:nls:LCMapStringEx unsupported lparam 17bef0
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0017C2A8 0033CDD8 0033D420 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0017C2A8 0033CFC8 0033D610 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0017C2A8 0033CFC8 0033D610 00000000
003a:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 0x44802de, (nil), 0x12d6134) stub.
Microsoft (R) ASP.NET Compilation Tool version 4.8.3761.0
Utility to precompile an ASP.NET application
Copyright (C) Microsoft Corporation. All rights reserved.

003a:fixme:path:parse_url failed to parse L"System.Configuration"
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 001770B8 0033D428 0033DA70 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0018208C 0033D618 0033DC60 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0018208C 0033D618 0033DC60 00000000
003a:fixme:path:parse_url failed to parse L"System.Core"
003a:fixme:ntdll:NtQuerySystemInformation (0x000000ce,0x33e86c,0x00000008,(nil)) stub
003a:fixme:advapi:LsaOpenPolicy ((null),0x33e77c,0x00000800,0x33e73c) stub
003a:fixme:advapi:LsaClose (0xcafe) stub
003a:fixme:path:parse_url failed to parse L"System.Xml"
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 00190A1C 0033C7E8 0033CE30 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00190A08 0033C9D8 0033D020 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00190A08 0033C9D8 0033D020 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 00190FC4 0033C7E8 0033CE30 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0018F118 0033C9D8 0033D020 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0018F118 0033C9D8 0033D020 00000000
003a:fixme:bcrypt:BCryptGetFipsAlgorithmMode 0x33e540 - semi-stub
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 001920DC 0033CE38 0033D480 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00194830 0033D028 0033D670 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00194830 0033D028 0033D670 00000000
003a:fixme:ntdll:EtwEventRegister ({265f3ac7-56a5-5720-0af8-7616a1af3d9d}, 0x4480436, (nil), 0x1374814) stub.
003a:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x13747d4, 54) stub
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00195394 0033CC58 0033D2A0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00195394 0033CE48 0033D490 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00195394 0033CE48 0033D490 00000000
003a:fixme:nls:get_dummy_preferred_ui_language (0x8 0x33da44 (nil) 0x33da48) returning a dummy value (current locale)
003a:fixme:nls:get_dummy_preferred_ui_language (0x8 0x33da44 0x19d2c8 0x33da48) returning a dummy value (current locale)
003a:fixme:path:parse_url failed to parse L"System.Web"
003a:fixme:path:parse_url failed to parse L"System.Configuration"
003a:fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 0x4480486, (nil), 0x13906a8) stub.
003a:fixme:advapi:LsaOpenPolicy ((null),0x33cdc4,0x00000800,0x33cd84) stub
003a:fixme:advapi:LsaClose (0xcafe) stub
003a:fixme:path:parse_url failed to parse L"System"
003a:fixme:path:parse_url failed to parse L"Microsoft.Build.Utilities.v4.0"
003a:fixme:ntdll:NtQuerySystemInformation (0x000000ce,0x33ce44,0x00000008,(nil)) stub
003a:fixme:path:parse_url failed to parse L"System.Runtime.Caching"
003a:fixme:path:parse_url failed to parse L"System.Xml"
003a:fixme:bcrypt:BCryptGetFipsAlgorithmMode 0x33c76c - semi-stub
003a:fixme:ntdll:EtwEventRegister ({265f3ac7-56a5-5720-0af8-7616a1af3d9d}, 0x44806ae, (nil), 0x142bbb0) stub.
003a:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x142bb70, 54) stub
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 001B50C0 0033AFA8 0033B5F0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 001BA108 0033B198 0033B7E0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 001B50C0 0033B198 0033B7E0 00000000
003a:fixme:advapi:LsaOpenPolicy ((null),0x33d4f8,0x000f0fff,0x33d528) stub
003a:fixme:advapi:LsaRetrievePrivateData (0xcafe,0x33d504,0x33d50c) stub
003a:fixme:advapi:LsaRetrievePrivateData (0xcafe,0x33d504,0x33d50c) stub
003a:fixme:advapi:LsaStorePrivateData (0xcafe,0x33d4fc,0x33d504) stub
003a:fixme:advapi:LsaClose (0xcafe) stub
003a:fixme:path:parse_url failed to parse L"System.Core"
003a:fixme:path:parse_url failed to parse L"Microsoft.JScript"
003a:fixme:path:parse_url failed to parse L"Microsoft.CSharp"
003a:fixme:path:parse_url failed to parse L"System.Data"
003a:fixme:path:parse_url failed to parse L"System.Web.Services"
003a:fixme:path:parse_url failed to parse L"System.Drawing"
003a:fixme:path:parse_url failed to parse L"System.EnterpriseServices"
003a:fixme:path:parse_url failed to parse L"System.IdentityModel"
003a:fixme:path:parse_url failed to parse L"System.Runtime.Serialization"
003a:fixme:path:parse_url failed to parse L"System.ServiceModel"
003a:fixme:path:parse_url failed to parse L"System.ServiceModel.Activation"
003a:fixme:path:parse_url failed to parse L"System.ServiceModel.Web"
003a:fixme:path:parse_url failed to parse L"System.Activities"
003a:fixme:path:parse_url failed to parse L"System.ServiceModel.Activities"
003a:fixme:path:parse_url failed to parse L"System.WorkflowServices"
003a:fixme:path:parse_url failed to parse L"System.Web.Extensions"
003a:fixme:path:parse_url failed to parse L"System.Data.DataSetExtensions"
003a:fixme:path:parse_url failed to parse L"System.Xml.Linq"
003a:fixme:path:parse_url failed to parse L"System.ComponentModel.DataAnnotations"
003a:fixme:path:parse_url failed to parse L"System.Web.DynamicData"
003a:fixme:path:parse_url failed to parse L"System.Web.ApplicationServices"
003a:fixme:path:parse_url failed to parse L"MatrixCastBackend"
003a:fixme:path:parse_url failed to parse L"Newtonsoft.Json"
003a:fixme:path:parse_url failed to parse L"System.Xaml"
003a:fixme:path:parse_url failed to parse L"aspnet_compiler"
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00207484 0033AD18 0033B360 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00207484 0033AF08 0033B550 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00207484 0033AF08 0033B550 00000000
003a:fixme:path:parse_url failed to parse L"System.Web.RegularExpressions"
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 0021229C 0033B198 0033B7E0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00200C98 0033B388 0033B9D0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00200C98 0033B388 0033B9D0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 0020311C 0033B0B8 0033B700 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00203108 0033B2A8 0033B8F0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00203108 0033B2A8 0033B8F0 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00200C90 0033B708 0033BD50 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00200C90 0033B8F8 0033BF40 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00200C90 0033B8F8 0033BF40 00000000
003a:fixme:process:FlushProcessWriteBuffers : stub
003c:fixme:ole:Context_CC_ContextCallback (00200948/0020094C)->(009081F0, 0346FB68, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000)
003c:fixme:ole:Context_CC_ContextCallback (00200948/0020094C)->(009081F0, 0346FAEC, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000)
003c:fixme:ole:Context_CC_ContextCallback (00200948/0020094C)->(009081F0, 0346FAEC, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000)
003a:fixme:path:parse_url failed to parse L"System.Data.Services.Design"
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 00215AF4 0033B460 0033BAA8 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00177190 0033B650 0033BC98 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00177190 0033B650 0033BC98 00000000
003a:fixme:path:parse_url failed to parse L"Microsoft.Build.Framework"
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 5 00157C28 0033B9E8 0033C030 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 00219524 0033BBD8 0033C220 00000000
003a:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 00219524 0033BBD8 0033C220 00000000
0042:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0042:fixme:nls:GetProcessPreferredUILanguages 00000004, 0x80fe10, (nil) 0x80fe14
0042:fixme:nls:get_dummy_preferred_ui_language (0x4 0x80fe10 (nil) 0x80fe14) returning a dummy value (current locale)
0042:fixme:nls:GetProcessPreferredUILanguages 00000004, 0x80fe10, 0x148288 0x80fe14
0042:fixme:nls:get_dummy_preferred_ui_language (0x4 0x80fe10 0x148288 0x80fe14) returning a dummy value (current locale)
0042:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0xb4a1a0, 0xba2460, 0xba2478) stub.
0042:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0xb23241, 28) stub
0042:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0042:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0080FEB4
(0): error CS0006: Metadata file 'C:\users\wineuser\Temp\Temporary ASP.NET Files\root\ec28831a\1772795c\assembly\dl3\e9fcfe9c\96767b42_912cd501_0\testweb.dll' could not be found
(0): error CS0006: Metadata file 'C:\users\wineuser\Temp\Temporary ASP.NET Files\root\ec28831a\1772795c\assembly\dl3\2d436048\00cc5842_e2f8d401_0\Newtonsoft.Json.dll' could not be found
003c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
003c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
003c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
003c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0043:fixme:sync:SetWaitableTimerEx (0x1c4, 0x790fea4, 500, (nil), (nil), (nil), 50) semi-stub
003a:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
003a:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
I checked the 2 directories and the parent directory exists, but not the directory the dll's are supposed to be in:

exists:
  • /home/wineuser/dotnet48/drive_c/users/wineuser/Temp/Temporary ASP.NET Files/root/ec28831a/1772795c/assembly/dl3/2d436048
    /home/wineuser/dotnet48/drive_c/users/wineuser/Temp/Temporary ASP.NET Files/root/ec28831a/1772795c/assembly/dl3/e9fcfe9c
does not exist:
  • /home/wineuser/dotnet48/drive_c/users/wineuser/Temp/Temporary ASP.NET Files/root/ec28831a/1772795c/assembly/dl3/2d436048/00cc5842_e2f8d401_0
    /home/wineuser/dotnet48/drive_c/users/wineuser/Temp/Temporary ASP.NET Files/root/ec28831a/1772795c/assembly/dl3/e9fcfe9c/96767b42_912cd501_0
I tried the same command on a windows 10 computer, and it was able to work.

This was previously working when the website was on asp.net 3.5 with the same wine version that I setup a wineprefix for dotnet35sp1 using winetricks.

Code: Select all

WINEPREFIX=/home/wineuser/dotnet35sp1 WINEDEBUG=-all wine "C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_compiler.exe" -f -p "c:\\test-web\\_PublishedWebsites\\testweb" -v / "c:\\test-web-nonupdate"
Locked