You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file causes the issue, both for Visual Basic as well as for C# projects. There are no code files required in the project to trigger the issue.
The error raised is an FileNotFoundException that is looking for the output assembly. The responsible target is called before the actual build step is executed.
Now the reason for this is the GenerateAssemblyVersionInfo target. Nerdbank.GitVersioning registers this target to be executed ahead of the build. Microsoft.XmlSerializer.Generator registers an target with the exact same name to be executed after the build is done.
Now the result is that the version of the XmlSerializer Generator is called at the time GitVersioning requests it. This results in the error, because the expected output file is not build yet.
Is there any chance to rename this target in Nerdbank.GitVersioning to resolve the conflict?
The text was updated successfully, but these errors were encountered:
Hello,
I encountered an issue when using
Nerdbank.GitVersioning
along withMicrosoft.XmlSerializer.Generator
.For reference this is the project file, causing the issue:
This file causes the issue, both for Visual Basic as well as for C# projects. There are no code files required in the project to trigger the issue.
The error raised is an
FileNotFoundException
that is looking for the output assembly. The responsible target is called before the actual build step is executed.Now the reason for this is the
GenerateAssemblyVersionInfo
target.Nerdbank.GitVersioning
registers this target to be executed ahead of the build.Microsoft.XmlSerializer.Generator
registers an target with the exact same name to be executed after the build is done.Now the result is that the version of the XmlSerializer Generator is called at the time GitVersioning requests it. This results in the error, because the expected output file is not build yet.
Is there any chance to rename this target in
Nerdbank.GitVersioning
to resolve the conflict?The text was updated successfully, but these errors were encountered: