开发者

Deployment Project not Removing Previous Project COM References

开发者 https://www.devze.com 2023-01-16 07:27 出处:网络
I have a Microsoft Visual Studio Deployment Project that generates a basic setup.exe and appropriate MSI file. I leave the UpdateCode alone, but change the ProjectCode and Version on each build. I\'ve

I have a Microsoft Visual Studio Deployment Project that generates a basic setup.exe and appropriate MSI file. I leave the UpdateCode alone, but change the ProjectCode and Version on each build. I've also set the RemovePreviousVersions property to True. However, after I upgrade a machine, it seems as though any class flagged with COM does not become registered. I have to uninstall and reinstall the app for it to work. Any ideas why? Thi开发者_JS百科s is done in VS 2010 targeting .NET 4. It's a COM-enabled WinForms app.

0

精彩评论

暂无评论...
验证码 换一张
取 消