简体   繁体   中英

ClickOnce publish error. Failed to copy dll.deploy files

I just finished a WPF project in C# , it worked great until couple of minutes ago. Then I deleted some files that I don't need anymore ,like Page1.xaml and Page1.xaml.cs . Then I tried to publish the project with ClickOnce, and I got 129 errors...

" Error Failed to copy file 'C:\\Users\\xxxxx\\source\\repos\\OATradex\\bin\\Release\\app.publish\\Application Files\\OATrade_1_0_0_15\\System.Xml.XPath.dll.deploy' to 'C:/Users/xxxxxx/Downloads/OANDA/release/Application Files/OATrade_1_0_0_15/System.Xml.XPath.dll.deploy'. Unable to add 'Application Files/OATrade_1_0_0_15/System.Xml.XPath.dll.deploy' to the Web site. Unable to add file 'Application Files\\OATrade_1_0_0_15\\System.Xml.XPath.dll.deploy'. The system cannot find the path specified. OATrade 1
"

Can anybody help me please. I am completely lost, I do not know what to do!!! I tried to check uncheck "Just My Code" deleted bin folder nothing helps.

Thank you.

以管理员身份运行 Visual Studio 解决了这个问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM