Grofit
Grofit
CC#
Created by Grofit on 12/29/2024 in #help
✅ Web project used to work, now msbuild failing but nothing has changed in the source
"Your other left"
9 replies
CC#
Created by Grofit on 12/29/2024 in #help
✅ Web project used to work, now msbuild failing but nothing has changed in the source
I dont have permissions to use the close command apparently
9 replies
CC#
Created by Grofit on 12/29/2024 in #help
✅ Web project used to work, now msbuild failing but nothing has changed in the source
No idea how you mark posts here as resolved etc so feel free to do so or close it 😄
9 replies
CC#
Created by Grofit on 12/29/2024 in #help
✅ Web project used to work, now msbuild failing but nothing has changed in the source
Its ok problem solved or at least understood, since I installed .net 9 the dotnet cli is now using version 9 by default, so this must have some incompatibility with the above logic, which works fine in 8 so explicitly adding a global.json with the sdk.version being 8.0.100 (previous one I have installed from dotnet --list-sdks) it builds as expected
9 replies
CC#
Created by Grofit on 12/29/2024 in #help
✅ Web project used to work, now msbuild failing but nothing has changed in the source
To give more context as I was running out of space. The msbuild logic used to just go through all the static content in the wwwroot path and copy it to the output path explicitly as it didnt correctly get copied before. Anyway this has been working fine until now and whenever I try to build this project it blows up saying:
13>Microsoft.Common.CurrentVersion.targets(5322,5): Error MSB3021 : Unable to copy file "E:\Code\open-source\REDACTED\wwwroot\webfonts\quicksand\Quicksand-SemiBold.ttf" to "bin\Debug\net8.0\wwwroot_content\REDACTED\webfonts\quicksand\Quicksand-SemiBold#[.{fingerprint}]?.ttf". The filename, directory name, or volume label syntax is incorrect. : 'E:\Code\open-source\REDACTED\bin\Debug\net8.0\wwwroot_content\REDACTED\webfonts\quicksand\Quicksand-SemiBold#[.{fingerprint}]?.ttf'.
The odd thing is that it looks like its adding some #[.{fingerprint}]? section in which it never used to and now makes the destination invalid, so has anyone else seen this happen before?
9 replies