This project is read-only.

Error emitting AssemblyVersionAttribute

Sep 3, 2009 at 10:03 PM

As indicated in the help file, I added the following line to my project file:

<Import Project="$(MSBuildExtensionsPath)\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.Targets"/>

after the last import statement.  Reloaded the project and ensured that the Assembly Version and File Versions were initially set to 1 0 0 0.  Seems straight forward but when I attempted to rebuild the project the following error is presented:

Error emitting 'System.Reflection.AssemblyVersionAttribute' attribute -- 'The version specified '1.0.090903.05' is invalid' 

What I am missing?





Sep 3, 2009 at 10:33 PM

Found anwer to my problem, thanks.


Jun 12, 2011 at 7:12 PM

Could you please post it for other people to see please?