And*_*ers 5 c# nuget visual-studio-2015
我在同一台机器上的许多项目中做过很多次,但由于某种原因,以下对我不起作用:
Install-CleanReferencesTarget(从https://github.com/Fody/Costura复制/粘贴)当我进入第三步(直到现在一直有效)时,我收到以下错误:
PM> Install-CleanReferencesTarget
Install-CleanReferencesTarget : The term 'Install-CleanReferencesTarget' is not recognized
as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Install-CleanReferencesTarget
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install-CleanReferencesTarget:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)
我试过重新创建项目,重新启动我的电脑,重新启动 VS,以管理员身份运行 VS 等,但结果相同。我还验证了有问题的 DLL (FileHelpers.dll) 设置为复制本地。
我还查看了FodyWeavers.xml另一个包含相同 DLL 的项目中的文件,但没有出现此问题,并且它与这个麻烦的项目中的文件相同:
<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
<Costura/>
</Weavers>
Run Code Online (Sandbox Code Playgroud)
有谁知道为什么会突然发生这种情况?
小智 1
| 归档时间: |
|
| 查看次数: |
1790 次 |
| 最近记录: |