Open ycholette opened 11 months ago
Any updates on the issue. I am facing exact same issue for my referenced shared project.
Same happens in 0.5.261.51392
I also have the same issue, but I don't have any Import Project, just some Reference Include with relative path in the HintPath tag.
This also happens if you have a node like:
<ItemGroup>
<None Include="NLog.config" />
</ItemGroup>
and the NLog.config file is missing.
errr... maybe not. idk. error message given by ProjectSdkStyleTransformer isnt helpful is the biggest problem.
upgrade-assistant.clef
that is produced in the working directory This file ain't generated on my pc, but the exception is the very first thing that gets output afterStarting upgrade of selected nodes for...
Describe the bug
My csproj contains this line
<Import Project="..\Shared\Shared.projitems" Label="Shared" />
and the tool outputs an exception (see exception section).
The tool is ran in the root directory where the solution is located, but projects are in sub directories, so the tool is invoke like this:
upgrade-assistant upgrade ProjectFolder\ProjectFolder.csproj
The projitems is located at
Shared/Shared.projitems
To Reproduce
Run the tool like this
upgrade-assistant upgrade ProjectFolder\ProjectFolder.csproj
and have an import directive with a relative path.Exceptions (if any)
Further technical details
Windows version and bitness info (32-bit or 64-bit)
Version 10.0.19045 Build 19045 64 bits
Include the output of
dotnet --list-sdks
Include the output of
upgrade-assistant --version
0.5.30.21767