Simple steps to get rid of Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=n problems! The page will explain what is Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=n? How to solve Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=n problem. Livro A Universidade Do Sucesso.

I am getting the above error message when I attempt to run a VB console app that I wrote in Visual Studio. There does not seem to be ANY reference to Microsoft.VisualStudio.OLE.Interop Version 7.1.40304.0 anywhere in any of the files I'm looking. My program runs fine on my development PC, but does not seem to run on any machine on which I attempt to deploy.

If this is not the correct place for this message, kindly correct me gently. I've spent 20 minutes looking at every option in the Forum Categories and the forums listed underneath each one and cannot seem to find a place for this message that's any more appropriate than this one. Thanks in advance, Scott. Robin, Why the deployment need that dll reference, although there's no office interop in OP's project as OP said? I also think there's some place applied this dll reference, but OP has not checked out.

@ScottDarth, I suggest you to check the references in your project, maybe you have not apply that dll but the project added this reference before. We don't know why you the deployment need this dll reference, but if you need the installer work, then I think the only way is allow the request, install this dll reference(you can reference my first post to install this dll reference) to the system. If there's any concern, please feel free to let us know. Best wishes, Mike [MSFT] MSDN Community Support Please remember to mark the replies as answers if they help and unmark them if they provide no help. Hi ScottDarth, The Microsoft.VisualStudio.OLE.Interop is in the package, you can try to download it and install it in the computers. Or, you can use the following method: Add these lines to the PostBuild event textbox (replace with the path to your copy of gacutil.exe): ' gacutil.exe' -u '$(TargetName)' ' gacutil.exe' -i '$(TargetPath)' The first line (which uses the TargetName parameter) removes any existing version of your tool from the GAC.

The Application Requires That Assembly Microsoft.visualstudio.ole.interop Version 7.1

The second line (which uses the TargetPath parameter) installs the current version of your tool into the GAC. If there's any concern, please feel free to let us know. Have a nice weekend! Mike [MSFT] MSDN Community Support Please remember to mark the replies as answers if they help and unmark them if they provide no help. Mike, He says his application does not use the interop dll's, so there's something else going on here. If he doesn't use them, then he shouldn't install them just because there's something wrong with his deployment. It could be that he has some kind of secondary reference going on, and there's some distant memory I can't seem to pull out about the interops being included when they aren't required.

I'll do some searching after he answers my question about the Application Files. RobinDotNet Microsoft MVP, Client App Dev. Robin, Why the deployment need that dll reference, although there's no office interop in OP's project as OP said? I also think there's some place applied this dll reference, but OP has not checked out.

@ScottDarth, I suggest you to check the references in your project, maybe you have not apply that dll but the project added this reference before. We don't know why you the deployment need this dll reference, but if you need the installer work, then I think the only way is allow the request, install this dll reference(you can reference my first post to install this dll reference) to the system. Free Stellar-phoenix-outlook-pst-repair 4.5 Serial Keygen 2016 - Free And Torrent 2016. If there's any concern, please feel free to let us know. Best wishes, Mike [MSFT] MSDN Community Support Please remember to mark the replies as answers if they help and unmark them if they provide no help.

I created a new VSIX project, added a new custom command item, tried to build, and I got those 2 errors: error CS1759: Cannot embed interop types from assembly 'Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it is missing either the 'System.Runtime.InteropServices.ImportedFromTypeLibAttribute' attribute or the 'System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute' attribute. Error CS1759: Cannot embed interop types from assembly 'Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it is missing either the 'System.Runtime.InteropServices.ImportedFromTypeLibAttribute' attribute or the 'System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute' attribute. What could be the problem? If it helps, I followed this Microsoft guide: thanks! • EDIT: I changed in the properties of the references '.shell.interop' and '.OLE.interop' the field 'Embed Interop Types' from True to False and it works.

Do someone know why?

inserted by FC2 system