Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8841107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:37:50+00:00 2026-06-14T10:37:50+00:00

I am using the 64 bit msbuild extensions and I have this in my

  • 0

I am using the 64 bit msbuild extensions and I have this in my build file

<AssemblyInfo AssemblyInfoFiles="$(MSBuildProjectDirectory)\DesktopAgent\properties\AssemblyInfo.cs" 
              AssemblyCopyright="Copyright 2012 Alpine Access" 
              AssemblyVersion="1.0.0.0"
              AssemblyFileVersion="1.0.0.0"
              >
</AssemblyInfo>

I have this in my assemblyInfo.cs if it matters

[assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyFileVersion("2.1.0.0")]

second line is commented out as I read that in another post but it didn’t help.

I get the following error

C:\AAROOT\csharpprojects\toolbar\project.build(17,5): error MSB4018: System.Arg
umentException: The specified string is not a valid version number\r

2 questions

  1. why do I get this error
  2. Will this task overwrite/modify my previous AssemblyInfo.cs file? (I don’t know whether AssemblyInfoFiles is the input/output or both)

On a side note, the property $(MSBuildExtensionsPath) gets set to the 32 bit path for some odd reason(I only installed the 64 bit tools so that path doesn’t work and I have to set the property manually….is this some kind of bug in their installer that they didn’t set that property correctly?

thanks,
Dean

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:37:52+00:00Added an answer on June 14, 2026 at 10:37 am

    Got the same result here, when i tried what you have.
    Looks like a genuine bug, if your existing assemblyinfo file has 1.0.* in it. Strange, anything that is not a valid version number causes the same problem.
    Works a treat if you remove the 1.0.* though. Id just make it 1.0.0.0 and replace via the task.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a costume class called Region and I am using this bit of
I use teamcity to build Sharepoint projects using 64-bit MSBuild. All projects work fine
I have a current build using teambuild/msbuild that I need to integrate a wix
I'm attempting to build a project using MSBuild (v4.0) on a 64-bit machine. For
I am using this bit of code successfully: $(window).bind('resize',function() { window.location.href = window.location.href; });
I've been trying to figure this one out for a bit using patterns or
I have the following C for loop using bit shifts, that I want to
I am using MSBuild to build my stuff. I want to use CruiseControl.net as
I have an enum declaration using bit flags and I cant exactly figure out
I have a problem with the compilation of a C#/WPF application using MSBuild. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.