OpenProtocolInterpreter icon indicating copy to clipboard operation
OpenProtocolInterpreter copied to clipboard

reference assemblies for .NETFramework,Version=v4.8 were not found

Open Sourab1801 opened this issue 1 year ago • 1 comments

I am running sample code in Visual studio code : E:\sourabh_data\Project\openProtocolInterpreter\OpenProtocolInterpreter\sample\OpenProtocolInterpreter.Sample> dotnet run

C:\Program Files\dotnet\sdk\8.0.204\Microsoft.Common.CurrentVersion.targets(1248,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 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 [E:\sourabh_data\Project\openProtocolInterpreter\OpenProtocolInterpreter\sample\OpenProtocolInterpreter.Sample\OpenProtocolInterpreter.Sample.csproj]

The build failed. Fix the build errors and run again.

Sourab1801 avatar Apr 25 '24 12:04 Sourab1801

Hello @Sourab1801, since the sample is a .Net Framework 4.8 Window Forms application, you cannot run it via dotnet run.

As far as I know, you cannot run the application at VSCode, you'll need a Visual Studio Community or Rider at least.

Rickedb avatar Apr 25 '24 14:04 Rickedb

Closing due to inactivity, please reopen if necessary or any updates.

Rickedb avatar May 30 '24 03:05 Rickedb