Is when studio actually creates the files.... but it is literally instantanious that it goes from line to line there... and as you can see.. Studio is all proud that it thinks it suceeded..
"If you make it idiot proof, they'll build a better idiot"
I tried this morning at home to open the site (which is 2.0-based) in VS2005 and publish.... same thing (no files outputted).... i know that both version of Studio know what folder i am trying to output to, because if i put some files in there before "Publish",
they both prompt me that all files will be removed (and watching the folder in real time, they do indeed get deleted).....
But then after the window says "Publish: 1 succeeded", the folder is dead empty
So brought the project into work on a flash drive.... tried both VS2005 and VS2008... same behaviour.... tried it on a co-workers laptop that has Beta2 on it... same thing
Could this be something with the code? all signs point to that, but it doesn't make any sense that it builds/compiles and an error in the site would prevent actual file output
"If you make it idiot proof, they'll build a better idiot"
Did you ever find a solution to this problem? I've been trying to Publish a site today and i'm getting exactly the same errors you had. Any help would be greatly appreciated.
And once again, "C:\Users\Steve\Projects\TI - Version 5.0\Website (Published) - VS2008" is empty as can be, and studio has absolutely zero clue that it f---ed up
"If you make it idiot proof, they'll build a better idiot"
I have tried to reproduce your situation but I have not been successful. Can you try running the Asp.Net compiler manually? I want to confirm that it is compiling correctly. To do so:
- open an adminstrator command prompt
- Switch to the framework directory: cd C:\Windows\Microsoft.NET\Framework\v2.0.50727
- run the asp.net compiler: aspnet_compiler -p "<path to your source web>" -v "virtual directory" "<target folder>"
for the web you show in the post, you would type the following:
So I had posted about this this in the comment section of one of Scott Guthrie's blog entries and someone from Microsoft approached me via email
After putting together a detailed explanation (which was just a rehash of what i posted about here) and sending him a zip file of the project in question, i got this answer:
"Our team is investigating it and I will get back to you as soon as we get into the root cause of why this is happening… For now there is a possible work around – can you try to remove the parentheses from the website name “Website (Working) - VS2008”,
this will hopefully unblock you for now, till we are able to get to the bottom of it"
Sure enough, moving the project out of a directory without parentheses in the name and publishing to a folder without them as well, the project actually published....
So looks like they'll look into fixing the issue, but for now, changing the folder names is a satisfactory workaround :-)
VS2008 publish
"If you make it idiot proof, they'll build a better idiot"
MorningZ
Star
8849 Points
1822 Posts
'Publish' feature broke :-(
Aug 27, 2007 01:52 AM|LINK
So here at home (my other post is the work computer) I have Vista Business, VS2008 Beta 2 and am running the program as Administrator
[img]http://www.team-integra.net/sections/members/images/85c24f1a-5882-4ce9-9824-6fdf316660e2.jpg[/img]
[img]http://www.team-integra.net/sections/members/images/5ace27e4-5333-4955-8512-66f29a5749cb.jpg[/img]
Choosing "Publish", the project Builds and says it published sucessfully, but the output folder is still empty
------ Build started: Project: C:\...\Website (Working) - Mobile\, Configuration: Debug .NET ------
Pre-compiling Web Site
Building directory '/Website (Working) - Mobile/App_Code/'.
Building directory '/Website (Working) - Mobile/common/error/'.
Building directory '/Website (Working) - Mobile/Design/Default/'.
Building directory '/Website (Working) - Mobile/Default/Controls/'.
Building directory '/Website (Working) - Mobile/Design/iPhone/'.
Building directory '/Website (Working) - Mobile/iPhone/Controls/'.
Building directory '/Website (Working) - Mobile/iPhone/'.
Pre-compilation Complete
------ Publish started: Project: C:\...\Website (Working) - Mobile\, Configuration: Debug .NET ------
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
I have tried:
- Closing VS and reopening and trying again
- Rebooting
- Refreshing the folder
All to no avail....... any suggestions?
This used to work just fine.. i have not installed or changed anything all weekend, it just all of a sudden stopped working
MorningZ
Star
8849 Points
1822 Posts
Re: 'Publish' feature broke :-(
Aug 27, 2007 01:56 AM|LINK
I failed to mention
That usually in between these two lines:
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
Is when studio actually creates the files.... but it is literally instantanious that it goes from line to line there... and as you can see.. Studio is all proud that it thinks it suceeded..
MorningZ
Star
8849 Points
1822 Posts
Re: 'Publish' feature broke :-(
Aug 27, 2007 06:22 PM|LINK
Following up this issue...
I tried this morning at home to open the site (which is 2.0-based) in VS2005 and publish.... same thing (no files outputted).... i know that both version of Studio know what folder i am trying to output to, because if i put some files in there before "Publish", they both prompt me that all files will be removed (and watching the folder in real time, they do indeed get deleted).....
But then after the window says "Publish: 1 succeeded", the folder is dead empty
So brought the project into work on a flash drive.... tried both VS2005 and VS2008... same behaviour.... tried it on a co-workers laptop that has Beta2 on it... same thing
Could this be something with the code? all signs point to that, but it doesn't make any sense that it builds/compiles and an error in the site would prevent actual file output
Stoner777
Member
2 Points
1 Post
Re: 'Publish' feature broke :-(
Oct 05, 2007 02:21 PM|LINK
Alright Chap,
Did you ever find a solution to this problem? I've been trying to Publish a site today and i'm getting exactly the same errors you had. Any help would be greatly appreciated.
Cheers,
Stoner
MorningZ
Star
8849 Points
1822 Posts
Re: 'Publish' feature broke :-(
Oct 05, 2007 03:44 PM|LINK
Never did find a solution... sorry
And i ended up reformatting my laptop anyways :-/
MorningZ
Star
8849 Points
1822 Posts
Re: 'Publish' feature broke :-(
Nov 24, 2007 12:29 AM|LINK
@#$%$@@$
This problem has returned with the RTM release
I am so tired of this crap
************************************************************************************************************
Pre-compilation Complete
------ Publish started: Project: C:\...\Website (Working) - VS2008\, Configuration: Debug .NET ------
Connecting to site C:\Users\Steve\Projects\TI - Version 5.0\Website (Published) - VS2008...
Publishing directory /...
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
************************************************************************************************************
And once again, "C:\Users\Steve\Projects\TI - Version 5.0\Website (Published) - VS2008" is empty as can be, and studio has absolutely zero clue that it f---ed up
billhie
Participant
1659 Points
335 Posts
Microsoft
Re: 'Publish' feature broke :-(
Dec 03, 2007 04:33 PM|LINK
I have tried to reproduce your situation but I have not been successful. Can you try running the Asp.Net compiler manually? I want to confirm that it is compiling correctly. To do so:
- open an adminstrator command prompt
- Switch to the framework directory: cd C:\Windows\Microsoft.NET\Framework\v2.0.50727
- run the asp.net compiler: aspnet_compiler -p "<path to your source web>" -v "virtual directory" "<target folder>"
Does your web compile to the destination folder correctly (note that it must be empty to start)?
Visual Studio Web Tools
MorningZ
Star
8849 Points
1822 Posts
Re: 'Publish' feature broke :-(
Dec 04, 2007 02:04 PM|LINK
So I had posted about this this in the comment section of one of Scott Guthrie's blog entries and someone from Microsoft approached me via email
After putting together a detailed explanation (which was just a rehash of what i posted about here) and sending him a zip file of the project in question, i got this answer:
Sure enough, moving the project out of a directory without parentheses in the name and publishing to a folder without them as well, the project actually published....
So looks like they'll look into fixing the issue, but for now, changing the folder names is a satisfactory workaround :-)
VS2008 publish