Hello
I am getting the following error when trying to compile my ASP.NET project from the Command Prompt:
error 1001: Unexpected parameter: 'Studio'.
The compiler on my hard drive is here:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319, although I do have another folder here:
C:\Windows\Microsoft.NET\Framework\v4.0.30319
There is an aspnet_compiler.exe in both of those 'framework' folders.
Having located the compiler in command prompt on that path above, I now need to compile my files (aspx.aspx.vb, and Web.config) in accordance with the guidelines here:
http://msdn.microsoft.com/en-us/library/ms229863.aspx
I create a targetDir on my PC as follows: C:\myForm, and type in the location of my project in Command Prompt. This is a
physical path so I use '-p' and I wish the file to be updateable so I use '-u'.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_compiler C:\Users\Steve\Documents\Visual Studio 2013\WebSites\WebSite10 -p -u C:\myForm
This 'Visual Studio 2013' looks suspicious because of the spaces but if I right-click on the folder containing the project itself and select properties, this is what the path looks like:
C:\Users\Steve\Documents\Visual Studio 2013\WebSites
What am I doing wrong, please?
Thank you.