将我的visual studio项目从Windows 7迁移到10 [英] Migrate my visual studio projects from windows 7 to 10

查看:136
本文介绍了将我的visual studio项目从Windows 7迁移到10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从Windows 7升级到了Windows 10.我还从2008年到2013年更新了我的视觉工作室。我连接了两台笔记本电脑,一台配备了VS 2008& Win7和另一个是VS2013和Win10。在我的win 10笔记本电脑上,我有VS安装程序,似乎可以将项目从旧笔记本电脑迁移到新笔记本电脑。



我点击解决方案文件,应用程序升级.sln& .vbproj并返回警告...



'Project.sln:Visual Studio需要对此项目进行非功能性更改才能启用项目在Visual Studio 2013,Visual Studio 2012和Visual Studio 2010 SP1中打开而不影响项目行为。'



所以当我去VS时我运行项目并且它说'源文件与模块构建时不同。'&我的一个私人子公司不是全球系统的成员。



我尝试了什么:



代码适用于配备VS2008和Win7的旧笔记本电脑......在win 7和10之间必须有所不同。或者VS2008到2013

I recently upgraded from windows 7 to windows 10. I also updated my visual studio from 2008 to 2013. I have two laptops connected, one with VS 2008 & Win7 and the other is VS2013 and Win10. On my win 10 laptop I have the VS installer which seems to migrate the projects fine from the old laptop to the new one.

I click on the solution file and the app upgrades the the .sln & .vbproj and it comes back with the warning...

'Project.sln: Visual Studio needs to make non-functional changes to this project in order to enable the project to open in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without impacting project behavior.'

So when I go to VS I run the project and it says 'the source file is different from when the module was built.' & one of my private sub is not a member of the global system.

What I have tried:

The code works fine with the old laptop with VS2008 and Win7...It must be something different between the win 7 and 10. Or VS2008 to 2013

推荐答案

进入菜单栏,选择Build ... Clean Solution删除所有中间文件 - 理论上你不必这样做,但我是一个信任的灵魂。

转到构建...重建解决方案进行完全重建(理论上,这从清洁开始,但正如我所说 - 我是一个信任的灵魂,但不是 信任。)



你的问题应该消失。

如果不是,使用Windows资源管理器手动转到解决方案并导航到每个项目Bin / Debug文件夹并将其删除。完全重建现在应该为您创建最新的版本。
Go to the Menu bar, and Select "Build ... Clean Solution" to remove all intermediate files - in theory you don't have to do this, but I'm a trusting soul.
The Go to "Build ... Rebuild Solution" to do a full rebuild (in theory, this starts with a "Clean", but as I said - I'm a trusting soul, but not that trusting.)

You problem should be gone.
If it isn't, manually go to the solution with Windows Explorer and navigate to each projects "Bin/Debug" folder and delete it. A full rebuild should now make new versions for you that are up to date.


这篇关于将我的visual studio项目从Windows 7迁移到10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆