❔ MSbuild library build result, build request, doesnt give any error message.
The overall result returns that the build failed, what could cause this, I could give more details soon, but do anyone have any ideas.
7 Replies
we need more info. how are you building (command line, visual studio, etc)?
can you share some screenshots or any additional info?
Im loading the csproj file as a string, project.load(), where I've deleted the cs file references, instead I'm adding them programmatically using the
ProjectItem csFileItem = project.AddItem("Compile", info[0])[0];
csFileItem.SetMetadataValue("Content", info[1]);
All the source code files do get added, and work, the rest of the files is within the same directory as the project path assigned manually, but could it create any other potential error doing like this, and how could I debug?
why?
what are you making?
Trying to create a code editor which is able to compile, without creating cs files on the disk.
I figured that was the case. Sorry I can't help off the top of my head.
Is your code open source? You are welcome to link your repo on this discord.
Not open source im planning to release it as a buyable project
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.