Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
333fred
Posts
Comments
C
C#
•
Created by wav3 on 11/7/2024 in
#help
Can't build anything in dotnet 8. Not even template project.
Hmm. I'm afraid I don't have a good answer for you. That all looks fine
14 replies
C
C#
•
Created by wav3 on 11/7/2024 in
#help
Can't build anything in dotnet 8. Not even template project.
What about in
bincore
?
14 replies
C
C#
•
Created by wav3 on 11/7/2024 in
#help
Can't build anything in dotnet 8. Not even template project.
What does
ls -la /usr/lib/dotnet/sdk/8.0.110/Roslyn/
show?
14 replies
C
C#
•
Created by wav3 on 11/7/2024 in
#help
Can't build anything in dotnet 8. Not even template project.
I'd reinstall it
14 replies
C
C#
•
Created by wav3 on 11/7/2024 in
#help
Can't build anything in dotnet 8. Not even template project.
Sounds like your SDK install is corrupt or broken. That's failing when attemping to invoke csc
14 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Just because your generator emitted a warning saying that it processed
E
doesn't mean that it did what you think it did with
E
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Set
EmitCompilerGeneratedFiles
in your csproj and see what your generator is actually emitting
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Then you're likely in possibility 2
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Given the ordering that you posted
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
I'm guessing those are not the same build steps
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Look at a binlog
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
If compilation fails, then it means either: 1. This is not the compilation step you think it is. 2. Your source generator did not produce the source you think it's producing
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
I don't know what this means either
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
They add virtual files to the compilation. Nothing emits them unless you ask the compiler to do so
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
I don't know what "compilation fails before the source generator emits the files" means. Source generators don't emit files
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
CoreCompile
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
If you want to run before a source generator, you want the regular compilation task
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Right, that's why I told you to use the msbuildlog to find the target you actually want to hook
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Or something else?
37 replies
C
C#
•
Created by Valdiralita on 10/22/2024 in
#help
Custom msbuild task
Are we still talking about the same problem you posted originally?
37 replies