problem publishing my app...

this is a c# express app... i build the solution without any issues... i can build the publish portion without any issues but, when i try and run the program i get:
Cannot Continue.. the application is improperly formatted. now, i have seen this posted already so, i changed the name to exclude spaces. there was no change. please help. this is published to a network directory and, is a basic application (if you could even call it that).  this is the file that is generated with the published program:

changing path names to protect their privacy... lol
***


PLATFORM VERSION INFO
 Windows    : 5.1.2600.131072 (Win32NT)
 Common Language Runtime  : 2.0.50727.42
 System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)
 mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)
 dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)
 dfshim.dll    : 2.0.50727.42 (RTM.050727-4200)

SOURCES
 Deployment url   : somepath/onthenetwork/BVCalendar/BVCalendar.application

IDENTITIES
 Deployment Identity  : BVCalendar.application, Version=1.0.0.2, Culture=neutral, PublicKeyToken=eba822a68e5710eb, processorArchitecture=msil

APPLICATION SUMMARY
 * Online only application.

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * Activation of somepath/onthenetwork\BVCalendar\BVCalendar.application resulted in exception. Following failure messages were detected:
  + Exception reading manifest from file://somepath/onthenetwork/BVCalendar_1_0_0_2/BVCalendar.exe.manifest: the manifest may not be valid or the file could not be opened.
  + Application manifest is not semantically valid.
  + Icon file specified in the application manifest is not valid.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 * [11/18/2005 2:59:22 PM] : Activation of \\somepath/onthenetwork\BVCalendar\BVCalendar.application has started.
 * [11/18/2005 2:59:22 PM] : Processing of deployment manifest has successfully completed.
 * [11/18/2005 2:59:22 PM] : Installation of the application has started.

ERROR DETAILS
 Following errors were detected during this operation.
 * [11/18/2005 2:59:22 PM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
  - Exception reading manifest from file:somepath/onthenetwork/BVCalendar/BVCalendar_1_0_0_2/BVCalendar.exe.manifest: the manifest may not be valid or the file could not be opened.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
   at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
   at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
   at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
   at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
   at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
  --- Inner Exception ---
  System.Deployment.Application.InvalidDeploymentException (ManifestSemanticValidation)
  - Application manifest is not semantically valid.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForApplicationRole()
   at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemantics(ManifestType manifestType)
   at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
  --- Inner Exception ---
  System.Deployment.Application.InvalidDeploymentException (InvalidManifest)
  - Icon file specified in the application manifest is not valid.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForApplicationRole()

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.

****



Answer this question

problem publishing my app...

  • shark312

    I found that all i could do to sort this was repair the .net framework installation (i was running 2.0 beta),  I know this isn't really a solution but it worked for me.

    Note:-  haven't had these kind of problems with the release version of visual c# express edition so it may/may not be sorted in that!

  • ondrej_bohaciak

    i will try it now... thank you for your time!
  • sujun

     Fingerlickin wrote:

    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of somepath/onthenetwork\BVCalendar\BVCalendar.application resulted in exception. Following failure messages were detected:
      + Exception reading manifest from file://somepath/onthenetwork/BVCalendar_1_0_0_2/BVCalendar.exe.manifest: the manifest may not be valid or the file could not be opened.
      + Application manifest is not semantically valid.
      + Icon file specified in the application manifest is not valid.



    It says that the Icon file is not valid. I had the same problem and solved it by putting the icon file in the project directory and redirecting the Icon of the assembly to that file in the same directory.

    Success
    Pp

  • Soar

    this is a good one huh! hehe do i get a prize for stumpin' everyone
  • Dude987

    well, it was worth a try; reinstalling .net 2 did not help. Thanks again though for the help!
  • problem publishing my app...