I had deployed feature with web part, assembly version 1.0.0.0. Then I have implement some changes in my solution and changed assembly number to 1.0.0.1. WebPart and feature version has been changed to 1.0.0.2.
After that I uninstalled solution from SharePoint and than installed new version.
Now I'm not able to preview web part because SharePoint is trying to link to webpart version 1.0.0.1 and I'm getting "Unknown error".
This is my feature.xml file:
<?xml version="1.0" encoding="utf-8"?>
<Feature
Id="E2E13BDD-D78E-4820-97FF-3248188EA22C" xmlns="http://schemas.microsoft.com/sharepoint/"
Title="CurrentNewsFeature"
Scope="Site"
Hidden="False"
Description="CurrentNewsFeature"
Version="1.0.0.2">
<ElementManifests>
<ElementFile
Location="CurrentNewsFeatureUserControl.ascx" />
<ElementFile
Location="CurrentNewsFeatureWebPart.dwp" />
</ElementManifests>
</Feature>
and my CurrentNewsFeatureWebPart.dwp:
<?xml version="1.0" encoding="utf-8"?>
<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
<Assembly>CurrentNewsFeature, Version=1.0.0.2, Culture=neutral, PublicKeyToken=1757a812a567b868</Assembly>
<TypeName>CurrentNewsFeatureWebPart</TypeName>
<Title>Sabre News From Blog</Title>
<Description>WebPart to display general news from a blog.</Description>
</WebPart>
What is wrong with my solution? Howto redeploy this WebPart?
I have SharePoint version 2007.