Swan103
Posts: 1
Joined: Tue Oct 27, 2020 8:22 am

Re: Import Visual Studio Project Exception calling

Tue Oct 27, 2020 8:24 am

Eusebiu wrote:
Tue Sep 22, 2020 10:41 am
Hi,

Can you please download .NET Core 3.1.401, then install it, perform the registration of those two files again and see if it works?

Best regards,
Eusebiu
Thanks a bunch. This works

Eusebiu
Posts: 4895
Joined: Wed Nov 14, 2012 2:04 pm

Re: Import Visual Studio Project Exception calling

Tue Oct 27, 2020 12:29 pm

Hi and welcome to our forums.

You're welcome. I'm glad you got this working.

If you encounter other problems, just let us know.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

zuvkov
Posts: 1
Joined: Sat Oct 31, 2020 5:05 pm

Re: Import Visual Studio Project Exception calling

Sat Oct 31, 2020 5:06 pm

Eusebiu wrote:
Tue Sep 22, 2020 10:41 am
Hi,

Can you please download .NET Core 3.1.401, then install it, perform the registration of those two files again and see if it works?

Best regards,
Eusebiu
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools>gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Numerics.Vectors.dll"

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools>gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Runtime.CompilerServices.Unsafe.dll"
It work for me.
thanks!

Catalin
Posts: 4527
Joined: Wed Jun 13, 2018 7:49 am

Re: Import Visual Studio Project Exception calling

Mon Nov 02, 2020 9:24 am

Hello and welcome to our forums,

We are glad to hear the solution helped.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

buivinhk1
Posts: 1
Joined: Sun Oct 24, 2021 8:37 am

Re: Import Visual Studio Project Exception calling

Sun Oct 24, 2021 8:39 am

Hey can you make a video and help me please i have this error but i don't known how to fix

Catalin
Posts: 4527
Joined: Wed Jun 13, 2018 7:49 am

Re: Import Visual Studio Project Exception calling

Mon Oct 25, 2021 11:12 am

Hello and welcome to our forums,

The steps you need to follow are presented above.

Here is what you need to do:

1. check whether .NET Core 3.1 SDK is installed or not. If not, install it using the following link:

.NET Core 3.1 SDK (v3.1.401) - Windows x64 Installer

2. after the installation, open a command prompt and copy paste the commands:

Code: Select all

cd C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools
and

Code: Select all

gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Numerics.Vectors.dll"
and

Code: Select all

gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Runtime.CompilerServices.Unsafe.dll"
Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

hve
Posts: 10
Joined: Tue Aug 04, 2020 4:35 pm

Re: Import Visual Studio Project Exception calling

Tue Nov 02, 2021 10:21 pm

I'm unable to install version 3.1.401:
Install error.PNG
Install error.PNG (17.04KiB)Viewed 4463 times
Please let me know the status of this issue.
TIA
Henrik

Catalin
Posts: 4527
Joined: Wed Jun 13, 2018 7:49 am

Re: Import Visual Studio Project Exception calling

Wed Nov 03, 2021 12:08 pm

Hello Henrik,

That specific error usually means that the product is already installed on the machine.

Therefore, you can skip the installation step and move on to the next step.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

hve
Posts: 10
Joined: Tue Aug 04, 2020 4:35 pm

Re: Import Visual Studio Project Exception calling

Wed Nov 03, 2021 12:59 pm

Get error:
C:\Windows\system32>cd "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools"

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools>gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Numerics.Vectors.dll"
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.

Failure adding assembly to the cache: The system cannot find the file specified.

- So I tried using version 3.1.414, but I still get the error trying to import a project.

Catalin
Posts: 4527
Joined: Wed Jun 13, 2018 7:49 am

Re: Import Visual Studio Project Exception calling

Thu Nov 04, 2021 2:52 pm

Hello Henrik,

Unfortunately, I can not say for sure why this is happening.

Could you please try to uninstall version 3.1.414 and then install the version 3.1.401, register those two components and retest this?

Additionally, are you receiving the exact same error as the previous users? Perhaps something is different in your scenario.

If possible, could you please forward me a screenshot of the error?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

hve
Posts: 10
Joined: Tue Aug 04, 2020 4:35 pm

Re: Import Visual Studio Project Exception calling

Thu Nov 04, 2021 4:27 pm

I get this error:
Importing.png
Importing.png (3.26KiB)Viewed 4224 times

hve
Posts: 10
Joined: Tue Aug 04, 2020 4:35 pm

Re: Import Visual Studio Project Exception calling

Thu Nov 04, 2021 4:45 pm

Unfortunately, downgrading to SDK 3.1.401 and running:

Code: Select all

C:\Windows\system32>cd "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools"

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools>gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Numerics.Vectors.dll"
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Assembly successfully added to the cache

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools>gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Runtime.CompilerServices.Unsafe.dll"
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Assembly already exists in cache. Use /f option to force overwrite

C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools>gacutil -i "c:\Program Files\dotnet\sdk\3.1.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\net472\System.Runtime.CompilerServices.Unsafe.dll" /f
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Assembly successfully added to the cache
did not fix the problem.

Catalin
Posts: 4527
Joined: Wed Jun 13, 2018 7:49 am

Re: Import Visual Studio Project Exception calling

Fri Nov 05, 2021 9:46 am

Hello Henrik,

Thank you for your followup on this!

Well, indeed the solution did not help, because you are facing another problem than the users above.

The error message states that the SDK "Microsoft.NET.Sdk.WindowsDesktop" could not be found. Could you please check whether this is installed on your machine or not?

The following Microsoft article might help:

.NET Project SDK overview

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

hve
Posts: 10
Joined: Tue Aug 04, 2020 4:35 pm

Re: Import Visual Studio Project Exception calling

Fri Nov 05, 2021 11:21 am

Hi Catalin,

Thx for your assistance.

Please let me know how to install SDK "Microsoft.NET.Sdk.WindowsDesktop"?
It's not installed, and I'm unable to locate it as a MS downloadable or component in VS installer.

Catalin
Posts: 4527
Joined: Wed Jun 13, 2018 7:49 am

Re: Import Visual Studio Project Exception calling

Fri Nov 05, 2021 1:11 pm

Hello Henrik,

You should be able to download it from here:

.NET/.NET Core
SDK.png
SDK.png (78.01KiB)Viewed 4051 times
The current one is the 5.0 version. However, you may need to select the version according to what .NET your application is targetting.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”