Click here to Skip to main content
15,938,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For my last tip/trick I converted/updated a project from MS FW 4.8 to Net 8.

I did not care about the version nr but now I plan an update and cannot get vsn

How can I set Net 8 file and assembly version number?

What I have tried:

deleted bin and obj folder

created new build - but version shows

start debug - App.xaml opens with error

  Nachricht = Could not load file or assembly 'DataGridUC1, Version=, Culture=neutral, PublicKeyToken=null'. Das System kann die angegebene Datei nicht finden.
  Quelle = <Die Ausnahmequelle kann nicht ausgewertet werden.>
<Die Ausnahmestapelüberwachung kann nicht ausgewertet werden.>

The system cannot find the specified file.
Source = The exception source cannot be evaluated.
Stack trace:
Unable to evaluate exception stack trace.
Updated 5-May-24 3:04am
0x01AA 5-May-24 10:20am    
The only idea I have ist to use 'Fuslogvw.exe' an Assembly Binding Log Viewer 5-May-24 11:31am    
Thank you.

Now I created a new project with same name.
Copied all needed code files to it, installed NugGet packages and compiled.

Then changed project properties for version to
Then started Debug - and it works now!

1 solution

Answered only to remove it from the unanswered list.
Solved by OP, see comments to the question!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900