I need to know how to create a web part with visual studio 2010 and deploy it with a solution package in a feature.
When I try to do it by just changing the .webpart file to a .dwp file and change the markup in a corresponding way, I get an error in while deploying, probably because my elements.xml where the module is falsely defined.
I don't know where the .dwp file is put and how to reference it? It doesent seem to go where the .webpart file normally goes "14\Features\MyFeature\ClassName".
If I knew where the .dwp goes and how to reference it in my module element I think my top question can be answered.
If anyone wonders why I need to make the wep part a dwp, its because it inherits from the "AggregationWebPart". The root problem may lay somewhere there actually.