PucukTangkiL
❔ Build .sln with MsBuild
wait...
i can run "dotnet build" now, but i got this error
C:\Program Files\dotnet\sdk\7.0.100\Microsoft.Common.CurrentVersion.targets(1229,5): error MSB3644: The reference assem
blies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) f
or this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.
ms/msbuild/developerpacks
what should i do ?
63 replies
❔ Build .sln with MsBuild
here we go.
C:\Program Files\ImageMagick-7.1.0-Q16-HDRI;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\dotnet;C:\Program Files\nodejs;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet;C:\Users\parrot\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\parrot\AppData\Local\Programs\Python\Python310;C:\Users\parrot\AppData\Local\Microsoft\WindowsApps;C:\Users\parrot\AppData\Roaming\npm;C:\Users\parrot\AppData\Local\Programs\Microsoft VS Code\bin;C:\adb;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files (x86)\dotnet-core-uninstall;C:\Users\parrot\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\parrot\AppData\Local\Programs\Python\Python310;C:\Users\parrot\AppData\Local\Microsoft\WindowsApps;C:\Users\parrot\AppData\Roaming\npm;;C:\Users\parrot\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\parrot.dotnet\tools
63 replies
❔ Build .sln with MsBuild
yes i remember i already have SDK v6 before
and my program from github won't run because NET SDK is missing, so i download and install this https://dotnet.microsoft.com/download/dotnet-core/3.1 sugest from author
and i try to build app again, this output come out
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
then i uninstall all SDK from control panel and install again v7 & reboot system
and still same output. is there possible i can run dotnet build again?
63 replies
❔ Build .sln with MsBuild
for the first time its working, but now after run this command "build solution.sln"
output:
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
i have SDK v7 latest version
63 replies