RolandPheasant / Dynamic.Trader

WPF demo showing off dynamic data and reactive extensions
http://dynamic-data.org
524 stars 103 forks source link

Unable to build with VS 2019 #12

Open slimshader opened 5 years ago

slimshader commented 5 years ago

Hi, errors when trying to build with VS 2019 (16.2.3):

1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
1>Done building project "Trader.Domain.csproj" -- FAILED.
2>------ Rebuild All started: Project: Trader.Client, Configuration: Debug Any CPU ------
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1175,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
2>Done building project "Trader.Client.csproj" -- FAILED.

Unfortunately I am not able to set higher version of the target framework because projects settings fail to porperly open also

slimshader commented 5 years ago

Update: was able to build after installing: https://dotnet.microsoft.com/download/thank-you/net462-developer-pack

Still was unable to change project settings but this looks like CS bug maybe

romya0010 commented 3 years ago

Update: was able to build after installing: https://dotnet.microsoft.com/download/thank-you/net462-developer-pack

Still was unable to change project settings but this looks like CS bug maybe

Thanks Slimshader! worked for me as well