Skip to content
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

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

Closed
Sourab1801 opened this issue Apr 25, 2024 · 2 comments
Closed

Comments

@Sourab1801
Copy link

Sourab1801 commented Apr 25, 2024

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.

@Rickedb
Copy link
Owner

Rickedb commented Apr 25, 2024

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
Copy link
Owner

Rickedb commented May 30, 2024

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

@Rickedb Rickedb closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants