You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project fails to build due to the missing imported project file Generator\build\DotEnvGenerator.props.
Steps to reproduce:
git clone https://github.com/RainwayApp/dot-env-generator.git
cd dot-env-generator
git checkout 3355f0701c623fe345f7476268c29f62d0a084e9
dotnet build
The checkout of 3355f07 is where master was at the time of reporting this issue.
The last step produces the following output:
MSBuild version 17.3.2+561848881 for .NET
Determining projects to restore...
All projects are up-to-date for restore.
A:\dot-env-generator\Example\Example.csproj(21,3): error MSB4019: The imported project "A:\dot-env-generator\Generator\build\DotEnvGenerator.props" was not found. Confirm that the expression in the Import declaration "..\Generator\build\DotEnvGenerator.props" is correct, and that the file exists on disk.
A:\dot-env-generator\Generator\StringExtensions.cs(40,48): warning CS8602: Dereference of a possibly null reference. [A:\dot-env-generator\Generator\DotEnvGenerator.csproj]
DotEnvGenerator -> A:\dot-env-generator\Generator\bin\Debug\netstandard2.0\DotEnvGenerator.dll
C:\Program Files\dotnet\sdk\6.0.402\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error : Could not find a part of the path 'A:\dot-env-generator\Generator\build'. [A:\dot-env-generator\Generator\DotEnvGenerator.csproj]
Build FAILED.
A:\dot-env-generator\Generator\StringExtensions.cs(40,48): warning CS8602: Dereference of a possibly null reference. [A:\dot-env-generator\Generator\DotEnvGenerator.csproj]
A:\dot-env-generator\Example\Example.csproj(21,3): error MSB4019: The imported project "A:\dot-env-generator\Generator\build\DotEnvGenerator.props" was not found. Confirm that the expression in the Import declaration "..\Generator\build\DotEnvGenerator.props" is correct, and that the file exists on disk.
C:\Program Files\dotnet\sdk\6.0.402\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error : Could not find a part of the path 'A:\dot-env-generator\Generator\build'. [A:\dot-env-generator\Generator\DotEnvGenerator.csproj]
1 Warning(s)
2 Error(s)
Time Elapsed 00:00:02.09
The text was updated successfully, but these errors were encountered:
The project fails to build due to the missing imported project file
Generator\build\DotEnvGenerator.props
.Steps to reproduce:
The checkout of 3355f07 is where master was at the time of reporting this issue.
The last step produces the following output:
The text was updated successfully, but these errors were encountered: