Last few days I have been messing around with the Beta 2 edition of Whidbey (now its called VS.NET 2005, but I still prefer Whidbey). If you recall my previous post
about ClickOnce
, my experience so far has not been good. I imported my clock applicaton
(more on the issues importing it at another time) to Whidbey and tried to deploy
it but for some reason it did not work and get a non descriptive error saying:
1
2
3
4
5
6
7
| System.ArgumentException: This method is not supported.
Parameter name: value
at System.Net.FtpWebRequest.set\_Method(String value)
at Microsoft.VisualStudio.Publish.BaseProvider.PathUtil.UrlExists(String url)
at Microsoft.VisualStudio.Publish.ClickOnceProvider.BuildManager.OpenBrowser()
at Microsoft.VisualStudio.Publish.ClickOnceProvider.BuildManager.Publish()
at Microsoft.VisualStudio.Publish.BaseProvider.BuildManager.InvokePublish()
|
Here is the full log in its glory, other than a few warnings everything is pretty straight forward so it should not be as bad. Please note this is using the GUI (so goto Build => Publish {Project Name}). I am sure there is a command line thing as well which is the next step to explore, but this does seem to be like a bug.
Also the tmp file below is basically the exception above.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| \------ Build started: Project: Clock, Configuration: Debug Any CPU ------
Csc.exe /noconfig /unsafe+ /checked- /nowarn:"1701;1702" /nostdlib- /warn:4 /baseaddress:285212672 /define:DEBUG;TRACE /reference:bin\\Debug\\Microsoft.Practices.EnterpriseLibrary.Configuration.dll /reference:C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\System.Data.dll /reference:C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\System.dll /reference:C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\System.Drawing.dll /reference:C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\System.Windows.Forms.dll /reference:C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\System.Xml.dll /debug+ /filealign:4096 /optimize- /out:obj\\Debug\\Clock.exe /resource:obj\\Debug\\TheClock.formOptions.resources /resource:obj\\Debug\\TheClock.WorldClock.resources /target:winexe /warnaserror- AssemblyInfo.cs Clock.cs ClockOptions.cs ConfigSettings.cs Options.cs Properties\\Settings.Designer.cs TimeZoneInformation.cs WorldClock.cs
Compile complete -- 0 errors, 0 warnings
Clock -> C:\\Documents and Settings\\Administrator\\My Documents\\Visual Studio 2005\\Projects\\Clock 2.0\\Clock\\bin\\Debug\\Clock.exe.manifest
Clock -> C:\\Documents and Settings\\Administrator\\My Documents\\Visual Studio 2005\\Projects\\Clock 2.0\\Clock\\bin\\Debug\\Clock.application
Clock -> C:\\Documents and Settings\\Administrator\\My Documents\\Visual Studio 2005\\Projects\\Clock 2.0\\Clock\\bin\\Debug\\Clock.exe
Building Clock...
C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\Microsoft.Common.targets : warning : Could not find resources for culture 'en-US'. Using culture 'en' instead.
C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\Microsoft.Common.targets : warning : Could not match culture 'en-US' for item '.NET Framework 2.0 Beta'. Using culture 'en' instead.
Done building project "Clock.csproj".
\------ Publish started: Project: Clock, Configuration: Debug Any CPU ------
Connecting to 'ftp://desigeek.com/sandbox/worldclock/clock2.0/'...
Publishing files...
Publish success.
Error: Publish failed with the following error: This method is not supported.
Parameter name: value
Publish failed.
Click for log: "file:///C:\\Documents and Settings\\Administrator\\Local Settings\\Temp\\tmpAA.tmp"
\========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
\========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
|