Upgrade from wisej 2.5 to wisej .Net

Closed
0
0

Hi,

I’m upgrading our project from wisej 2.5 to wisej 3.net. I’m following this doc: https://docs.wisej.com/docs/releases/whats-new-in-3.0/update-existing-projects

I can build the projects with success, but if I want to open a window or a control in the designer I’m getting this error:

“Could not resolve mscorlib for target framework ‘.NETFramework,Version=v4.8’. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.”

What can I do?

Thank you

 

Giorgia

  • You must to post comments
0
0

I’ve fixed the problem adding this tag on the vbproj file:

<Target Name="AddAdditionalReferences" BeforeTargets="ResolveAssemblyReferences">
	<ItemGroup Condition=" '$(NoStdLib)' != 'true' ">
		<_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" />
	</ItemGroup>
</Target>

Best regards

 

  • You must to post comments
0
0

Yes it’s installed…

Attachment
  • Alaa (ITG)
    Hi Giorgia, are you targeting both net48 and net6.0 ? Try targeting only net48 and see if that fixes it. It that’s the case, you should always target net48 first then add net6.0. What I mean is your TargetFrameworks in csproj file should be net48;net6.0 .
  • digitalblu
    I’m targeting only net48…
  • You must to post comments
0
0

Hi Giorgia,

can you please verify if .NET Framework 4.8 is installed on your machine?
You might want to follow the instructions in this link:

https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

Best regards
Frank

  • You must to post comments
Showing 3 results