dotnet publish will say that the build and publish have succeeded, however, no files are outputted whatsoever. Same goes for the Publish Section in Visual Studio Community as well. Fortunately, doing a normal dotnet build and building the solution and/or project from Visual Studio does work. THIS DOES NOT AFFECT MY OTHER PROJECTS; IT ONLY OCCURS ON THIS PROJECT.
To Reproduce
1) Clone repo from https://github.com/siblount/DazProductInstaller.git
2) dotnet publish src\Daz_Installer.csproj -o ext_dir
3) Realize that no files or directories have been created but publish and build succeeds.
Or via Visual Studio
1) Clone repo from https://github.com/siblount/DazProductInstaller.git
2) Build -> Publish Selection
3) Publish to folder, choose folder location, hit finish.
4) Change configuration to Release | x64 and target runtime to win-x64
5) Hit publish.
6) Notice that no files or directories have been created at the target location.
Possible helpful info
Don't hurt me if it's not helpful D:
There was a lot of MSBuild task skipped event logged when I ran the publish command with verbose of detailed. See publish_log.txt
publish_log.txt
Describe the bug
dotnet publish
will say that the build and publish have succeeded, however, no files are outputted whatsoever. Same goes for the Publish Section in Visual Studio Community as well. Fortunately, doing a normaldotnet build
and building the solution and/or project from Visual Studio does work. THIS DOES NOT AFFECT MY OTHER PROJECTS; IT ONLY OCCURS ON THIS PROJECT.To Reproduce
1) Clone repo from https://github.com/siblount/DazProductInstaller.git 2)
dotnet publish src\Daz_Installer.csproj -o ext_dir
3) Realize that no files or directories have been created but publish and build succeeds.Or via Visual Studio 1) Clone repo from https://github.com/siblount/DazProductInstaller.git 2) Build -> Publish Selection 3) Publish to folder, choose folder location, hit finish. 4) Change configuration to Release | x64 and target runtime to win-x64 5) Hit publish. 6) Notice that no files or directories have been created at the target location.
Possible helpful info
Don't hurt me if it's not helpful D: There was a lot of MSBuild task skipped event logged when I ran the publish command with verbose of detailed. See publish_log.txt publish_log.txt
Further technical details
dotnet-info:
Visual Studio Community 2022 17.1.3