Open reinhart1010 opened 2 months ago
I believe this might also be mentioned on microsoft/vscode-dotnettools#245:
I tried re-targeting it, but then I got some build errors about
ResxHelperGenerator.dll
.
Hi,
I hit this issue a few random times myself. I noticed the issue vanishes if I build ResxHelperGenerator
project alone first, before building the whole solution. Can you please try that? This is just a workaround that works for me and I don't have a good solution so far.
Confirmed that the build now works.
I noticed the issue vanishes if I build
ResxHelperGenerator
project alone first, before building the whole solution.
Should this be documented first as a temporary workaround in CONTRIBUTING.md? Also, why the use of sudo
in bash ./init.sh
(this will make the project files failed to build due to "insufficient permissions" issue)?
Thanks for confirming ! yes, i should probably add this as a workaround.
For the sudo
command, I recall having trouble when not using it, because dotnet
needed it in order to install some tools. But perhaps I'm not remembering correctly and it's not needed anymore. I will have to test on a fresh VM.
As far as I know you can install dotnet tools on a system and user level. The user level should not need increased privileges and should be preferred from my point of view.
As far as I know you can install dotnet tools on a system and user level. The user level should not need increased privileges and should be preferred from my point of view.
Maybe that varies between platforms? I am using the official pre-packaged version of dotnet-tools: dotnet-sdk-8.0
and dotnet-runtime-8.0
.
Ah perhaps I misinterpreted global/ local tools: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-install
Nevertheless there should be no need for sudo.
Current behavior
The current .NET project failed to build with the following logs:
How to reproduce it (as minimally and precisely as possible)
dnf install dotnet-sdk-8.0 dotnet-runtime-8.0
)libadwaita
etc.) are also installedbash ./init.sh
(withoutsudo
as recommended in CONTRIBUTING.md)Expected behavior
The required DLL should exist to be able to compile for both CLI and GUI app.
Screenshots
No response
Workaround
No response
Affected platforms
Linux
Affected DevToys kind
DevToys (app with GUI), DevToys CLI
DevToys Version
Version: 2.0.0.0 (Commit
211c66f
) | .NET Version: 8.0.100 | OS Version: Fedora Linux 40Relevant Assets/Logs
No response