Current location: Hot Scripts Forums » Programming Languages » ASP.NET » [SOLVED] aspnet_compiler.exe problems


[SOLVED] aspnet_compiler.exe problems

Reply
  #1 (permalink)  
Old 05-27-08, 03:49 AM
Rapid Dr3am Rapid Dr3am is offline
Community VIP
 
Join Date: Jan 2004
Location: Liverpool, England
Posts: 752
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] aspnet_compiler.exe problems

I'm trying to run this command but getting an error:

%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet _compiler -p E:\_development\in progress\ProjectWebsite -v / E:\_development\in progress\ProjectWebsite\precompiled

I'm getting told the path "E:\_development\in" does not exist. I'm pulling my hair out here, I even tried the old 8dot3 file names but nothing. I can't simply rename in progress to in-progress or anything, I have a lot of network shares that rely on that path.

Any help would be appreciated.
__________________
Placeholder, place signature here.
Reply With Quote
  #2 (permalink)  
Old 05-27-08, 09:53 AM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
Try this instead:

Code:
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet _compiler -p "E:\_development\in progress\ProjectWebsite" -v / "E:\_development\in progress\ProjectWebsite\precompiled"
Its because of the space character you have in the above path on your E drive:

Rules for Command-Line Syntax
  • Arguments are delimited by white space, which is either a space or a tab.
  • The caret character (^) is not recognized as an escape character or delimiter. The character is handled completely by the command-line parser in the operating system before being passed to the argv array in the program.
  • A string surrounded by double quotation marks ("string") is interpreted as a single argument, regardless of white space contained within. A quoted string can be embedded in an argument.
  • A double quotation mark preceded by a backslash (\") is interpreted as a literal double quotation mark character (").
  • Backslashes are interpreted literally, unless they immediately precede a double quotation mark.
  • If an even number of backslashes is followed by a double quotation mark, one backslash is placed in the argv array for every pair of backslashes, and the double quotation mark is interpreted as a string delimiter.
  • If an odd number of backslashes is followed by a double quotation mark, one backslash is placed in the argv array for every pair of backslashes, and the double quotation mark is "escaped" by the remaining backslash, causing a literal double quotation mark (") to be placed in argv.
__________________
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any problems with Java includes?? Rachy222 JavaScript 1 12-10-07 04:53 PM
IE problems with encoding and displaying pages kittenesque HTML/XHTML/XML 1 10-21-06 04:59 PM
Password Problems in VB6 iceiceady Visual Basic 6 03-28-06 03:17 PM
2 spacing/alignment problems Arowana HTML/XHTML/XML 0 01-07-04 11:58 AM


All times are GMT -5. The time now is 02:36 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.