nebula
nebula
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
/close
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
And it seemed to build.
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
I deleted my publish folder
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
I looked online and some solutions were to delete the bin and obj folders and clean/rebuild. So I did that- same error upon building
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
But this is really just noise to me. I'm not sure what any of it means
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
No description
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
I had to use upgrade assistant to upgrade. So now I'm on 6.0 which is great but I am getting a build error:
MSB4094 "publish\Application Files\mileage-calculator_1_0_0_0\mileage-calculator.exe.manifest;publish\Application Files\mileage-calculator_1_0_0_1\mileage-calculator.exe.manifest" is an invalid value for the "InputManifest" parameter of the "GenerateApplicationManifest" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem". mileage-calculator C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 4269
MSB4094 "publish\Application Files\mileage-calculator_1_0_0_0\mileage-calculator.exe.manifest;publish\Application Files\mileage-calculator_1_0_0_1\mileage-calculator.exe.manifest" is an invalid value for the "InputManifest" parameter of the "GenerateApplicationManifest" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem". mileage-calculator C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 4269
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
I think my work PCs target 6- I assume it's the same process?
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
Is it possible to change that so I can make a single file?
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
Seems like it wants a specific sdk installed? I'm still quite new and not sure what it wants exactly
19 replies
CC#
Created by nebula on 7/13/2024 in #help
✅ trying to build a single file WPF app but the publish dialog box looks nothing like the docs
I tried CLI too: dotnet publish -r win-x64 and got this:
Determining projects to restore...
Nothing to do. None of the projects specified contain packages to restore.
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(3398,5): error MSB4216: Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "NET" and architecture "x86". Please ensure that (1) the requested
runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\8.0.303\MSBuild.dll" exists and can be run. [C:\Users\...\source\repos\mileage-calculator\mileage-calculator\mileage-calculator.csproj]
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(3422,7): error MSB4028: The "GenerateResource" task's outputs could not be retrieved from the "FilesWritten" parameter. Object does not match target type. [C:\Users\...\source\repos\mileage-calculator\mileag
e-calculator\mileage-calculator.csproj]
Determining projects to restore...
Nothing to do. None of the projects specified contain packages to restore.
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(3398,5): error MSB4216: Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "NET" and architecture "x86". Please ensure that (1) the requested
runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\8.0.303\MSBuild.dll" exists and can be run. [C:\Users\...\source\repos\mileage-calculator\mileage-calculator\mileage-calculator.csproj]
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(3422,7): error MSB4028: The "GenerateResource" task's outputs could not be retrieved from the "FilesWritten" parameter. Object does not match target type. [C:\Users\...\source\repos\mileage-calculator\mileag
e-calculator\mileage-calculator.csproj]
19 replies