-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Package Common.Logging 1.2.0 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). #376
Comments
@kill136 I just tried
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context / Scenario
when i build docker images ,it come up a error
Package Common.Logging 1.2.0 is not compatible with net7.0 (.NETCoreApp,Version=v7.0).
What happened?
#28 69.34 /src/service/Service/Service.csproj : warning NU1701: Package 'ClosedXML 0.55.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0'. This package may not be fully compatible with your project.
#28 69.34 /src/service/Service/Service.csproj : warning NU1701: Package 'DocumentFormat.OpenXml 1.0.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0'. This package may not be fully compatible with your project.
#28 69.34 /src/service/Service/Service.csproj : warning NU1701: Package 'HtmlAgilityPack 1.3.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0'. This package may not be fully compatible with your project.
#28 69.36 /src/service/Service/Service.csproj : warning NU1701: Package 'MySql.Data 5.1.7' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0'. This package may not be fully compatible with your project.
#28 69.37 /src/service/Service/Service.csproj : warning NU1701: Package 'Quartz 1.0.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net7.0'. This package may not be fully compatible with your project.
#28 69.39 /src/service/Service/Service.csproj : error NU1202: Package Common.Logging 1.2.0 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). Package Common.Logging 1.2.0 supports: 10 (1.0,Version=v0.0)
#28 69.42 Failed to restore /src/service/Service/Service.csproj (in 51.88 sec).
#28 ERROR: process "/bin/sh -c dotnet restore "./service/Service/Service.csproj"" did not complete successfully: exit code: 1
Dockerfile:26
24 | COPY ["extensions/AzureQueues/AzureQueues.csproj", "extensions/AzureQueues/"]
25 | COPY ["extensions/Qdrant/Qdrant/Qdrant.csproj", "extensions/Qdrant/Qdrant/"]
26 | >>> RUN dotnet restore "./service/Service/Service.csproj"
27 | COPY . .
28 | WORKDIR "/src/service/Service"
ERROR: failed to solve: process "/bin/sh -c dotnet restore "./service/Service/Service.csproj"" did not complete successfully: exit code: 1
View build details: docker-desktop://dashboard/build/default/default/utihg35hslbdyejtwvz79oehr
Importance
edge case
Platform, Language, Versions
windows 11 ,docker desktop , vs sttdio 2022
Relevant log output
No response
The text was updated successfully, but these errors were encountered: