BoolBySigma / UpdateAssemblyInfo

SORRY THIS IS NO LONGER MAINTAINED
10 stars 9 forks source link

Fails if file does not contain AssemblyInfo #8

Closed dtorg closed 7 years ago

dtorg commented 7 years ago

I have a global assembly info file SolutionVersion.cs and the software does not seem find that file. I set the file to $(Build.SourcesDirectory)\Source\SolutionVersion.cs but it fails fo locate it.

ghost commented 7 years ago

I am unable to reproduce your issue.

Have you tried using the file picker to select the specific file?

Could you run the build with variable system.debug set to true and upload the log?

dtorg commented 7 years ago

Attached logs with debug.

logs_65412.zip

ghost commented 7 years ago

It looks like you are running version 2.0.11. In issue #2 support for alternate file names was added. Update the extension to the latest version and let me know how that works for you.

dtorg commented 7 years ago

It seems to find the file however another issue occurs when updating the file. Unknown token 'BuildConfiguration'

logs_65417.zip

ghost commented 7 years ago

Seems like you have not defined variable $(BuildConfiguration) in the build definition.

Either define the variable or specify 'Configuration' as desired, eg. 'Debug' or 'Release'