C
C#17mo ago
theo

❔ Randomizing stuff like AssemblyName etc on Build

So I saw this post on stackoverflow; https://stackoverflow.com/questions/30089576/unique-assembly-name-every-build And the answer to that the guy said its possible to do it via the .csproj file But I cannot seem to make it work. Is this something that works specifically for unity builds only? Thanks in advance
Stack Overflow
Unique Assembly name every build
I’m trying to change the Assembly name of my dll during build. I’ve created another exe that changes the assembly name in the csproj file, which I execute during pre-build. But it seems like my cha...
2 Replies
theo
theo17mo ago
In my case, VS complains specifically about the <AssemblyName> entry, saying its wrong The exact error message is this
<omitted>.csproj : error : The element <AssemblyName> beneath element <Project> is unrecognized. <omitted>.csproj
<omitted>.csproj : error : The element <AssemblyName> beneath element <Project> is unrecognized. <omitted>.csproj
Accord
Accord17mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.