vs Foundation Mission failed. MSB4018CA

2022-12-21   ES  

[Landscape returning roads, thousands of lanterns, where is the new journey]
error MSB4018: “getpackageDirectory” task failed. [H: \ Repos \ NetCorelearn \ NetCorelearn \ NetCorelearn.csproj]

PackagingException: Can’t find the backpack folder “C: \ Microsoft \ xamarin \ Nuget \”. [H: \ Repos \ NetCorelearn \ NetCorelearn \ NetCorelearn.csproj]

Because VS unanimously put Nugut in the C drive, later reset it, put the Microsoft file on the F drive, and then there is the above error

Looking at this problem, it is probably clear, so I used the function of the synchronous mapping file.
The path of the folder after my movement is: G: \ Microsoft
The original folder path is: C: \ Microsoft

Create a synchronous mapping folder:

1. Open the DOS window

2. Execution command
mklink /j C:\Microsoft G:\Microsoft

This is solved!


Random Posts

DPDK-19.11 support interface configuration rate dual-work method longyu

Spring integrated EHCACACHE use annotation

Solution Introduction to mybatis-plus calls SelectByid and Selectlist.

Basic data analysis of the system running log

eclipse breakpoint test