?
Solved

How do I set the version of of  .NET assembly without a recomplie?

Posted on 2008-06-13
4
Medium Priority
?
251 Views
Last Modified: 2013-11-07
How do I set the version of of  .NET assembly without a recomplie?
A customer is quite rigid about running a version less than 0, for example 0.0.2.1, in Beta test.  When user accepts code then they simply want to change the version to 1.0.0.0 and move to production *without* giving the code back to the developer for a recompile.  Sounds simple, but how?
Thanks!
0
Comment
Question by:rowek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Expert Comment

by:topdog770
ID: 21778839
I don't think it's possible.
0
 

Author Comment

by:rowek
ID: 21784955
I know there are opensource tools that can set any file date, etc.  If I use that approach to set the version will that be a hack or will it run fine?  I cannot just recompile because that will invalidate our test.
0
 
LVL 7

Accepted Solution

by:
photowhiz earned 1000 total points
ID: 21808317
The assembly version is used by the .Net runtime so that multiple versions of applications can run at the same time. If it were possible to change it after releasing an assembly, it would break versioning. Don't do that.

If you change the version of a signed assembly it will make the assembly unusable.
0
 

Author Closing Comment

by:rowek
ID: 31466928
Okay, you have confirmed what I thought was true.  I will just have to tell my client that it takes a recompile to change the version in .NET.  Maybe we can keep the source code in escrow and let them do the recompile.  We're not landing space shuttles with our code, but the customer has a process we need to follow.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question