admin管理员组文章数量:1318976
I built a project in Visual Studio 2019 and am trying to work on it in VS 2022. During the build I get this error:
The "Microsoft.Build.Packaging.Pri.Tasks.ExpandPriContent" task could not be loaded from
the assembly C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\\Microsoft.Build.Packaging.Pri.Tasks.dll.
Could not load file or assembly 'file:///C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.Build.Packaging.Pri.Tasks.dll'
or one of its dependencies.
The system cannot find the file specified.
Confirm that the <UsingTask> declaration is correct, that the assembly and
all its dependencies are available, and that the task contains a public class
that implements Microsoft.Build.Framework.ITask.
I have tried many things that do not work like adding <EnableMsixTooling>true</EnableMsixTooling>
in the project file. I have tried refreshing the NuGet packages, and looking through the project file.
How can I get past this error so I can build the app? Is there an SDK that will resolve this problem?
本文标签: Cannot build vbnet project in Visual Studio 2022 due to errorStack Overflow
版权声明:本文标题:Cannot build vb.net project in Visual Studio 2022 due to error - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742056362a2418318.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论