You are not logged in.
Pages: 1
Hello,
I have cloned a c#.net project from Github (school assignment), I have installed both dotnet-runtime and dotnet-sdk as stated in the official Arch wiki,
this is the output of dotnet --version
3.1.108and this is the output of dotnet --list-sdks
3.1.108 [/usr/share/dotnet/sdk]when I execute dotnet run I get the following error
error MSB3644: The reference assemblies for .NETFramework,Version=v3.1.108 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application.The value of TargetedFrameworkVersion on my csproj file was initially set to v4.7.2, I have changed it to v3.1.108 to match the version installed on my system (I was getting the same error when it was set to v4.7.2)
How can I fix this error? I have searched on the official wiki and StackOverflow without any progress.
PS: If I do a dotnet new console it compiles and runs successfully (using mono to run).
Thank you beforehand for any help.
Last edited by hmogni (2021-01-31 13:10:06)
Offline
Pages: 1