neo-project / neo-modules

MIT License
60 stars 100 forks source link

Aspnet dependencies problems #862

Closed vncoelho closed 9 months ago

vncoelho commented 10 months ago

After https://github.com/neo-project/neo/pull/3065

#35 [31/35] RUN /opt/buildAllList_Plugins_3x.sh
#35 0.342 GOING TO BUILD PLUGIN ApplicationLogs
#35 0.342 
#35 0.342 GETTING PLUGIN NAME AS PARAMETER ApplicationLogs
#35 0.342 GOING TO PUBLISH ApplicationLogs...
#35 0.342 
#35 0.489 MSBuild version 17.7.4+3ebbd7c49 for .NET
#35 0.903   Determining projects to restore...
#35 2.141   Restored /opt/neo-modules/src/RpcServer/RpcServer.csproj (in 122 ms).
#35 2.142   Restored /opt/neo-modules/src/ApplicationLogs/ApplicationLogs.csproj (in 122 ms).
#35 2.143   3 of 5 projects are up-to-date for restore.
#35 2.823   Neo.Json -> /opt/neoLib/src/Neo.Json/bin/Release/net7.0/Neo.Json.dll
#35 2.884   Neo.VM -> /opt/neoLib/src/Neo.VM/bin/Release/net7.0/Neo.VM.dll
#35 2.979   Neo -> /opt/neoLib/src/Neo/bin/Release/net7.0/Neo.dll
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(12,17): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(13,17): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(14,17): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(15,17): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(16,17): error CS0234: The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(17,28): error CS0234: The type or namespace name 'DependencyInjection' does not exist in the namespace 'Microsoft.Extensions' (are you missing an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(53,32): error CS0246: The type or namespace name 'HttpContext' could not be found (are you missing a using directive or an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(203,40): error CS0246: The type or namespace name 'HttpContext' could not be found (are you missing a using directive or an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(264,57): error CS0246: The type or namespace name 'HttpContext' could not be found (are you missing a using directive or an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]
#35 3.944 /opt/neo-modules/src/RpcServer/RpcServer.cs(39,17): error CS0246: The type or namespace name 'IWebHost' could not be found (are you missing a using directive or an assembly reference?) [/opt/neo-modules/src/RpcServer/RpcServer.csproj]

There should be other places to fix as well

cschuchardt88 commented 9 months ago

Add me in discord ulliklliwi#0472 if need more details or configurations.

vncoelho commented 9 months ago

image 90MB

vncoelho commented 9 months ago

The main error was an auto injection from sqlitewallet module/plugin