Kingsroad General Error Occurred on the Client Refresh the Game to Try Again
- Remove From My Forums
Publish failed with following mistake: Could not find a part of the path 'c:\development\TestProject\TestProject\bin\Release\TestP
-
Question
-
Hello,
This mistake happens once in a while, could someone tell me why information technology is happeneing?
Publish failed with the following fault: Could not notice part of the path 'C:\development\TestProject\TestProject\bin\Release\TestProject.Publish\TestProject_1_0_0_9'
Thanks in advance.
All replies
-
I have this error occasionally also.
seems like the folder isn't always being created. Could this be some binder permissions issue or something?
-
I have this error too.
I am trying to publish a oneclick install. Information technology keeps telling me the path is missing beneath the debug binder but I am not publishing there. I am publishing to a folder off my c drive so I tin can upload to a secure ftp server.
-
This has happened to me before when I switch the build configuration from Debug to Release mode and effort to publish without rebuilding in Release way. A Rebuild All has solved the problem for me.
-
Hi .. I have a spider web application that creates directories for users to upload content. It works fine on my home machine, just when I upload it, I go the error beneath
"Exception Details: System.IO.DirectoryNotFoundException: Could not observe a office of the path "D:\".
Thanks,
help me delight -
I had the aforementioned issue.
I inverse the version number of the applicationInfo page from 1.one.1.5 to one.1.1.vi, and that solved the trouble for me.
-
Do the publish from the Solution Explorer. For some reason it'due south dissimilar.
DD
-
there were issues with the publish and publish wizard buttons in beta 2 (http://msdn2.microsoft.com/en-u.s.a./library/ms379560(vs.80).aspx). i besides encountered this trouble, but take institute that the following "fixes" information technology:
- publish using the previous version number (the publish should succeed and increment the version if you have the version checked to autoincrement)
- then publish over again to the adjacent version number
this generally makes the 2nd publish successful. once again, i attribute this result to the problems they had in beta 2 (peculiarly considering the quirkiness of the issue).
-
Same happens when adding HomeSite attribute to one of BootStrapper\Packages\Product.xml.
< PackageFile Proper noun = " O2003PIA.msi " HomeSite = " msiRef " ></ PackageFile >
Reopen solution solves problem.
-
I saw in some other thread somewhere that publishing from the context menu in the solution explorer consistently works.
DD
-
Just manually upgrade the version number and try publishing again.
-
This seems to work ( from http://msdn.microsoft.com/en-us/library/ms379560(VS.fourscore).aspx - eye of folio, search for "Could non find a part of" )
Publish operation fails when invoked using the "Publish Now" or "Publish Wizard" buttons on the Publish tab of the project backdrop designer
After invoking publishing using either the Publish Now or Publish Wizard buttons, the publish operation will neglect. The error can vary, for example: "Failed to copy file 'C:\..\setup.exe' to 'http://../setup.exe.' Unable to add 'setup.exe' to the Web. Unable to add file 'setup.exe.' The system cannot notice the file specified," or "Publish failed with the following fault: Could not find a part of the path 'C:\..\publish\..'"
Piece of work Around:
- Close and reopen the project that is to be published.
- Right-click on the project in the solution explorer, and select Properties.
- In projection designer, navigate to the Publish tab. Set properties at that place equally advisable.
- Right-click on the project in the solution explorer, and select Publish.
Note In general, avert using the Publish Now or Publish Wizard buttons birthday. Use the Publish command in the context menu in the solution explorer or the Build top-level menu item.
-
Note In general, avoid using the Publish Now or Publish Wizard buttons altogether. Use the Publish control in the context menu in the solution explorer or the Build top-level carte du jour particular.
!!!! Wow "Avoid using the Publish Now" button??!?!?!? We truly the live in dark ages of calculating.
-
I've never had any problems with the Publish Now button, simply I have had bug with the Publish Wizard. Weird. I'one thousand using VS2008 SP-ane, and I don't call up having this trouble with VS2008.
RobinDotNet
Click here to visit my ClickOnce blog!
Microsoft MVP, Client App Dev -
OrionTheHunter'south solution did not work for me, and then I'k still looking for an respond. Here's the bulletin I become:
Copying file DotNetOpenAuth.dll to obj\Release\Bundle\PackageTmp\DotNetOpenAuth.dll failed. Could not find file 'DotNetOpenAuth.dll'.
I have tried removing the reference and re-creating it, but to no avail. I'k using VS 2010.
-
Did you try closing VS, deleting your bin folder, and re-opening VS? Or doing a CleanSolution? The other question is where did DotNetOpenAuth.dll come from? If it's yours, did you build it as a release build or was information technology build every bit a debug configuration?
RobinDotNet
Click hither to visit my ClickOnce blog!
Microsoft MVP, Client App Dev -
Thank you so much for answering.
- Yep, I tried deleting the bin folder and closing and re-opening VS.
- DotNetOpenAuth.dll is is provided by one of the OpenID people. I tried removing the reference and adding it back, and as well tried getting it from several different locations on my calculator. I think information technology is build with an older version of .NET, merely it does run just fine on my local server, even in release mode. The application compiles and works fine. The just thing I can't practice is publish it. I cannot publish either locally (file arrangement) or to the server (FTP). Both give the same message.
- The application has been working for over a year. The deviation is that I'm using VS 2010 and Silverlight iv.
- I did effort a clean solution, just with the clean solution I cannot compile. I get this: sTickets.App' does not contain a definition for 'FindName' and no extension method 'FindName' accepting a first argument of type 'sTickets.App' could be found (are you lot missing a using directive or an associates reference?) E:\Documents\Visual Studio 2010\Projects\sTickets\sTickets\obj\Release\App.g.i.cs.
- App.thousand.i.cs is a generated file, of course, so I cannot edit it and I don't know how to make it non generate the offending code.
- The bad line contains this: this.ItemTemplateGeneric = ((Arrangement.Windows.DataTemplate)(this.FindName("ItemTemplateGeneric")));
- Comparing the onetime and new projects, I find this line is non in the old project, just I don't know why?
- There are some other differences between the two solutions, only not that many and none that I tin can identify as pregnant.
Can I publish it manually by gathering all the relevant files? Where is the best identify to get them from.
Does this spark any other ideas? Thanks again.
Jim Sn
-
Hi,
Near the dll: I would add together it to your project and mark it with "build action" = none and "copy to output directory" = "do not copy". Then delete the reference to that dll in your projection, and re-add it, only instead of picking it out .NET, browse to the i you lot have added to your project. On the reference, set "re-create local" to true. This will ensure yous know exactly what version is being deployed, and you are referencing that version.
Are you saying if you do Make clean Solution and so exercise a build, it doesn't build successfully? What is sTickets.App? And what is App.g.i.cs?
If you lot do a build, are all the files you demand in the \bin\release binder? If you double-click on the exe file there, does the application run successfully?
RobinDotNet
Click hither to visit my ClickOnce blog!
Microsoft MVP, Client App Dev -
Hello Jim,
What version of .NET are you targeting?
And what kind of application are you lot trying to publish? It is a Windows Forms or WPF application? Or is information technology a Silverlight application or something completely different?
RobinDotNet
Click here to visit my ClickOnce web log!
Microsoft MVP, Client App Dev -
Cheers once more, RobinDotNet.
It's .Net 4, Silverlight 4, and VS 2010 with Entity Framework. It was converted from SL 3 and an earlier .Internet (3.5 I think). However, I don't call up problem started equally soon as I upgraded to SL iv and .Internet 4, but a few days subsequently.
The application does run successfully on my computer in both debug and release mode. The but matter I tin can't exercise is publish it.
I have not yet tried your proposition nearly changing, removing and re-adding the reference. Instead, I made a clean solution. Unfortunately, that produces a different error that prevents a successful build, so I can't even become to the original problem to come across if it'south still there.
(The new error is "'sTickets.App' does non contain a definition for 'FindName' and no extension method 'FindName' accepting a kickoff argument of type 'sTickets.App' could be establish." This happens in VS-generated file App.g.i.cs, which is overwritten every compilation. I am posting that elsewhere, but the problem went away when I reinstalled VS 2010 and re-appeared when I re-installed SL four.)
I'll go back to the original project and endeavor changing the refence. However, the reference in the original project was done much as you suggested, and I had changed information technology while trying to solve the problem. Still, your reference idea is worth a try.
Jim Sn
-
The problem went away, apparently due to my re-installing VS 2010 and Silverlight 4. Those are the only changes I made since I concluding saw the problem.
Jim Sn
-
Hello,
The problem should be the firewall or router machine.
-
i had the same trouble and the follow scenario worked with me
Build Card> Publish
seems in that location's some affair different from publish from Solution explorer, i dont know why just that what happened with me
Senior SharePoint Programmer
-
Solution was let's go in the aplication that were the driver/file and permit copy to Output Directory as re-create always.
braunsteinfinece1954.blogspot.com
Source: https://social.msdn.microsoft.com/Forums/windows/en-US/8b45ee9c-cc9a-45f2-a49f-3dd620a8d634/publish-failed-with-following-error-could-not-find-a-part-of-the-path?forum=winformssetup
0 Response to "Kingsroad General Error Occurred on the Client Refresh the Game to Try Again"
Post a Comment