C
C#17mo ago
Evoke

❔ 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
ZacharyPatten
ZacharyPatten17mo ago
we need more info. how are you building (command line, visual studio, etc)? can you share some screenshots or any additional info?
Evoke
EvokeOP17mo ago
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?
ZacharyPatten
ZacharyPatten17mo ago
why? what are you making?
Evoke
EvokeOP17mo ago
Trying to create a code editor which is able to compile, without creating cs files on the disk.
ZacharyPatten
ZacharyPatten17mo ago
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.
Evoke
EvokeOP17mo ago
Not open source im planning to release it as a buyable project
Accord
Accord17mo ago
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.
Want results from more Discord servers?
Add your server