.NET standard dll is NOT generated all of sudden.

SmilingMoon 981 Reputation points
2022-01-21T00:52:17.257+00:00

All of sudden, VS complains "Could not copy the file..."

Severity Code Description Project File Line Suppression State
Error MSB3030 Could not copy the file "obj\x64\Debug\netstandard2.0\Way.Standard.AppGeneral.dll" because it was not found. Way.Standard.AppGeneral C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 4502

When I compile "Way.Standard.AppGeneral" project after changing source code by adding a blank,
compile succeed, but it doesn't generate ".dll" file.

2>SkyOnTheWay.Standard.AppGeneral -> D:\Projects\Way\BulkPhotoEditor-BR-Free\Way.Standard.AppGeneral\bin\x64\Debug\netstandard2.0\Way.Standard.AppGeneral.dll
2>Done building project "SkyOnTheWay.Standard.AppGeneral.csproj".
========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========

However, "Way.Standard.AppGeneral.dll" is NOT generated in the folder "D:\Projects\Way\BulkPhotoEditor-BR-Free\Way.Standard.AppGeneral\bin\x64\Debug\netstandard2.0\".

All worked well until yesterday. Starting today, this started happen. There is no compile or any message with a clue.
Any idea?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ken Tucker 5,846 Reputation points
    2022-01-21T01:45:35.49+00:00

    Delete the obj folder and then do a rebuild all