question

36597789 avatar image
0 Votes"
36597789 asked HuiLiu-MSFT edited

vb.net wpf (.netcore6.0) cannot open assembly information such as project properties and change version numbers

vb.net wpf (.netcore6.0) cannot open assembly information such as project properties and change version numbers
202042-image.png


The translation of the error message is: There was an error trying to load the page.
An object reference was not set to an instance of an object.

windows-wpf
image.png (16.9 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@36597789. Does your project have extended Nuget packages? Some extensions can cause this. You could try to disable the extension and restart Visual Studio. For more details you can refer here to see if it helps you.


0 Votes 0 ·

1 Answer

vb2ae avatar image
0 Votes"
vb2ae answered 36597789 commented

Close visual studio and open the folder your solution is in and delete the hidden .vs folder. Try editing the project version again.

If that does not work you could always edit the vbproj file,

   <PropertyGroup>
     <OutputType>WinExe</OutputType>
     <TargetFramework>net6.0-windows</TargetFramework>
     <RootNamespace>WpfApp9</RootNamespace>
     <UseWPF>true</UseWPF>
     <AssemblyVersion>1.1.0.0</AssemblyVersion>
     <FileVersion>1.1.0.0</FileVersion>
  </PropertyGroup>



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Deleting the .vs folder doesn't work. If the vbproject file is modified, how should the company explain how these other assembly information should be filled in manually?

0 Votes 0 ·