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 changes to the csproj file only take effect after the build has finished, which is of course not what I want. The assembly name has to be unique every time it gets built, so I create it by appending a GUID. var xmlDoc = XDocument.Load(projectFile); XNamespace ns = "http://schemas.microsoft.com