שתף באמצעות


Microsoft.StdFormat Assembly

Question

Thursday, February 9, 2006 8:19 PM

In porting a project from VB-6 to VB-2005: The project runs, builds and publishes to a web server without errors but when downloaded to another computer the following error is thrown after the setup completes:

 

“The application requires that assembly Microsoft.StdFormat 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first.”

 

Does anyone know how this can be overcome?

 

Thanks,

 

 

J. Hepple

All replies (3)

Tuesday, February 28, 2006 7:22 AM

On your .Net 2005 project, in the references section select the Microsoft.StdFormat reference. In its properties you can set it to local, that will ensure it is included into the Bin when the project is built.

On the Publish page of the project, select the Application Files button. In the App Files window, change the Publish Status from Prerequisite to Include (Auto) for the Microsoft.StdFormat.dll file.

This applies to any other referenced files that you need included with your project.

tism


Wednesday, March 1, 2006 1:56 AM

Thank you very much for your reply.

 

I had tried your suggestion without success before initially posting the question. Later, based upon another suggestion found on the internet, I solved the problem by digitally signing the application. I cannot tell you why that worked but it did.

 

Kind regards,

 

Jhepple


Sunday, April 27, 2008 2:47 PM

I tried inlcuding as a local isolated copy and digitally signing also, however did not work for me!

rb