By doing various tests I realized one thing:
premise: my application consists of 23 dlls.
Visual studio when starting debugging tells me that it cannot load the acquirestamp assembly.
If I replace the acquirestamp.dll and acquirestamp.dbg files taken in the debug folder for project Xide with the acquirestamp.dll file from the relesase folder, the assembly is loaded, but it tells me that it cannot load the next assembly, I also replace this and the message moves to the third assembly and so on.
It would appear that it does not recognize assemblies compiled with the debug option as valid, but only those compiled with the release option.
Danilo
Visual Studio 2022
Visual Studio 2022
Whenever I've seen the "Not in the correct format" error it's generally to do with bitness.
Presumably you have some dlls that are x86?
IIS Express by default runs in x64 mode in VS2022 - but you can turn it off
Tools -> Options -> Search iis and untick the option Alternatively you can turn it off on a project by project basis
Presumably you have some dlls that are x86?
IIS Express by default runs in x64 mode in VS2022 - but you can turn it off
Tools -> Options -> Search iis and untick the option Alternatively you can turn it off on a project by project basis
- softdevo@tiscali.it
- Posts: 191
- Joined: Wed Sep 30, 2015 1:30 pm
Visual Studio 2022
Thanks, set IIS Express as you suggested now my application starts, but only the first time, then it keeps giving the error you see in error2.jpg,
If you see error1.jpg (how a page looks in VS2019) and error3.jpg the same page in VS 2022.
In error4.jpg a recurring error.
Maybe the problem lies in the fact that VS2022 necessarily wants dlls compiled with Net Framework 4.8?
Danilo
If you see error1.jpg (how a page looks in VS2019) and error3.jpg the same page in VS 2022.
In error4.jpg a recurring error.
Maybe the problem lies in the fact that VS2022 necessarily wants dlls compiled with Net Framework 4.8?
Danilo
- softdevo@tiscali.it
- Posts: 191
- Joined: Wed Sep 30, 2015 1:30 pm
Visual Studio 2022
Here's how I set up Visual Studio 2022 to debug my web application
Danilo
Danilo
- Attachments
-
- Impostazioni per VS 2022.rtf
- (491.83 KiB) Downloaded 74 times