Get
PersistedAssemblyBuilder to generate executable
i'm trying to create a compiler though and the function takes the name
outputName
to make $"{outputName}.dll"
and $"{outputName}.exe"
so like I can't just create a new project every time unfortunately (user can provide like literally any name)19 replies
PersistedAssemblyBuilder to generate executable
hmm... yeah this probably sounds way too complicated for what I'd like 😅 I think I'll go with .bat for now. Maybe one day I can make an exe. (i'm designing this to be portable and be able to be used with people without full development setup a bit so...)
19 replies
PersistedAssemblyBuilder to generate executable
hmm... I'm fine with having to generate another .dll file, but in this case how to build the .exe alongside to use dotnet to run it? Also how to generate that dll? Is it just using the earlier example on that MS Learn page that generates dll instead of that example?
you need to output as a .dll and use dotnet to run itAlso, I'm not 100% what you mean by this, are you suggesting that if I output a dll, there is a way to run it with a
dotnet
command or some sort? If so, can I have the documentation for that so I can use that to test the persisted assembly first, although in the end I'd like an exe that a user can double clicks.19 replies